Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 547378 - app-admin/puppet-4.0.0: Wrong destination directories
Summary: app-admin/puppet-4.0.0: Wrong destination directories
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL: https://docs.puppetlabs.com/puppet/4....
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-22 09:34 UTC by Pascal Jufer
Modified: 2015-04-28 20:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pascal Jufer 2015-04-22 09:34:35 UTC
Since the new puppet system confdir is /etc/puppetlabs/puppet instead of /etc/puppet, the path in the ebuild should be adjusted accordingly.

At the moment the agent won't start:

$ /etc/init.d/puppet start
 * Caching service dependencies ...    [ ok ]
 * Starting puppet ...
 * start-stop-daemon: failed to start `/usr/bin/puppet'
 * Failed to start puppet              [ !! ]
 * ERROR: puppet failed to start

$ tail -n 1 /var/log/syslog/puppet-agent.log 
Apr 22 11:28:29 local puppet-agent[31649]: Could not prepare for execution: Got 4 failure(s) while initializing: File[/etc/puppetlabs/puppet]: change from absent to directory failed: Cannot create /etc/puppetlabs/puppet; parent directory /etc/puppetlabs does not exist; File[/etc/puppetlabs/code]: change from absent to directory failed: Cannot create /etc/puppetlabs/code; parent directory /etc/puppetlabs does not exist; File[/opt/puppetlabs/puppet/cache]: change from absent to directory failed: Cannot create /opt/puppetlabs/puppet/cache; parent directory /opt/puppetlabs/puppet does not exist; File[/var/log/puppetlabs/puppet]: change from absent to directory failed: Cannot create /var/log/puppetlabs/puppet; parent directory /var/log/puppetlabs does not exist


Reproducible: Always

Steps to Reproduce:
1. Install puppet-4.0
2. Start the daemon
Actual Results:  
The agent won't start due to the missing confdir.

Expected Results:  
The agent should start initially without any errors.
Comment 1 Pascal Jufer 2015-04-22 10:07:17 UTC
Just noticed not only the condir but also the bindir has been changed to /opt/puppetlabs/bin/.
Comment 2 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2015-04-28 20:03:24 UTC
fix is in tree,  I'll be doing some more testing tonight as well with it