Issue #5197 has been updated by Stefan Schulte.

File eselect.rb added

Did a few tests and implemented a prototype. You may give this one a try. The 
tests I did so far worked except the provider will also try to start a service 
that is absent (=no init script). You may have to explicitly set provider => 
eselect to use it.

When I have time I will write some specs for it.

I wonder why no provider provides a prefetch method?
----------------------------------------
Bug #5197: Gentoo service provider doesn't catch long service names due to 
"rc-update show" truncating names
https://projects.puppetlabs.com/issues/5197

Author: Doug Warner
Status: Accepted
Priority: Normal
Assignee: 
Category: 
Target version: 
Affected Puppet version: 0.25.5
Keywords: service
provider
gentoo
Branch: 


I'm trying to manage a service called "openvpn.something_rather_longish" (sorry 
for the example name).  Unfortunately, when you run `/sbin/rc-update show` you 
get the following:
    openvpn.something_r |      default

Puppet doesn't find the service "openvpn.something_rather_longish" so it tries 
to enable it.  Every time it runs.

rc-update doesn't seem like there's a way around this, so I would recommend 
just looking in `/etc/runlevels/{boot,default}/` instead and then use rc-update 
to enable/disable the service.

I'll try to work on a patch tomorrow as this is affecting us in several 
different situations.


-- 
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.

Reply via email to