Issue #4111 has been updated by James Turnbull.

Category set to service
Status changed from Unreviewed to Accepted
Assigned to set to Jesse Wolfe
Priority changed from Normal to High
Target version set to 2.6
Affected version changed from 0.25.5 to 2.6alpha1


----------------------------------------
Bug #4111: service does not log event for chkconfig update if service was 
started
http://projects.puppetlabs.com/issues/4111

Author: Dan Bode
Status: Accepted
Priority: High
Assigned to: Jesse Wolfe
Category: service
Target version: 2.6
Affected version: 2.6alpha1
Keywords: 
Branch: 


code:
<pre>
service { 'httpd':
  ensure => running,
  enable => true,
}
</pre>

even though chkconfig is set to off in both cases, its only logged when the 
process isn't started.

<pre>
# /sbin/service httpd stop
Stopping httpd:                                            [  OK  ]
[r...@dannyboy manifests]# chkconfig httpd off
[r...@dannyboy manifests]# puppet myservice.pp 
notice: //Service[httpd]/ensure: ensure changed 'stopped' to 'running'
[r...@dannyboy manifests]# chkconfig httpd off
[r...@dannyboy manifests]# puppet myservice.pp 
notice: //Service[httpd]/enable: enable changed 'false' to 'true'
[r...@dannyboy manifests]# 
</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