Issue #6268 has been updated by Stefan Schulte.

Can you please run puppet agent (or puppet apply) with `--debug`. This should 
give us info what provider puppet uses and what exact commands it runs. So I am 
not sure if puppet automatically uses `service network status` 
(`hasstatus=>true`) on CentOS to check if a service is running. If you see the 
provider running `ps -ef` this could be the problem. Because I guess the 
process that is started with `service network start` is not called network?

Can you then try to specify your service with `hasstatus => true`
----------------------------------------
Bug #6268: service{"network": ensure => running } fails on Redhat/Centos w/ 
dhcp interface
https://projects.puppetlabs.com/issues/6268

Author: Chip Schweiss
Status: Needs more information
Priority: Normal
Assignee: 
Category: 
Target version: 2.6.6
Affected Puppet version: 
Keywords: 
Branch: 


Puppet is always reading the status as stopped and attempts to start the 
service on every run.  If the interface is dhcp the start command fails because 
dhclient is already running.  

Puppet needs to properly determine the status.


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