Issue #17279 has been updated by eric sorenson.

Status changed from Unreviewed to Needs More Information
Assignee set to Matthew Kohn

Very weird, I can't reproduce this on my host. I noticed in the output that the 
actual `Service[ntp]` is in there correctly, in *addition* to the spurious 
`Service[undef]` lines;

<pre>
106     debug: Service[ntp](provider=debian): Executing '/etc/init.d/ntp status'
107     debug: Service[ntp](provider=debian): Executing '/etc/init.d/ntp start'
108     notice: /Stage[main]/Ntp/Service[ntp]/ensure: ensure changed 'stopped' 
to 'running'
</pre>

Is that really the only class you are evaluating on the node? Can you reproduce 
the same problem if you put the manifest on the node and run it directly with 
something like `puppet apply --modulepath=/path/to/modules -e 'include ntp'` ?  
Also would it be possible to update to the latest 2.7.x from the 
apt.puppetlabs.com repository, following the instructions here: 
http://docs.puppetlabs.com/guides/puppetlabs_package_repositories.html#for-debian-and-ubuntu

Please assign the ticket back to me if you still need assistance with this.
----------------------------------------
Bug #17279: allways getting cannot find init script 'undef'
https://projects.puppetlabs.com/issues/17279#change-76281

Author: Matthew Kohn
Status: Needs More Information
Priority: Normal
Assignee: Matthew Kohn
Category: 
Target version: 
Affected Puppet version: 2.7.11
Keywords: undef
Branch: 


When executing the init.pp file attached, for ntp, it always outputs the errors

err: /Stage[main]/Ntp/Service[undef]: Could not evaluate: Could not find init 
script for 'undef'

It still executes the command and starts the service, see output.txt but will 
give an error


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