Issue #16243 has been updated by Kjetil Torgrim Homme.

sorry, I am confusing myself.  I'll see if I can reproduce it better.

----------------------------------------
Bug #16243: Service does not report changes in "enable" status
https://projects.puppetlabs.com/issues/16243#change-72763

Author: Kjetil Torgrim Homme
Status: Needs More Information
Priority: Normal
Assignee: Kjetil Torgrim Homme
Category: 
Target version: 
Affected Puppet version: 
Keywords: 
Branch: 


Subject says it all, really.  In this case, Puppet both fixed `ensure => 
running` and `enable => true`.

<pre>
  myhost# chkconfig --list ntpd
  ntpd            0:off   1:off   2:off   3:off   4:off   5:off   6:off
  myhost# puppetd -t --tags ntp,ntpd
  [...]
  info: Applying configuration version '1346835895'
  notice: /Stage[main]/Ntp/Service[ntp]/ensure: ensure changed 'stopped' to 
'running'
  notice: Finished catalog run in 7.44 seconds
  myhost# chkconfig --list ntpd
  ntpd            0:off   1:off   2:on    3:on    4:on    5:on    6:off
</pre>

My main problem with this is that `--noop` will not report the change either.  
The consequence is that an empty output from `--noop` can't be trusted to mean 
that Puppet won't be changing the system in normal mode.

Tested on 2.7.19, but I think this bug has been here forever.



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