Issue #7018 has been reported by Ben Hughes.

----------------------------------------
Bug #7018: Explain internals better in service provider documentation
https://projects.puppetlabs.com/issues/7018

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


The documentation could be clearer for quite what service does with regards to 
hasstatus and subscriptions/notfiy

<pre>
AUTOFS without HASSTATUS (not restarted even though its running) debug: 
Service[autofs](provider=redhat): Executing 'ps -ef' debug: 
Puppet::Type::Service::ProviderRedhat: Executing '/sbin/chkconfig autofs' 
debug: Service[autofs](provider=redhat): Executing '/sbin/service autofs start' 
debug: Puppet::Type::Service::ProviderRedhat: Executing '/sbin/chkconfig 
autofs' notice: /Stage[main]/mypuppet_autofs/Service[autofs]/ensure: ensure 
changed 'stopped' to 'running' debug: Service[autofs](provider=redhat): 
Executing 'ps -ef' debug: /Stage[main]/mypuppet_autofs/Service[autofs]: 
Skipping restart; service is not running

AUTOFS with HASSTATUS: debug: Service[autofs](provider=redhat): Executing 
'/sbin/service autofs status' 
debug: Puppet::Type::Service::ProviderRedhat: Executing '/sbin/chkconfig 
autofs' debug: Service[autofs](provider=redhat): Executing '/sbin/service 
autofs status'  debug: Service[autofs](provider=redhat): Executing 
'/sbin/service autofs restart'

NETWORK without HASSTATUS (not restarting) 
debug: Service[network](provider=redhat): Executing 'ps -ef' 
debug: /Stage[main]/mypuppet_bonding/Service[network]: Skipping restart; 
service is not running

NETWORK with HASSSTATUS 
debug: Service[network](provider=redhat): Executing '/sbin/service network 
status' 
debug: Service[network](provider=redhat): Executing '/sbin/service network 
status' 
debug: Service[network](provider=redhat): Executing '/sbin/service network 
stop' 
debug: Service[network](provider=redhat): Executing '/sbin/service network 
start'
</pre>


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