Issue #3763 has been updated by James Turnbull. Category set to functions Status changed from Unreviewed to Investigating Assigned to set to Markus Roberts
---------------------------------------- Bug #3763: noop ignored on subscribe http://projects.puppetlabs.com/issues/3763 Author: Jakub Heichman Status: Investigating Priority: Normal Assigned to: Markus Roberts Category: functions Target version: Affected version: 0.25.4 Keywords: Branch: Hi, I have an example service resource subscribing to a file, in noop mode: service { "network": enable => true, ensure => running, hasstatus => true, subscribe => File['/etc/sysconfig/network-scripts/ifcfg-bond0'], noop => true } When ifcfg-bond0 changes, network gets restarted regardless of the 'noop' setting. Puppetd log below: debug: //network::bonding/File[/etc/sysconfig/network-scripts/ifcfg-bond0]: Changing checksum,content debug: //network::bonding/File[/etc/sysconfig/network-scripts/ifcfg-bond0]: 2 change(s) debug: //network::bonding/File[/etc/sysconfig/network-scripts/ifcfg-bond0]/checksum: Replacing /etc/sysconfig/network-scripts/ifcfg-bond0 checksum {md5}e56d810fc8c0f30b94011d25d52279cb with {md5}d0affea23419ad2fb43def644bdcbf9f notice: //network::bonding/File[/etc/sysconfig/network-scripts/ifcfg-bond0]/checksum: checksum changed '{md5}e56d810fc8c0f30b94011d25d52279cb' to '{md5}d0affea23419ad2fb43def644bdcbf9f' info: Filebucket[/var/lib/puppet/clientbucket]: Adding /etc/sysconfig/network-scripts/ifcfg-bond0(d0affea23419ad2fb43def644bdcbf9f) info: //network::bonding/File[/etc/sysconfig/network-scripts/ifcfg-bond0]: Filebucketed /etc/sysconfig/network-scripts/ifcfg-bond0 to puppet with sum d0affea23419ad2fb43def644bdcbf9f debug: //network::bonding/File[/etc/sysconfig/network-scripts/ifcfg-bond0]/checksum: Replacing /etc/sysconfig/network-scripts/ifcfg-bond0 checksum {md5}d0affea23419ad2fb43def644bdcbf9f with {md5}e56d810fc8c0f30b94011d25d52279cb notice: //network::bonding/File[/etc/sysconfig/network-scripts/ifcfg-bond0]/content: content changed '{md5}d0affea23419ad2fb43def644bdcbf9f' to 'unknown checksum' info: //network::bonding/File[/etc/sysconfig/network-scripts/ifcfg-bond0]: Scheduling refresh of Service[network] info: //network::bonding/File[/etc/sysconfig/network-scripts/ifcfg-bond0]: Scheduling refresh of Service[network] debug: Service[network](provider=redhat): Executing '/sbin/service network status' debug: Puppet::Type::Service::ProviderRedhat: Executing '/sbin/chkconfig network' notice: //network/Service[network]: Triggering 'refresh' from 2 dependencies 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' -- 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.
