On Sat, Aug 20, 2011 at 4:21 AM, garethr <gar...@morethanseven.net> wrote: > I've been looking into using puppet-rundeck and run into a bit of an > issue that I've traced back to puppet. I have a feeling this is going > to be my lack of understanding of something or a misconfiguration. > > Here's a snippet of code that demonstrates my plight: > > https://gist.github.com/9667ad19762bf20bd947 > > The above works for only 1 of the 4 nodes, specifically the one that > the commands are run on which is also the puppet master. > > This appears to be down to which files are present in /var/lib/puppet/ > client_yaml/catalog. > > So I think I'm expecting there to be 4 files in that directory, one > yaml file for each node. Instead I'm only seeing one. If I duplicate > that file with the relevant node names the above code will run.
Did you intend to use the Puppet agent's cached catalog? If you want something current, I believe you should use the :rest terminus to fetch a current catalog from the master. Thanks, Nan -- 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.