]> gitweb.fluxo.info Git - puppet-qwebirc.git/commitdiff
Status not working, using pattern instead
authorSilvio Rhatto <rhatto@riseup.net>
Mon, 30 Jan 2012 18:11:52 +0000 (16:11 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Mon, 30 Jan 2012 18:11:52 +0000 (16:11 -0200)
manifests/init.pp

index bf20bd4e6de80d683f870a8bd2f35f2b467079e5..46df5b3aeb0e180f055ec3261ece357fe7279067 100644 (file)
@@ -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'] ],