Issue #17286 has been updated by Peter Meier.
I've posted more information in my duplicated report #18266 In short: problem is only if hasstatus is set to true. RH works fine, because the redhat provider invokes service $name which fails anyway if the init.d script is not present -> service assumed to be stopped. Still, I think it should not fail if we want to have the service stopped. ---------------------------------------- Bug #17286: Debian client looking for init script even when it shouldn't be there. https://projects.puppetlabs.com/issues/17286#change-79394 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.
