Hi, My initial puppet code for managing cron job was:
cron { 'do-this': command => ''/user/bin/python /root/do.py', user => root, hour => [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], minute => 42, require => [File['/home/do.py']] } Servers connected the controller received this in the root's cron tab. Due to new requirements, I changed '/usr/bin/python' to '/etc/did.sh' cron { 'do-this': command => ''/etc/did.sh /root/do.py', user => root, hour => [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23], minute => 42, require => [File['/home/do.py']] } Now, when a new server was made to reference this controller, it received the *changed *cron job. The servers connected to the controller before this change *still references* '/usr/bin/python'. How could I make the 'command' refresh? puppet version: puppet_0.24.6-1_all.deb Thanks! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---