Hello,

I'm newbie for puppet.
I would appreciate someone tells me how to use "shedule".

What I want to do is puppet client( puppetd ) tries to syncronize /etc/
hosts permission as 644, and puppetd tries to check every 3 minutes.
( I know 3 min is so quick, this is just a test of "schedule")

So I wrote manifests/site.pp,

> node default {
>        schedule { every3min:
>                period => hourly,
>                repeat => 20,
>        }
>
>        file {
>                '/etc/hosts':
>                owner => 'root',
>                group =>'root',
>                mode =>'644',
>                schedule => every3min,
>        }
>}

When puppet server( puppetmasterd ) and puppet clients(puppted) are
rebooted by me, puppetd tries to check permission.
But after that, I try "chmod 755 /etc/hosts" and wait 3 minutes,
nothing happen.

I think I might misunderstand someway.
Does anyone give me a hand?




--

You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-us...@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=.


Reply via email to