Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Cannot Reproduce
-
PUP 4.8.1
-
None
-
Ubuntu 14.04 LTS
-
Night's Watch
-
Needs Assessment
Description
When attempting to disable a service that doesn't exist on a machine, Puppet throws an error:
Error: /Stage[main]/module::Disable_cups/Service[cups]: Could not evaluate: Could not find init script or upstart conf file for 'cups'
|
service {'cups': |
enable => false, |
}
|
It seems to me that there should be a way to suppress this error, as there are cases in which disabled is the goal, but completely missing is also fine. This to me would be more in-line with the Package module behavior, where you can say ensure => absent and it won't throw an error if the package already didn't exist.