aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ii/manifests
diff options
context:
space:
mode:
authorMichael Scherer <misc@mageia.org>2012-01-22 23:31:11 +0000
committerMichael Scherer <misc@mageia.org>2012-01-22 23:31:11 +0000
commit737b886be3780749d28d10c720d88ed084824085 (patch)
treeb8773ee537e0daf7666b966212d56e8d8f863b01 /modules/ii/manifests
parent8fc95e88887165eee6ec39821497374f4f82a1a6 (diff)
downloadpuppet-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/ii/manifests')
-rw-r--r--modules/ii/manifests/init.pp2
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'],
}
}