Issue #18665 has been reported by Christian Ruppert.

----------------------------------------
Feature #18665: Service resource: Parameter to ignore non-existing services
https://projects.puppetlabs.com/issues/18665

Author: Christian Ruppert
Status: Unreviewed
Priority: Normal
Assignee: 
Category: service
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


Hey,

it would be really cool to have either an "onlyif" or even a "ignore" option 
for the service resource.
Example:
We have some SLES (SuSe Linux Enterprise) systems that install, enable and 
start some services after/during a system upgrade and we don't want those 
services.
Puppet throws errors when I create some service resources that make sure the 
service is actually stopped and disabled because the init script doesn't exist 
anymore.
The package has been removed in the same manifest.

Ok, I could write some exec resources or other kinds of helper but I think the 
"onlyif" or and "ignore" option would really make sense here for such cases.
Or you want to make sure a package has been removed from the system but there 
is no pre/post command during the uninstall phase that makes sure the service 
has been stopped prior.


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