Issue #17286 has been updated by Greg Swift.

Status changed from Closed to Re-opened

I'm inclined to disagree with your assessment.  If the package has been purged 
then the Service provider should see that and not attempt to look for the 
service script.  This works fine in the RH world where there is no functional 
difference in how yum deals with remove/erase.  

If I didn't have the Service requiring the Package then I'd agree that it makes 
sense for it to be attempting this, but I do have the dependency specifically 
defined.

----------------------------------------
Bug #17286: Debian client looking for init script even when it shouldn't be 
there.
https://projects.puppetlabs.com/issues/17286#change-76520

Author: Greg Swift
Status: Re-opened
Priority: Normal
Assignee: eric sorenson
Category: 
Target version: 
Affected Puppet version: 3.0.1
Keywords: 
Branch: 


I was working on our internal time module.  I'm attaching a very generic 
version of it.

Basically when the class is set 'ensure => absent' it ensures that the package 
is gone and the service is stopped and disabled.  My service requires the 
package, so in theory it shouldn't run the service resource if the package is 
absent.  But every run on a debian system it throws the following error:

Error: /Stage[main]/Basictime/Service[ntp]: Could not evaluate: Could not find 
init script for 'ntp'

Also attaching full output.

Testing with 2.7.18 from debian's squeeze testing, 2.7.19 and 3.0.1 from 
apt.puppetlabs.

This part works fine on CentOS (I have a different issue on that side)


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