On Dec 10, 2012, at 3:05 AM, swair shah <[email protected]> wrote: > Hi, > > Here is what I'm doing right now: Instead of compiling catalog everytime when > a node sends a request to the master, check if the modules included for that > node are changed or not, if they are changed then only compile the catalog. > > Q: How will I know which are the modules included in a node? A. a Puppetdb > query can give me a list of modules included in a node. > > Now is there a clever way to track a module for changes and then make > decision about compiling catalog based on that? > > Also let me know if what I'm trying has been tried before or has some > loophole!
This is great. We used to do this, until people started calling out to databases too often for it to be reliable. If it works for you, though, excellent. -- Luke Kanies | http://about.me/lak | http://puppetlabs.com/ | +1-615-594-8199 -- You received this message because you are subscribed to the Google Groups "Puppet Developers" 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-dev?hl=en.
