From: Silvio Rhatto Date: Fri, 20 Jul 2012 02:05:16 +0000 (-0300) Subject: Removing .compiled only if it exists X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=00238ace8683403104ed96dd1a91b46cd20692b4;p=puppet-qwebirc.git Removing .compiled only if it exists --- diff --git a/manifests/init.pp b/manifests/init.pp index c173e9a..ffdd4bd 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -62,6 +62,7 @@ class qwebirc($ircserver = 'irc.myserver.com', $ircport = '6667', $realname = 'h user => 'qwebirc', group => 'qwebirc', subscribe => File['/var/lib/qwebirc/config.py'], + onlyif => 'test -f /var/lib/qwebirc/.compiled' refreshonly => true, }