Issue #4362 has been updated by Jesse Wolfe.

Assignee changed from Jesse Wolfe to Andrei Pozolotin


----------------------------------------
Bug #4362: runinterval is ignored on reparse
http://projects.puppetlabs.com/issues/4362

Author: Andrei Pozolotin
Status: Needs more information
Priority: Normal
Assignee: Andrei Pozolotin
Category: 
Target version: 
Affected version: 2.6.0
Keywords: 
Branch: 


this supposed to restart/update puppet agent on config change:

    class bc_puppet_agent::settings {

        file {
          
    "/etc/puppet/auth.conf":
    ensure => present,
    source => "puppet:///modules/$module_name/auth.conf";
          
          "/etc/puppet/puppet.conf":
                ensure => present,
                source => "puppet:///modules/$module_name/puppet.conf";
                
                "/etc/puppet/namespaceauth.conf":
                ensure => present,
                source => "puppet:///modules/$module_name/namespaceauth.conf";
                
        }
        
        service { puppet:
                ensure => running,
                subscribe => [ 
      File["/etc/puppet/auth.conf"], 
      File["/etc/puppet/puppet.conf"], 
                        File["/etc/puppet/namespaceauth.conf"], 
                ]
        }
        
    }


and in fact I see in the logs:

    Jul 26 09:00:10 cnc puppet-agent[13077]: 
(/Stage[main]/Bc_puppet_agent::Settings/File[/etc/puppet/puppet.conf]/content) 
content changed '{md5}811ec6e71476d643a102bdd57f7a7271' to 
'{md5}6928ca99bbb054d0646c2bcbd335abdc'
    Jul 26 09:00:17 cnc puppet-agent[13077]: 
(/Stage[main]/Bc_puppet_master::Settings/Service[puppetmaster]) Triggered 
'refresh' from 1 events
    Jul 26 09:00:19 cnc puppet-agent[13077]: 
(/Stage[main]/Bc_puppet_agent::Settings/Service[puppet]) Triggered 'refresh' 
from 1 events

but it seems to ignore "runinterval" : the agent keeps running at the same old 
rate and needs hard restart;




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