Issue #3763 has been updated by eric sorenson.

Category changed from functions to metaparameters
Status changed from Closed to Re-opened
Assignee changed from Markus Roberts to eric sorenson
Affected Puppet version changed from 0.25.4 to 2.7.19
Keywords set to noop service

Re-opening as this is obviously still an issue. We got a new report and I 
verified it with a small test.
----------------------------------------
Bug #3763: noop ignored on subscribe
https://projects.puppetlabs.com/issues/3763#change-69263

Author: Jakub Heichman
Status: Re-opened
Priority: Normal
Assignee: eric sorenson
Category: metaparameters
Target version: 
Affected Puppet version: 2.7.19
Keywords: noop service
Branch: 


Hi,

I have an example service resource subscribing to a file, in noop mode:

<pre>
service { "network":
enable          => true,
ensure          => running,
hasstatus       => true,
subscribe       => File['/etc/sysconfig/network-scripts/ifcfg-bond0'],
noop            => true
}
</pre>

When ifcfg-bond0 changes, network gets restarted regardless of the 'noop' 
setting. 

Puppetd log below:

<pre>
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'
</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