diff options
-rw-r--r-- | manifests/init.pp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 3e50670..7e4e4d4 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -60,6 +60,14 @@ class qwebirc($ircserver = 'irc.myserver.com', $ircport = '6667', $realname = 'h notify => Service['qwebirc'], } + exec { '/var/lib/qwebirc/compile.py': + creates => '/var/lib/qwebirc/.compiled', + user => 'qwebirc', + group => 'qwebirc', + require => [ User['qwebirc'], Group['qwebirc'], File['/var/lib/qwebirc/qwebirc/ircclient.py'] ], + notify => Service['qwebirc'], + } + service { 'qwebirc': enable => true, ensure => running, |