C. Handel wrote: > I wrote a custom fact and set up syncing with the help of > http://reductivelabs.com/trac/puppet/wiki/PluginsInModules > > Now the custom fact is distributed to my client just fine > > info: Retrieving plugins > notice: /File[/var/lib/puppet/lib]/checksum: checksum changed ... > notice: /File[/var/lib/puppet/lib/facter/custom_ips.rb]/source: > replacing from source puppet ... > > But in the first run of puppetd the new fact is not available. Same > thing happens if i change the code on the puppetmaster. It takes two > runs of puppetd. First will update the facts-file, second will include > the new version. > > Is there a way to reload the facts if a file changes during > pluginsync? > > facter version 1.3.8 > puppetd version 0.24.4 > > Greetings > Christoph > > > > This actually happens to me on .24.4 with a regular (non-custom) fact: hostname. I get an error that it can't parse an erb template i have that uses the hostname fact. On the second run it's fine. Possibly a bug? 24.4 is kind of dated, so that's what I chalk it up to.
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" 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-users?hl=en -~----------~----~----~----~------~----~------~--~---
