Issue #15911 has been updated by Benjamin Podszun.

Is this bug (which seems to block #17819 as far as I can tell) still relevant?

    # systemctl --version
    systemd 204
    +PAM -LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ
    # systemctl is-enabled libvirtd
    enabled
    # systemctl is-active libvirtd
    active

Apologies if for resurrecting this old thread. Maybe this issue and #17819 are 
already resolved (I'm not a puppet user yet, I stumbled upon them while 
investigating if puppet might be an option for me). In which case I'm at least 
helping to remove cruft in the tracker, I guess..? :)

----------------------------------------
Feature #15911: automatic .service suffix for the systemd provider to keep 
service names consistent
https://projects.puppetlabs.com/issues/15911#change-96383

* Author: Robert Kennedy
* Status: Code Insufficient
* Priority: Normal
* Assignee: 
* Category: service
* Target version: 
* Affected Puppet version: 
* Keywords: systemd
* Branch: https://github.com/puppetlabs/puppet/pull/1518
----------------------------------------
I'd like to be able to be able to have a mix of systemd and redhat systems that 
run the same named services. Currently it seems I have to resort to
<pre>
 $snmpservicename = $snmpserviceprovider ? {
    "systemd" => "snmpd.service",
    "redhat"    => "snmpd",
}

service { "$snmpservicename":
    provider => "$snmpserviceprovider",
    etc.
}
</pre>

I would much rather choose the provider for my system and be able to refer to 
the snmpd service with the same name across hosts with different providers if 
possible. I believe everything that puppet would want to handle as a Service 
would have a .service suffix. If you think it would cause too much confusion 
due to the assumption of service naming, I can continue to do what I'm doing.


-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to