Re: [Puppet Users] Re: Installing puppet-dashboard on ubuntu precise

2012-08-19 Thread Sam Morrison
I'd rather not do that as mod-passenger is needed by something else (puppetmaster) Is there no way I can make dashboard use the gem version as opposed to the standard one? Is that what RUBYLIBDIR is for? Cheers, Sam On Monday, 20 August 2012 11:43:11 UTC+10, Ashish Jaiswal wrote: > > Hi Sam

Re: [Puppet Users] Dynamic Lookup of facter variable.

2012-08-19 Thread Douglas Garstang
Oh god that's ugly. On Sun, Aug 19, 2012 at 7:48 PM, Eric Shamow wrote: > Facts exist at top scope, as indicated in the scoping doc several people have > referred you to on this list. Use $::ec2_instance_type > > Sent from my iPad > > On Aug 19, 2012, at 10:44 PM, Douglas Garstang > wrote: >

Re: [Puppet Users] Dynamic Lookup of facter variable.

2012-08-19 Thread Eric Shamow
Facts exist at top scope, as indicated in the scoping doc several people have referred you to on this list. Use $::ec2_instance_type Sent from my iPad On Aug 19, 2012, at 10:44 PM, Douglas Garstang wrote: > I don't get it... > >if ! ( $ec2_instance_type in [$ec2_inst_type_allow]) { >

[Puppet Users] Dynamic Lookup of facter variable.

2012-08-19 Thread Douglas Garstang
I don't get it... if ! ( $ec2_instance_type in [$ec2_inst_type_allow]) { notice("NOT ALLOWED") } else { notice("ALLOWED") } 2012-08-20T02:39:10.537134+00:00 truth puppet-master[24080]: Dynamic lookup of $ec2_instance_type at /truth/sauce/env/prod/modules/rol e/manifest

Re: [Puppet Users] Re: Installing puppet-dashboard on ubuntu precise

2012-08-19 Thread Ashish
Hi Sam, I would rather suggest uninstalling mod-passenger and then do a fresh install, rather going into all this mess.. Regards, System Admin Ashish Jaiswal On Monday 20 August 2012 07:03:54 AM IST, Sam Morrison wrote: Hi Daniele, Yeah you are probably right. I can't uninstall the other on

[Puppet Users] Re: Installing puppet-dashboard on ubuntu precise

2012-08-19 Thread Sam Morrison
Hi Daniele, Yeah you are probably right. I can't uninstall the other one as it is a dependance on mod-passenger. I'm not really familiar with ruby, Is there a way I can override the search path? I don't have RUBYLIBDIR set in my environment. Cheers, Sam On Friday, 17 August 2012 17:41:49 UT

Re: [Puppet Users] Re: merging iptables rules with puppet

2012-08-19 Thread Peter Brown
I have been meaning to have a look at that one and see if it will work for what I need. I have likely put it off because I am always too busy and my firewall module works. I also like having the rules go away automagically if they aren't needed any more. On 17 August 2012 05:27, Justin Ellison wr

Re: [Puppet Users] Re: puppet client could not request certificate: Error 500 on SERVER

2012-08-19 Thread Stuart Cracraft
I am seriously thinking of putting those recursive chown's in root crontab on puppet masters and puppet agents for /etc/puppet* and /var/lib/puppet* I shouldn't have to do this but have seen cases of ownership reversion. --Stuart Via Apple iPhone 4S on the AT&T Wireless Network On Aug 13,

[Puppet Users] Re: Configuring hosts with data from other hosts

2012-08-19 Thread treydock
Ive struggled with the same problem of distributing variables and other generated data amongst hosts. For external resources Ive found a great use in configuring a BackupPC server. Each node builds their backup configuration file with tag 'backuppc_server_conf' and the server retrieves all the