Issue #7999 has been updated by John Florian.
So glad to see this coming. I've been struggling to keep puppet and Fedora (15/16) playing well together, especially for services that don't yet have native systemd support. The default 'redhat' provider does a 'chkconfig SERVICE' and I've found that many of these services can return the wrong exit code so puppet perpetually tries to re-enable them even though they are already enabled. Similar problems exist to determine if the service is currently running due to unexpected PID file locations or executable names that don't match service names. Yuck! A more ugly problem arose recently that I thought I'd share. Systemd abandons the notion of runlevels, but provides a way of emulating them, if desired. Thus it's possible to have a typical graphical workstation have a default target (see /etc/systemd/system/default.target) of /lib/systemd/system/graphical.target or /lib/systemd/system/runlevel5.target. While the former is very similar to the latter, it seems that subtle differences between the two can influence the output of the 'runlevel' command and that in turn can influence the exit codes of the 'chkconfig' command, leading back to the problem I described in the first paragraph. So many thanks to all for this work here! ---------------------------------------- Feature #7999: Add a service provider that manages systemd services https://projects.puppetlabs.com/issues/7999#change-61406 Author: Jeff Ollie Status: Closed Priority: Normal Assignee: Nigel Kersten Category: service Target version: 2.7.4 Affected Puppet version: Keywords: Branch: https://github.com/jcollie/puppet/tree/feature%2Fmaster%2F7999-systemd-services systemd is the default system/service manager in Fedora 15 and will likely become the default on other Linux distributions in the future. While systemd provides a compatibility layer that allows the standard "redhat" Puppet service provider to manage some services on a systemd system, as more services are converted to native systemd services the compatibility layer will become less and less useful. For more information on systemd see: http://www.freedesktop.org/wiki/Software/systemd -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://projects.puppetlabs.com/my/account -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
