Re: [Puppet Users] Collecting _all_ ssh keys

2010-07-27 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hi, Am Di den 27. Jul 2010 um 2:54 schrieb Jeff McCune: > > However, it doesn't matter for this particular problem as it doesn't > > work either. > Hrm... Could you be more specific about what's not working? The two > resources I posted should ma

[Puppet Users] Re: 0.25.4 caching problem with custom function

2010-07-27 Thread Monachus
On Jul 27, 8:40 am, Tore wrote: > Could it be that when you change "nagios_name.rb" file on > pupptermaster A, there is an event triggered so that Apache reloads > this file? But since this event isn't passed over to nfs in any way, > this doesn't happend to puppetmaster B? NFS caching was one of

[Puppet Users] User/Password management in 2.6

2010-07-27 Thread Christian Casar
Hey there, I recently updated to 2.6. Part of puppet's assignment is to manage users and their passwords. Since the update every puppetrun reports that passwords for every user were created although they've already been set in previous runs. debug: User[root](provider=useradd): Executing '/usr/sbi

[Puppet Users] Re: Bootstrapping Puppet on Mac OS X

2010-07-27 Thread Trevor Menagh
On Jul 25, 10:56 pm, Nigel Kersten wrote: > "open" isn't the best way in the world to install packages in OS X. > installer -pkg facter-1.5.7.pkg -target / > does a proper command line based install. Thanks for the tip. I'll use that from now on. > I'd suggest getting a bug report in about mkuse

[Puppet Users] Re: rollback from 2.6...

2010-07-27 Thread CraftyTech
For me, it broke my HTTP/SSL config, thus damaging my Apache/Passenger config. Also, some(or most?) of the settings that you use on puppet.conf are deprecated, and you'll have to start using the new settings/variables. IF you're an experienced puppet user, I'm sure you'll be fine, but since I'm n

[Puppet Users] storeconfigs stores wrong fact value in facts_values table

2010-07-27 Thread Jonathon Anderson
Sometimes (with variable frequency) storeconfigs stores the wrong data in the fact_values table. This has the end result that exported resources, when collected, have invalid configuration. The most recent example: the "hostname" fact for one of our nodes got, in stead, the value that should have

Re: [Puppet Users] Re: Struggling with syntax

2010-07-27 Thread David Schmitt
+1, although it just works for the source parameter. On 7/26/2010 5:57 PM, Andrew Forgue wrote: On Jul 26, 12:20 am, David Schmitt wrote: Write instead: file { "audit.rules": owner =>"root", group =>"root", mode =>"60

Re: [Puppet Users] Re: Can't get simplest client / server connection to work still

2010-07-27 Thread David Dyer-Bennet
On Mon, July 26, 2010 18:27, DaveQB wrote: > Try messing with the: > certname= > > value in the > > [puppetd] > > Stanza. > > Other than that, there is a way to see what the name on the cert is. I > have used that but can't recall the openssl command for that. Search > for it. Ah, that's useful,

[Puppet Users] Re: Foreman / External Nodes -- Node Not found

2010-07-27 Thread CraftyTech
So this is where I'm at now: Step 3) >From Server: RAILS_ENV=production rake db:migrate; RAILS_ENV=production rake puppet:import:hosts_and_facts; rake puppet:import:puppet_classes -- trace RAILS_ENV=production from client's command line: Step 2) curl -k https://server/node/client.dev.domain.com?

[Puppet Users] Catching failure with templates

2010-07-27 Thread Rob McBroom
So, I’m using templates for the first time and I wanted to test the case where the values used by the template don’t exist. I get an error like this: err: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed to parse template slapd_replication.erb: Could not find value

Re: [Puppet Users] User/Password management in 2.6

2010-07-27 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > I don't know if it's default behaviour since 2.6 but in 0.25.4 > passwords were only created once. > Is this worth a bug report or just a problem with my manifest? If you can replicate it with that simple manifest, it's definitely a bug. cheers pet

[Puppet Users] Re: Foreman / External Nodes -- Node Not found

2010-07-27 Thread CraftyTech
Update: It looks like the culprit is the external node classifier: This is the error from the server: err: Could not find node 'client.dev.domain.com'; cannot compile err: Failed to find client.dev.domain.com via exec: Execution of '/etc/ puppet/external_node.rb client.dev.domain.com' returne

[Puppet Users] Re: Bootstrapping Puppet on Mac OS X

2010-07-27 Thread Trevor Menagh
On Jul 27, 8:51 am, Trevor Menagh wrote: > > I'd suggest getting a bug report in about mkusers on OS X, or chiming > > in on an existing one, as this has confused a lot of people, and we > > can do better. > > Good call, I will submit one today. Submitted: http://projects.puppetlabs.com/issues/43

[Puppet Users] Re: Bootstrapping Puppet on Mac OS X

2010-07-27 Thread Trevor Menagh
On Jul 27, 8:51 am, Trevor Menagh wrote: > > I'd suggest getting a bug report in about mkusers on OS X, or chiming > > in on an existing one, as this has confused a lot of people, and we > > can do better. > > Good call, I will submit one today. Submitted: http://projects.puppetlabs.com/issues/43

[Puppet Users] Augeas working inconsistently

2010-07-27 Thread Rob McBroom
I’ve got this define. define sudoentry ($user, $host = "ALL", $command = "ALL", $tag = false, $runas = "ALL") { $sudo_changes = $tag ? { false => [ "set spec[user = '$user']/user $user", "set spec[user = '$user']/host_group/host $host", "set spec[us

[Puppet Users] Re: Struggling with syntax

2010-07-27 Thread Erinn Looney-Triggs
An option I like is a source like this: source => "puppet://$servername/modules/audit/$architecture/ audit.rules" Place your audit.rules in x86_64 and whatever 32-bit is (sorry don't have any of those). -Erinn On Jul 27, 8:32 am, David Schmitt wrote: > +1, although it just works for the source

[Puppet Users] Help with setting facts for MySQL replication

2010-07-27 Thread Matthew Macdonald-Wallace
Hi all, I'm trying to work on a solution to setting up mysql in a semi-automated fashion using facts to populate a puppet template. I'm using Cobbler as my build system and I was hoping to pass the values needed for replicate_do_db and server_id as ksmeta information, however it's looking increas

Re: [Puppet Users] Re: Management of MySQL grant tables?

2010-07-27 Thread Christopher Johnston
David, Curious on how you handle doing a grant of *.* (all attributes) I looked through your puppet type and I see you are individually listing every type out but you are missing event_priv and trigger_priv as grant types. -Chris On Mon, Jun 21, 2010 at 11:51 AM, David Schmitt wrote: > On 5/19

[Puppet Users] manage_internal_file_permissions, /etc/sysconfig, and/or command line startup...

2010-07-27 Thread Tom
Okay, maybe I'm being dense...but I'm missing something here. First off, using puppet 2.6 on centos 5.5. I want to store /etc/puppet and /var/lib/puppet elsewhere...but have symbolic links for /etc/puppet and /var/lib/puppet that point to the actual directories. Puppet obviously rewrites those s

Re: [Puppet Users] Nagios allowed hosts, how would you do it?

2010-07-27 Thread Gabriel Filion
On 20/07/10 08:06 AM, Tore wrote: > Hi, > > We currently have a module `nagios` which install nrpe and nagios > plugins for all nodes. The default node have this module included. > > Currently we have a customer who wants to monitor their own services. > We will still monitor them, but they want

[Puppet Users] New To Puppet - Two Questions

2010-07-27 Thread krisread
New to Puppet, heard about it for the first time at OSCON. Two quick questions: 1. Is there a web interface? This is really key to our company since we have some dev/ops people but also some customer service people (not command-line savvy) who need to do things. 2. Does it just manage server

Re: [Puppet Users] New To Puppet - Two Questions

2010-07-27 Thread Dan Bode
On Tue, Jul 27, 2010 at 4:42 PM, krisread wrote: > New to Puppet, heard about it for the first time at OSCON. > > Two quick questions: > > 1. Is there a web interface? This is really key to our company > since we have some dev/ops people but also some customer service > people (not command-lin

Re: [Puppet Users] New To Puppet - Two Questions

2010-07-27 Thread Carla Araujo
Hello Krisread! On Tue, Jul 27, 2010 at 20:42, krisread wrote: > could I write custom > extensions or modules to do things like list all of our customers who > have accounts on a server, add/remove customers from our database, > enable/disable logins to our web app, etc? > You can write your c

[Puppet Users] Conary support

2010-07-27 Thread Yushu Yao
Hi Users, Does anyone happen to have a conary backend of puppet? (Conary is the RPM equivalent in rPath-generated systems). rPath claim of supporting puppet back in March, but they went silent after that. Thanks a lot! -Yushu +-+ | Yushu Yao | P

Re: [Puppet Users] Re: Management of MySQL grant tables?

2010-07-27 Thread David Schmitt
On 7/28/2010 12:41 AM, Christopher Johnston wrote: David, Curious on how you handle doing a grant of *.* (all attributes) I looked through your puppet type and I see you are individually listing every type out but you are missing event_priv and trigger_priv as grant types. I haven't worked on