aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ii/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/ii/manifests/init.pp')
-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'],
}
}