On Tue, Oct 12, 2010 at 8:48 AM, Philip Brown <phil.googlen...@bolthole.com> wrote: > On Mon, Oct 11, 2010 at 06:44:20PM -0700, Philip Brown wrote: >> BUUT... maybe I am thinking about this all wrong after all. Possibly >> the better way is to give facter a custom set of facts... and then >> since facter output gets automatically stored on the master when >> puppet runs on the client > > On Oct 12, 1:44 am, Bruce Richardson <itsbr...@workshy.org> wrote: >> >> Is it crucial that the data be current at the beginning any puppet run? >> Is the data itself used in configuring the host, or is it just the >> presence of current data that has an effect on how/when puppet runs? >> > > Weeelll.. this PARTICULAR data, is more just inventory type data. it > is not crucial to the puppet run itself at all. > > However, in the future, we will have more interest in adding on > [random scripts that need to be run on all machines, but not at > exactly the same time]
Then it sounds like you should either: * construct a defined type around an exec that has an onlyif/unless parameter to check the freshness of the db entry or * write a fact to make the same check, and use that in your manifests. I'm a little confused though, as your initial post seems to describe an orchestration problem, but your clarification simply makes it sound like you want to implement a TTL check on the db entry for each node? > > -- > 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=en. > > -- nigel -- 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=en.