Issue #7018 has been updated by Charlie Sharpsteen.

Keywords changed from service to service customer

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

* Author: Ben Hughes
* Status: Closed
* Priority: Normal
* Assignee: Ben Hughes
* Category: documentation
* Target version: 
* Affected Puppet version: 
* Keywords: service customer
* Branch: 
https://github.com/barn/puppet/tree/ticket%2F2.6.x%2F7018-explain_internals_better_in_service_provider_documentation
----------------------------------------
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 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