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.
Just noticed not only the condir but also the bindir has been changed to /opt/puppetlabs/bin/.
fix is in tree, I'll be doing some more testing tonight as well with it