On 20 August 2011 21:09, Nan Liu <n...@puppetlabs.com> wrote:
> 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.
>

The code in question was my attempt to extract a test case for the
problem I'm seeing with puppet-rundeck, so the code was more James'
than mine.

https://github.com/jamtur01/puppet-rundeck/blob/master/lib/puppet-rundeck.rb

>From a chat on IRC it looks like this might be an API change, I'm using 2.6.2.

G

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



-- 
Gareth Rushgrove
Web Geek

morethanseven.net
garethrushgrove.com

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