summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2014-08-21 12:15:31 -0400
committerMicah Anderson <micah@leap.se>2014-08-21 12:15:31 -0400
commit271c37a151d8e786b29ef7f5c13217693ec65401 (patch)
tree44f01fb23d1053d44c55d35f95255bb42341a880
parent4ebd86a151919b8889b166e94d75f0fc35b7010e (diff)
Fix starting tapicero when it is not running (#6004)0.5.3
Due to how tapicero's initscript is made, it is not possible to check for a valid exit code for the status (it returns a zero when it is not running). So we disable the puppet 'hasstatus' parameter and instead puppet will look in the process table for 'tapicero' Change-Id: I9b017ea8055c0207e43876dd4e3bbc2619c0fd35
-rw-r--r--puppet/modules/tapicero/manifests/init.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/puppet/modules/tapicero/manifests/init.pp b/puppet/modules/tapicero/manifests/init.pp
index af1a96ac..35f6b06b 100644
--- a/puppet/modules/tapicero/manifests/init.pp
+++ b/puppet/modules/tapicero/manifests/init.pp
@@ -122,7 +122,7 @@ class tapicero {
service { 'tapicero':
ensure => running,
enable => true,
- hasstatus => true,
+ hasstatus => false,
hasrestart => true,
require => [ File['/etc/init.d/tapicero'], File['/var/run/tapicero'] ];
}