Re: [Puppet Users] Puppet environment can't be used in extlookup (precedence)

2011-04-22 Thread Marcello de Sousa
This is bugging me for a couple of days now as I don't seem to find a reasonable explanation for the different behavior on the 2 puppet variables. Not sure if it's a puppet issue or an extlookup issue (or maybe my own issue). Help ? :) On Wed, Apr 20, 2011 at 12:25 AM, Marcello de Sousa wrote: >

Re: [Puppet Users] Puppet environment can't be used in extlookup (precedence)

2011-04-22 Thread R.I.Pienaar
- Original Message - > This is bugging me for a couple of days now as I don't seem to find a > reasonable explanation for the different behavior on the 2 puppet > variables. Not sure if it's a puppet issue or an extlookup issue (or > maybe my own issue). your example looks fine, and it w

Re: [Puppet Users] Puppet environment can't be used in extlookup (precedence)

2011-04-22 Thread Marcello de Sousa
Tested with 2.6.7-1 I'll try to reproduce it with 2.6.6 On Fri, Apr 22, 2011 at 12:22 PM, R.I.Pienaar wrote: > > > - Original Message - >> This is bugging me for a couple of days now as I don't seem to find a >> reasonable explanation for the different behavior on the 2 puppet >> variabl

Re: [Puppet Users] Default parameters for classes with parameters

2011-04-22 Thread Oliver Schad
Am Thursday 21 April 2011 schrieb mir Martin Alfke: > On Apr 21, 2011, at 10:58 AM, Oliver Schad wrote: > > Inside I use a template which shows me "undef" as value for the > > parameters above. If I define the same parameters inside the class, > > it works. > > How do you use your parameterized cl

Re: [Puppet Users] Default parameters for classes with parameters

2011-04-22 Thread Nan Liu
On Fri, Apr 22, 2011 at 8:26 AM, Oliver Schad wrote: > Am Thursday 21 April 2011 schrieb mir Martin Alfke: >> On Apr 21, 2011, at 10:58 AM, Oliver Schad wrote: >> > Inside I use a template which shows me "undef" as value for the >> > parameters above. If I define the same parameters inside the cla

[Puppet Users] Classes not imported on a directory with the same module name.

2011-04-22 Thread Tony G.
Hi all, Found a situation on which all classes inside a directory are ignored, this when the directory name is the same as a module name. err: Could not retrieve catalog from remote server: Error 400 on SERVER: Could not find class bar at /opt/puppet/test/nodes/gnucloud.tonyskapunk.net.pp:2 on no

[Puppet Users] Re: ssh_authorized_key fails when home directory doesn't exist

2011-04-22 Thread Corey Osman
Yes but if I am understanding you correctly I can't just let puppet own the required resources. The directories are created automatically via PAM config upon initial login. I can't define a user type or a file type as I don't know the UID. ssh_authorized_key{ "billys key": en

[Puppet Users] Re: ssh_authorized_key fails when home directory doesn't exist

2011-04-22 Thread Corey Osman
For anybody interested I found a feature request already created. Please vote on it and make it visable for Puppetlabs to include in the next release. http://projects.puppetlabs.com/issues/651 On Apr 22, 10:50 am, Corey Osman wrote: > Yes but if I am understanding you correctly I can't just

[Puppet Users] Re: how to catch errors

2011-04-22 Thread Cody Robertson
You might want to look into tagmail which can mail all errors to you (amongst other things). Alternatively there are dashboards you can use which prettify things quite a bit (puppet-dashboard, Foreman). It might be worth noting that at least Foreman supports tagmail type functionality - I'm not

[Puppet Users] scheduling package installs - ignore schedule if not installed

2011-04-22 Thread trey85stang
Is there a way to override a schedule for a package if the package is not installed? class packages { schedule { installs: range => "2-4", period => daily, repeat => 1, } package { openssh: ensure => latest, schedule => installs, } } I dont want to check if opens

[Puppet Users] Re: [Puppet-dev] Re: Distributed Puppet Architecture and Management

2011-04-22 Thread Daniel Pittman
So, we have plans to be smarter about cross-machine dependencies, and about managing the network rather than just the nodes. Part of that comes from the MCollective system, which is all over "network". What I don't have is a timeline for you: today we don't have that around, other than the MColle

Re: [Puppet Users] scheduling package installs - ignore schedule if not installed

2011-04-22 Thread Steven Acres
On Fri, Apr 22, 2011 at 2:34 PM, trey85stang wrote: > Is there a way to override a schedule for a package if the package is > not installed? > > class packages { > schedule { installs: >range => "2-4", >period => daily, >repeat => 1, > } > package { openssh: >ensure => la

Re: [Puppet Users] How to use Puppet to ensure the Sun JDK is installed on CentOS-5.5

2011-04-22 Thread Bill Weiss
On 2011/4/12 2:55 PM, "Shi" wrote: >Hi there, > >I am new to Puppet and am writing my first module to manage our >cluster. So far, it worked out reasonably well. I can add yum >repositories and install packages with Puppet automatically. >However, one package requires the use of Sun JDK, not the

[Puppet Users] SEC State and Dashboard

2011-04-22 Thread Glenn Buckholz
I was wondering if anyone has, or is aware of puppet dashboard integration with secstate (https://fedorahosted.org/secstate/) . A use case would be, I run a compliance report in secstate, it shows up on the puppet dashboard and allows me to see where I'm out of compliance and where I can remediati

[Puppet Users] binary transfers using REST?

2011-04-22 Thread RCosma
Hello Puppet users, Does anyone know if there is some hook into the REST HTTPS API to get/ send binary data in a YAML-compatible format? According to the spec, that would mean packing the file as a base64 string: http://yaml.org/type/binary.html Right now, it packs the file as a wasteful Unicode

[Puppet Users] Distributed Puppet Architecture and Management

2011-04-22 Thread Arm Adam
Posting here as well as on the developers group (they suggested that I repost here). How does puppet kick work in a scenario where a puppet master is managing puppet masters who manage puppet masters who manage agents? Do I have to kick from the immediate Master of the agent I want to kick? Do I

[Puppet Users] Re: [PATCH/puppet 1/1] (#5528) Add REST API for signing, revoking, retrieving, cleaning certs

2011-04-22 Thread Max Martin
Hi Arm, It sounds like the problem here is that your puppet agents are running as daemons, and kicking them isn't causing them to check for a signed cert. I would suggest that you run your agents using --no-daemonize, and set up a cron schedule for them to check in with the master, which will caus

[Puppet Users] NetBSD and user provider

2011-04-22 Thread Ed Ravin
I'm trying to get Puppet 2.6.7 working on NetBSD 5. It looks like there hasn't been much progress with Puppet on the NetBSD platform - the pkgsrc version is still at 0.25.5. The main problem I'm having is with puppetmasterd. When I try to start it, it complains: # puppetmasterd Could not prepar