diff options
author | Michael Scherer <misc@mageia.org> | 2012-01-22 23:31:11 +0000 |
---|---|---|
committer | Michael Scherer <misc@mageia.org> | 2012-01-22 23:31:11 +0000 |
commit | 737b886be3780749d28d10c720d88ed084824085 (patch) | |
tree | b8773ee537e0daf7666b966212d56e8d8f863b01 /modules | |
parent | 8fc95e88887165eee6ec39821497374f4f82a1a6 (diff) | |
download | puppet-737b886be3780749d28d10c720d88ed084824085.tar puppet-737b886be3780749d28d10c720d88ed084824085.tar.gz puppet-737b886be3780749d28d10c720d88ed084824085.tar.bz2 puppet-737b886be3780749d28d10c720d88ed084824085.tar.xz puppet-737b886be3780749d28d10c720d88ed084824085.zip |
do not use test for nothing, better use creates ( one less fork )
Diffstat (limited to 'modules')
-rw-r--r-- | modules/ii/manifests/init.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ii/manifests/init.pp b/modules/ii/manifests/init.pp index 5e905548..f1ea271b 100644 --- a/modules/ii/manifests/init.pp +++ b/modules/ii/manifests/init.pp @@ -30,7 +30,7 @@ class ii { exec { "join channel $nick": command => "echo '/j $channel' > /var/lib/ii/$nick/$server/in", user => nobody, - unless => "test -d /var/lib/ii/$nick/$server/$channel", + creates => "/var/lib/ii/$nick/$server/$channel/in", require => Service['ii'], } } |