Issue #18665 has been updated by Stefan Schulte.

ok it looks like you are running on debian.

Would it be ok with you if I close this ticket in favour of #17286? It looks 
like #17286 will fix the issue you are having without the need of an extra 
parameter. If so you can add yourself as a watcher, so you will get informed if 
the status of that ticket changes.
----------------------------------------
Feature #18665: Service resource: Parameter to ignore non-existing services
https://projects.puppetlabs.com/issues/18665#change-82358

Author: Christian Ruppert
Status: Needs More Information
Priority: Normal
Assignee: Christian Ruppert
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 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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to