diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-01-28 15:16:46 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-01-28 15:16:46 -0200 |
commit | dfe5773a01e5eac2eaa0c79b3169ad7ebbe259d6 (patch) | |
tree | cf82b1adef677fa7342cb5a9e0f244fbc9215f8f | |
parent | 34845322d47a0ae887d965bb865282d90af93443 (diff) | |
download | puppet-qwebirc-dfe5773a01e5eac2eaa0c79b3169ad7ebbe259d6.tar.gz puppet-qwebirc-dfe5773a01e5eac2eaa0c79b3169ad7ebbe259d6.tar.bz2 |
Compiling
-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, |