trey85stang
2011-Feb-16 02:11 UTC
[Puppet Users] Passenger, Puppet/ nodes.pp ignored with external nodes script?
Hey All, I''m still experimenting with a puppet backend for 6000 hosts. I have switched from mongrel to a passenger backend on a single puppetserver. Afterwards any node that is not defined in the external nodes script, is now rejected even if they have an entry in my nodes.pp manifest. With the mongrel server this works as expected. Anyone know what might be wrong? OS is CentOS 5.5 ruby 1.8.7 compiled from source rake from source latest puppet 2.6.4 latest facter everything else is 5.5 based rpms. Config files are verbatim from the passenger on enterprise linux from the puppet documentation. -- 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.
trey85stang
2011-Feb-16 02:30 UTC
[Puppet Users] Re: Passenger, Puppet/ nodes.pp ignored with external nodes script?
while I am at it, what is the best way to load balance between multiple servers using passenger? a dedicated load balancer or can the balancing be done within passenger like mongrel? On Feb 15, 8:11 pm, trey85stang <trey85st...@gmail.com> wrote:> Hey All, I''m still experimenting with a puppet backend for 6000 > hosts. I have switched from mongrel to a passenger backend on a > single puppetserver. > > Afterwards any node that is not defined in the external nodes script, > is now rejected even if they have an entry in my nodes.pp manifest. > With the mongrel server this works as expected. > > Anyone know what might be wrong? > > OS is CentOS 5.5 > ruby 1.8.7 compiled from source > rake from source latest > puppet 2.6.4 > latest facter > everything else is 5.5 based rpms. > > Config files are verbatim from the passenger on enterprise linux from > the puppet documentation.-- 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.
Ben Hughes
2011-Feb-16 02:38 UTC
Re: [Puppet Users] Re: Passenger, Puppet/ nodes.pp ignored with external nodes script?
On Tue, Feb 15, 2011 at 06:30:29PM -0800, trey85stang wrote:> while I am at it, what is the best way to load balance between > multiple servers using passenger? a dedicated load balancer or can > the balancing be done within passenger like mongrel?As you''re using Passenger you could get Apache (or nginx if that''s what you''re using) to do the load balancing for you. Using mod_proxy as you would with mongrel to serve it out between a number of passenger vhosts on multiple backends. -- ben -- 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.
trey85stang
2011-Feb-16 03:12 UTC
[Puppet Users] Re: Passenger, Puppet/ nodes.pp ignored with external nodes script?
Thanks Ben, that is simple enough. On Feb 15, 8:38 pm, Ben Hughes <b...@puppetlabs.com> wrote:> On Tue, Feb 15, 2011 at 06:30:29PM -0800, trey85stang wrote: > > while I am at it, what is the best way to load balance between > > multiple servers using passenger? a dedicated load balancer or can > > the balancing be done within passenger like mongrel? > > As you''re using Passenger you could get Apache (or nginx if that''s what > you''re using) to do the load balancing for you. Using mod_proxy as you > would with mongrel to serve it out between a number of passenger vhosts > on multiple backends. > > -- > ben-- 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.
Ben Hughes
2011-Feb-16 03:23 UTC
Re: [Puppet Users] Re: Passenger, Puppet/ nodes.pp ignored with external nodes script?
On Tue, Feb 15, 2011 at 07:12:57PM -0800, trey85stang wrote:> Thanks Ben, that is simple enough.Other people have had success with putting HAProxy in front of Apache/Passenger stacks too. Which is simpler in terms of structure, but more components. -- ben -- 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.
Gary Larizza
2011-Feb-19 23:40 UTC
Re: [Puppet Users] Passenger, Puppet/ nodes.pp ignored with external nodes script?
With regard to the External Nodes problem - are you returning an empty block of YAML if the node isn''t defined in the external nodes script? That''s the way Puppet knows to check for the nodes.pp file. If you return /NOTHING/ (i.e. not an empty YAML block), then nodes.pp isn''t checked. -Gary On Tue, Feb 15, 2011 at 6:11 PM, trey85stang <trey85stang@gmail.com> wrote:> Hey All, I''m still experimenting with a puppet backend for 6000 > hosts. I have switched from mongrel to a passenger backend on a > single puppetserver. > > Afterwards any node that is not defined in the external nodes script, > is now rejected even if they have an entry in my nodes.pp manifest. > With the mongrel server this works as expected. > > Anyone know what might be wrong? > > OS is CentOS 5.5 > ruby 1.8.7 compiled from source > rake from source latest > puppet 2.6.4 > latest facter > everything else is 5.5 based rpms. > > Config files are verbatim from the passenger on enterprise linux from > the puppet documentation. > > -- > 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. > >-- Gary Larizza Director of Technology Huron City Schools http://www.huronhs.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.
Derek J. Balling
2011-Feb-20 18:02 UTC
Re: [Puppet Users] Re: Passenger, Puppet/ nodes.pp ignored with external nodes script?
FWIW, we use our pre-existing F5s (which we''ve got for production traffic) so we carved off a Puppetmaster VIP on those with no problem at all. D On Feb 15, 2011, at 9:30 PM, trey85stang wrote:> while I am at it, what is the best way to load balance between > multiple servers using passenger? a dedicated load balancer or can > the balancing be done within passenger like mongrel? > > On Feb 15, 8:11 pm, trey85stang <trey85st...@gmail.com> wrote: >> Hey All, I''m still experimenting with a puppet backend for 6000 >> hosts. I have switched from mongrel to a passenger backend on a >> single puppetserver. >> >> Afterwards any node that is not defined in the external nodes script, >> is now rejected even if they have an entry in my nodes.pp manifest. >> With the mongrel server this works as expected. >> >> Anyone know what might be wrong? >> >> OS is CentOS 5.5 >> ruby 1.8.7 compiled from source >> rake from source latest >> puppet 2.6.4 >> latest facter >> everything else is 5.5 based rpms. >> >> Config files are verbatim from the passenger on enterprise linux from >> the puppet documentation. > > -- > 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. >-- 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.
trey85stang
2011-Mar-11 22:22 UTC
[Puppet Users] Re: Passenger, Puppet/ nodes.pp ignored with external nodes script?
I know its been a while, but that is exactly what I was doing.. returning nothing. Added the blank yaml and all is working. On Feb 19, 5:40 pm, Gary Larizza <ccsh...@gmail.com> wrote:> With regard to the External Nodes problem - are you returning an empty block > of YAML if the node isn''t defined in the external nodes script? That''s the > way Puppet knows to check for the nodes.pp file. If you return /NOTHING/ > (i.e. not an empty YAML block), then nodes.pp isn''t checked. > > -Gary > > > > > > > > > > On Tue, Feb 15, 2011 at 6:11 PM, trey85stang <trey85st...@gmail.com> wrote: > > Hey All, I''m still experimenting with a puppet backend for 6000 > > hosts. I have switched from mongrel to a passenger backend on a > > single puppetserver. > > > Afterwards any node that is not defined in the external nodes script, > > is now rejected even if they have an entry in my nodes.pp manifest. > > With the mongrel server this works as expected. > > > Anyone know what might be wrong? > > > OS is CentOS 5.5 > > ruby 1.8.7 compiled from source > > rake from source latest > > puppet 2.6.4 > > latest facter > > everything else is 5.5 based rpms. > > > Config files are verbatim from the passenger on enterprise linux from > > the puppet documentation. > > > -- > > 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. > > -- > Gary Larizza > > Director of Technology > Huron City Schoolshttp://www.huronhs.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.