From: Silvio Rhatto Date: Sat, 28 Jan 2012 17:16:46 +0000 (-0200) Subject: Compiling X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=dfe5773a01e5eac2eaa0c79b3169ad7ebbe259d6;p=puppet-qwebirc.git Compiling --- 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,