Judd Maltin
2011-May-03 19:50 UTC
[Puppet Users] templates on puppetmaster, shipped via scp to clients
Hi folks, I can''t run puppet client on my nodes. I want to fake facter info to process templates and ship them via scp to my nodes. Is it possible? Strategies? This work will be utilized later in a proper Puppet setup, as the ports will open up and I will be able to run the puppet client from the node, as per normal puppet config. Any hints? HOWTOs? Many thanks, -judd -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Felix Frank
2011-May-04 08:04 UTC
Re: [Puppet Users] templates on puppetmaster, shipped via scp to clients
On 05/03/2011 09:50 PM, Judd Maltin wrote:> Hi folks, > > I can''t run puppet client on my nodes. I want to fake facter info to > process templates and ship them via scp to my nodes. Is it possible? > Strategies? > > This work will be utilized later in a proper Puppet setup, as the > ports will open up and I will be able to run the puppet client from > the node, as per normal puppet config. > > Any hints? HOWTOs?I don''t see a need to do much faking. Use SCP to synchronize your manifests *and* templates, then just use "puppet apply" on your site.pp. It should work (and is the prefered paradigm to some, IIRC). HTH, Felix -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Russell Howe
2011-May-04 10:31 UTC
RE: [Puppet Users] templates on puppetmaster, shipped via scp to clients
> Subject: [Puppet Users] templates on puppetmaster, shipped > via scp to clients > > Hi folks, > > I can''t run puppet client on my nodes. I want to fake facter > info to process templates and ship them via scp to my nodes. > Is it possible? > Strategies?I think puppet just uses the erb program to process its templates so you should just be able to use that directly, I would expect. -- Russell Howe rhowe@moonfruit.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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Judd Maltin
2011-May-04 15:06 UTC
[Puppet Users] Re: templates on puppetmaster, shipped via scp to clients
Thanks Russell and Felix! That makes plenty of sense - the puppet client can do all the manifest and template processing that puppetmaster can do, plus it has access to facter facts. On May 4, 6:31 am, Russell Howe <rh...@moonfruit.com> wrote:> > Subject: [Puppet Users] templates on puppetmaster, shipped > > via scp to clients > > > Hi folks, > > > I can''t run puppet client on my nodes. I want to fake facter > > info to process templates and ship them via scp to my nodes. > > Is it possible? > > Strategies? > > I think puppet just uses the erb program to process its templates > so you should just be able to use that directly, I would expect. > > -- > Russell Howe > rh...@moonfruit.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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Russell Howe
2011-May-04 15:24 UTC
RE: [Puppet Users] Re: templates on puppetmaster, shipped via scp to clients
> Sent: 04 May 2011 16:07 > To: Puppet Users > Subject: [Puppet Users] Re: templates on puppetmaster, > shipped via scp to clients > > Thanks Russell and Felix! That makes plenty of sense - the > puppet client can do all the manifest and template processing > that puppetmaster can do, plus it has access to facter facts.I mean you don''t even necessarily need the puppet client. If you can pass the facter facts into erb you should be able to process the templates directly I think. -- Russell Howe rhowe@moonfruit.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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Judd Maltin
2011-May-17 13:59 UTC
[Puppet Users] Re: templates on puppetmaster, shipped via scp to clients
Long delay in replying - how would I get the facter facts to the puppet master in order to process the erb? Any cool node classifier i might use? Scp a yaml file from the node to the puppet master? How would I process the yaml file and the erb once there? Any tools for that? Thanks for the suggestions so far.. -judd On May 4, 11:24 am, Russell Howe <rh...@moonfruit.com> wrote:> > Sent: 04 May 2011 16:07 > > To: Puppet Users > > Subject: [Puppet Users] Re: templates on puppetmaster, > > shipped via scp to clients > > > Thanks Russell and Felix! That makes plenty of sense - the > > puppet client can do all the manifest and template processing > > that puppetmaster can do, plus it has access to facter facts. > > I mean you don''t even necessarily need the puppet client. > > If you can pass the facter facts into erb you should be able to > process the templates directly I think. > > -- > Russell Howe > rh...@moonfruit.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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.