Issue #6916 has been updated by Charlie Sharpsteen.

Keywords set to  customer

----------------------------------------
Bug #6916: Document notifying services that don't have a valid process.
https://projects.puppetlabs.com/issues/6916#change-88683

* Author: Ben Hughes
* Status: Duplicate
* Priority: Normal
* Assignee: 
* Category: documentation
* Target version: 
* Affected Puppet version: 
* Keywords:  customer
* 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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to