Re: [Puppet Users] how to scale puppet with F5 load balancer?

2012-07-08 Thread Alan Evans
>From what I can tell there is no need to use alternate names. You can make the F5 appear to the clients to be the puppetmaster by leveraging the F5 to do SSL offloading and part of the certificate verification taking some load off your puppet masters. Even more though, since the puppet environme

Re: [Puppet Users] Re: proper usage of global variables / node variables / +=

2012-07-08 Thread Nan Liu
On Thu, Jul 5, 2012 at 2:41 PM, jcbollinger wrote: > > > On Thursday, July 5, 2012 2:59:07 PM UTC-5, fpee wrote: >> >> On 07/05/2012 08:30 AM, jcbollinger wrote: >> >> > If that's so then you are relying on a Puppet bug, or perhaps you have >> > oversimplified your example. The language guide spe

Re: [Puppet Users] create multiple resources from an array of things.

2012-07-08 Thread Wolf Noble
I figured out what I was doing wrong. I wasn't (maybe I'm still not? :) ) properly taking advantage of the freebie parameter 'title' of defined types. This now seems to behave like I had hoped it would: class snap::rhel::rh5enable { #... $collector = ['10.0.0.1','10.0.0.2'] #… define

[Puppet Users] Re: groups dependencies at user creation

2012-07-08 Thread eduardo
Thanks you very much Stefan. Testing were tell me something like that exactly. But I can't reach an autorequiring reason like you did by debug output. It's a shame not having had prior nevertheless you are not only clarifying me about that but also simplify my recipe. So finally I can rest withou

Re: [Puppet Users] puppet agent won't recognize configuration

2012-07-08 Thread Nan Liu
On Fri, Jul 6, 2012 at 9:35 AM, catshirt wrote: > hi all, > > just started using puppet and i think it's great. but i'm having a number of > problems surrounding the authentication of the servers. > > on a fresh master, when i create a new client using the node_aws cloud > provisioner (using --cer

[Puppet Users] Re: groups dependencies at user creation

2012-07-08 Thread eduardo
Dears all, Thanks nan your your suggestion, I took it (again) in account trying to do something better. Thanks john for your puppet's lesson. I'd never been worked with declarative system, noticeably it's demand a different way of think than in typical imperative system. I have done a new versio

Re: [Puppet Users] create multiple resources from an array of things.

2012-07-08 Thread Wolf Noble
Hi Eric, No, this class is not being called anywhere else. What I think is going on is that I have an array of two strings, but somehow the defined type is getting a concatenated string which contains both values of the array instead of treating each element of the array as an individual. The

Re: [Puppet Users] create multiple resources from an array of things.

2012-07-08 Thread Eric Shamow
Wolf, Are you calling that parameterized class multiple places? This sounds like a situation where what you want may be a defined type but in fact you are using a parameterized class. You can include paramaterized classes multiple times using "include" but not using parameters. -Eric --

[Puppet Users] create multiple resources from an array of things.

2012-07-08 Thread Wolf Noble
Hi gang, I feel like I'm missing something fundamental here… I've got the following: class snmp::rhel::rh5enable { $collector = ['10.0.0.1', '10.0.0.2'] define add_snmp_hosts_allow ($ip) { exec { "hosts_allow_$ip": command => "/bin/echo \"snmpd : $ip : ALLOW\" >>/etc/hosts.allow",

[Puppet Users] Re: configure apache passenger problem

2012-07-08 Thread earthgecko
Sound like you only have the passenger gem installed, it needs to install the apache module. Here is a snippet from a Centos puppet build. init.pp # # modules/passenger/manifests/init.pp class passenger { package { 'rack': ensure => '1.1.0', provider => 'gem', re

[Puppet Users] Re: configure apache passenger problem

2012-07-08 Thread myeazel
When I was just setting up passenger, I had to alter that line referencing mod_passenger.so to our apache modules directory. # LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-2.2.11/ext/apache2/mod_passenger.so This needed to be changed to /etc/httpd/modules/mod_passenger.so

[Puppet Users] Re: Installing hiera

2012-07-08 Thread harveyzh
hello! On Jun 25, 11:34 pm, "llow...@oreillyauto.com" wrote: > On Monday, June 25, 2012 10:21:20 AM UTC-5, Florian Koch wrote: > > > Hi, > > Have you the hiera Files in the puppet libdir e.g /var/lib/puppet/lib ? > > No, I do not, actually. > > Which files need to go there? The stuff in > /var/li