diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-01-30 16:11:52 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-01-30 16:11:52 -0200 |
commit | cfedf67d3441ba088f653e37b210b46b089d7955 (patch) | |
tree | b4f5f37a6311ab7750f35496b70e98c9c5d44614 | |
parent | cc08b7b9fcf451f07e9b41defbb271298a73cc3c (diff) | |
download | puppet-qwebirc-cfedf67d3441ba088f653e37b210b46b089d7955.tar.gz puppet-qwebirc-cfedf67d3441ba088f653e37b210b46b089d7955.tar.bz2 |
Status not working, using pattern instead
-rw-r--r-- | manifests/init.pp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index bf20bd4..46df5b3 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -69,11 +69,13 @@ class qwebirc($ircserver = 'irc.myserver.com', $ircport = '6667', $realname = 'h notify => Service['qwebirc'], } + # TODO: check why status is not working service { 'qwebirc': enable => true, ensure => running, hasrestart => true, - hasstatus => true, + hasstatus => false, + pattern => 'python /var/lib/qwebirc/run.py', require => [ File['/etc/init.d/qwebirc', '/var/lib/qwebirc/config.py', '/var/lib/qwebirc/qwebirc/ircclient.py'], Package['python-twisted'] ], |