[Puppet Users] extlookup in 2.6.1 defaults

2010-08-21 Thread Douglas Garstang
Hmmm So I was just trying the extlookup function that comes with puppet 2.6.1. It now lets you do this: $version = extlookup("rsyslog_version", "present", "packages") which, according to the documentation: # This will look for a version configured in packages.csv and then in the rest as con

[Puppet Users] Where does extlookup go?

2010-08-21 Thread Douglas Garstang
Where does extlookup get copied to on the puppetmaster for 2.6.1? In my 0.24.8 installation, it's running happily in /var/lib/puppet/parser/functions. However, 2.6 doesn't have a parser directory. I created a parser/functions directory, and got this: Could not retrieve catalog from remote server:

Re: [Puppet Users] Debugging errors with external nodes

2010-08-21 Thread Douglas Garstang
On Sat, Aug 21, 2010 at 4:19 PM, Jeff McCune wrote: > On Sat, Aug 21, 2010 at 3:59 PM, Douglas Garstang > wrote: >> My site.pp: >> >> node default { >> } > > Your empty node classification is entirely consistent with the terse > agent output you pasted. That's not what is happening. It is findin

[Puppet Users] Neverending Scope Issues

2010-08-21 Thread Douglas Garstang
Lets say I have this for an external node: classes: software::application environment: production parameters: appvar1: appkey1 ... appvarN: appkeyN The software::application class can access the appvarN variables. I keep seeing people here say stuff like 'oh just move it up into a class'.

Re: [Puppet Users] Re: puppet dashboard gui looks odd from apache2

2010-08-21 Thread Joe McDonagh
On 08/21/2010 05:45 PM, Rustler wrote: > This is what I have in my httpd.conf file and apache is running as the > user puppet - > > LoadModule passenger_module /opt/passenger-2.2.15/ext/apache2/ > mod_passenger.so > PassengerRoot /opt/passenger-2.2.15 > > PassengerRuby /usr/bin/ruby > > Passenge

Re: [Puppet Users] Debugging errors with external nodes

2010-08-21 Thread Jeff McCune
On Sat, Aug 21, 2010 at 3:59 PM, Douglas Garstang wrote: > My site.pp: > > node default { > } Your empty node classification is entirely consistent with the terse agent output you pasted. On Fri, Aug 20, 2010 at 5:06 PM, Douglas Garstang wrote: > Aug 21 00:04:09 app01 puppet-agent[5975]: Starti

Re: [Puppet Users] Debugging errors with external nodes

2010-08-21 Thread Douglas Garstang
My site.pp: # /etc/puppet/manifests/site.pp import "definitions/*.pp" import "modules/*.pp" import "nodes/pax/*.pp" #import "nodes/den/*.pp" # The filebucket option allows for file backups to the server filebucket { main: server => 'puppet' } # Set global defaults - including backing up all fil

[Puppet Users] Re: puppet dashboard gui looks odd from apache2

2010-08-21 Thread Rustler
This is what I have in my httpd.conf file and apache is running as the user puppet - LoadModule passenger_module /opt/passenger-2.2.15/ext/apache2/ mod_passenger.so PassengerRoot /opt/passenger-2.2.15 PassengerRuby /usr/bin/ruby PassengerHighPerformance on PassengerMaxPoolSize 20 PassengerPoolId

Re: [Puppet Users] Re: puppet dashboard gui looks odd from apache2

2010-08-21 Thread Patrick
On Aug 21, 2010, at 10:37 AM, Rustler wrote: > One thing I found when trying to get both working in apache is that > the passenger and rails setting in both files were stomping on each > other. > > Dashboard needed "RailsAutoDetect On" which was getting turned off by > the other vhost file. > >

[Puppet Users] Re: puppet dashboard gui looks odd from apache2

2010-08-21 Thread Rustler
One thing I found when trying to get both working in apache is that the passenger and rails setting in both files were stomping on each other. Dashboard needed "RailsAutoDetect On" which was getting turned off by the other vhost file. I deleted the settings from each vhost file and put one set in