Bug 211910 - app-admin/puppet - puppetmaster should be started before puppet
Bug#: 211910 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: minor Priority: P2
Resolution: FIXED Assigned To: matsuu@gentoo.org Reported By: gentoo@immerda.ch
Component: Ebuilds
URL: 
Summary: app-admin/puppet - puppetmaster should be started before puppet
Keywords:  
Status Whiteboard: 
Opened: 2008-02-29 17:46 0000
Description:   Opened: 2008-02-29 17:46 0000
If you're configuring your puppetmaster also with a local puppet daemon, then
the puppetmaster-init.d script should be started before the puppet-init.d
script otherwise the puppet daemon will fail to start.

Reproducible: Always

Steps to Reproduce:
configure your puppetmaster with a local puppet daemon and restart the server
Actual Results:  
puppet is not started

Expected Results:  
puppet should be started

Patch to fix that problem:


--- /etc/init.d/puppetmaster.old        2008-02-29 18:39:16.000000000 +0100
+++ /etc/init.d/puppetmaster    2008-02-29 18:39:47.000000000 +0100
@@ -5,6 +5,7 @@

 depend() {
         need net
+        before puppet
         use dns logger
 }

------- Comment #1 From gentoo@immerda.ch 2008-02-29 17:48:10 0000 -------
app-admin/puppet is the package...

------- Comment #2 From MATSUU Takuto 2008-03-05 16:16:08 0000 -------
fixed in 0.24.2