Issue #18514 has been updated by Peter Meier.
You can also globally add it, at the very top of your entry manifest:
<pre>
if $::lsbmajdistrelease > 17 {
Service{
provider => 'systemd'
}
}
</pre>
So there is no need to do it on **every** service-resource declaration
But anyway, if systemd is default on fedora > 17, this should also be used that
way in puppet, which is what #17819 is for.
So imho this ticket is a dup of that one, not?
----------------------------------------
Feature #18514: Auto using systemd commands on Fedora > 15
https://projects.puppetlabs.com/issues/18514#change-81100
Author: Vincent Gallissot
Status: Unreviewed
Priority: Normal
Assignee:
Category: provider
Target version: 3.x
Affected Puppet version: 3.0.1
Keywords: provider initv systemd fedora
Branch:
I actually couldn't find how to make systemd the default provider on my agents.
I found that puppet will use systemd if we explicitly tell it to do so by
writing "provider => systemd,"
As 'chkconfig' and 'service' are not planned to work anymore on Fedora >= 18, I
don't really want to re-write all my modules to add a special case for fedora
and systemd.
I just want to know if it is hard coded that systemd will be the default
provider for Fedora >= 15 or have I to do it myself ?
In that case, what sould I modify ?
Thanks for your help
--
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.