On Mon, Jun 27, 2011 at 7:41 AM, <zu...@puzzle.ch> wrote:

> > On Mon, Jun 27, 2011 at 7:27 AM, <zu...@puzzle.ch> wrote:
> >
> >> We have often the Problem that some files need to be checked for updates
> >> faster than the cycle of the puppet agent. I try to solve this with a
> >> script which tries to download the files directly from the fileserver of
> >> the puppetmaster. So far i couldn't get it to work.
> >>
> >
> > Have you considered using tags instead to filter for a subset of your
> > resources?
>
> I need to check 1 file and 1 directory every 5min from >600 puppet nodes.
> As far as i know the puppetmaster still needs to compile the whole
> catalog. I did not test this, but i think this would not scale well.


Possibly.

You could also do something like this. Put the thing you need to check
frequently into a module, we'll call it "frequent" for now, and structure
your setup with environments like the following:

# normal environment
[normal]
modulepath=/var/lib/puppet/env/normal/modules:/var/lib/puppet/env/frequent/modules


[frequent]
modulepath=/var/lib/puppet/env/frequent/modules


Then you could choose to run every 5 minutes against the "frequent"
environment, and you'd have a very minimal catalog for the rapid runs, and a
more comprehensive one for your "normal" runs.

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

Reply via email to