Issue #6916 has been updated by Ben Hughes.

Status changed from Accepted to Duplicate

Dupe of #7018. *cough*
----------------------------------------
Bug #6916: Document notifying services that don't have a valid process.
https://projects.puppetlabs.com/issues/6916

Author: Ben Hughes
Status: Duplicate
Priority: Normal
Assignee: 
Category: documentation
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


Update http://docs.puppetlabs.com/references/stable/type.html#service to 
properly convey that if a service is (for want of a better word) virtual, it 
needs a "hasstatus => true" or similar for it to be used with a subscribe =>

E.g.

<pre>
service {
  "network":
    ensure => running,
    subscribe => File [ "/etc/hostname.en0" ] 
}
</pre>

Won't work as it will try "ps -ef | grep network" which won't work. So it needs 
a hasstatus to find it's running, otherwise it will "Skipping restart; service 
is not running".


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