[Puppet Users] ANNOUNCE: Puppet 2.6.3 - Release Candidate 1 available!

2010-10-13 Thread James Turnbull
All too quickly we're back with a maintenance release: 2.6.3. This release addresses some issues in the 2.6.2 release. 2.6.3 is a maintenance release in the 2.6.x branch and it contains only bug fixes and no new features or other changes. The release candidate is available for download at: http

Re: [Puppet Users] Puppetrun reports certificates were not trusted

2010-10-13 Thread Douglas Garstang
On Tue, Oct 12, 2010 at 10:32 AM, Christian < berwangerchrist...@googlemail.com> wrote: > Hi all, > > All my nodes are signed successfully with the puppetmaster. A manual > puppetd run works perfectly on every node. A report is generated for > each run in puppet-dashboard. > > All machines are cor

Re: [Puppet Users] variable modules per client

2010-10-13 Thread Nigel Kersten
On Wed, Oct 13, 2010 at 8:06 PM, Nigel Kersten wrote: > On Wed, Oct 13, 2010 at 10:56 AM, EAMiller wrote: >> Hi all - new to puppet - and have gotten as far as configuring a >> staging server with two of our web apps through puppet. >> >> Now we plan to have developer workstations get dev environ

Re: [Puppet Users] variable modules per client

2010-10-13 Thread Nigel Kersten
On Wed, Oct 13, 2010 at 10:56 AM, EAMiller wrote: > Hi all - new to puppet - and have gotten as far as configuring a > staging server with two of our web apps through puppet. > > Now we plan to have developer workstations get dev environments > through puppet. We have ~8 developers and ~5 web apps

Re: [Puppet Users] Puppet client log events, centralized?

2010-10-13 Thread Bruce Richardson
On Wed, Oct 13, 2010 at 04:09:34PM -0700, Forrie wrote: > I've noticed that events for puppet client are logged locally (I'm > just starting out with puppet). Is there a way to have these events > sent to a central parser so they might be easily parsed/sorted/acted- > upon? > > I probably missed

Re: [Puppet Users] Puppet client log events, centralized?

2010-10-13 Thread Scott Smith
Syslog server On Wed, Oct 13, 2010 at 4:09 PM, Forrie wrote: > I've noticed that events for puppet client are logged locally (I'm > just starting out with puppet). Is there a way to have these events > sent to a central parser so they might be easily parsed/sorted/acted- > upon? > > I probably

[Puppet Users] Puppet client log events, centralized?

2010-10-13 Thread Forrie
I've noticed that events for puppet client are logged locally (I'm just starting out with puppet). Is there a way to have these events sent to a central parser so they might be easily parsed/sorted/acted- upon? I probably missed a configuration directive. Thanks. -- You received this message

Re: [Puppet Users] Exec in 2.6 and environment variables

2010-10-13 Thread Carl.caum
Well yes, that's true. But I wanted to use an example variable that I knew all systems would have. On Oct 13, 2010, at 5:16 PM, Patrick wrote: > > On Oct 13, 2010, at 2:16 PM, Carl Caum wrote: > >> Hello everyone. I'm running in to trouble setting/changing environment >> variables for exec

Re: [Puppet Users] Exec in 2.6 and environment variables

2010-10-13 Thread Patrick
On Oct 13, 2010, at 2:16 PM, Carl Caum wrote: > Hello everyone. I'm running in to trouble setting/changing environment > variables for exec resources in 2.6.2. If the environment variable exists > before I try to run the command, puppet can't seem to change it. For example, > > exec {"foo": >

Re: [Puppet Users] Variable of define is used more than once

2010-10-13 Thread Dennis Hoppe
Hello Bruce, Am 13.10.2010 23:14, schrieb Bruce Richardson: > On Wed, Oct 13, 2010 at 09:20:18PM +0200, Dennis Hoppe wrote: >>> This is almost certainly because of where you have included the monit >>> class, which is not visible in the modules you have attached here. I >>> could speculate about

Re: [Puppet Users] Variable of define is used more than once

2010-10-13 Thread Bruce Richardson
On Wed, Oct 13, 2010 at 09:20:18PM +0200, Dennis Hoppe wrote: > > This is almost certainly because of where you have included the monit > > class, which is not visible in the modules you have attached here. I > > could speculate about that, but I don't know how you've written the rest > > of your

[Puppet Users] Exec in 2.6 and environment variables

2010-10-13 Thread Carl Caum
Hello everyone. I'm running in to trouble setting/changing environment variables for exec resources in 2.6.2. If the environment variable exists before I try to run the command, puppet can't seem to change it. For example, exec {"foo": environment => "PATH=/blah", command => "/bin/ba

Re: [Puppet Users] Variable of define is used more than once

2010-10-13 Thread Dennis Hoppe
Hello Bruce, Am 13.10.2010 19:36, schrieb Bruce Richardson: > On Wed, Oct 13, 2010 at 07:05:29PM +0200, Dennis Hoppe wrote: >> >> node "rumpel" inherits "default" { >> include apticron >> include ldap::slave >> include metche >> include puppet::master >> include rsyslog::m

[Puppet Users] Re: ANNOUNCE: Puppet Dashboard 1.0.4 Release Candidate 2!

2010-10-13 Thread binaryred
I've found that version 1.0.4rc2 has a much quicker response on the web interface than even the 1.0.4rc1 version. This is great news, as I find that this was the biggest drawback to using this tool. I also appreciate the rpm packages for RHEL4 and 5. One more step to making my life easier! Grea

Re: [Puppet Users] Problems with Solaris 10 & adduser

2010-10-13 Thread Bruce Richardson
On Tue, Oct 12, 2010 at 07:59:40AM -0700, nickt wrote: > > err: /Stage[main]/User::Virtual/User[user1]/ensure: change from absent > to present failed: Could not create user user1: Execution of '/usr/ > sbin/useradd -s /bin/bash -c "Full Name" -d /u/user1 -m user1 returned > 1:" What happens if yo

Re: [Puppet Users] err: Could not retrieve catalog: Could not parse for environment production: Could not find file /etc/puppet/manifests/site.pp warning: Not using cache on failed catalog

2010-10-13 Thread Patrick
On Oct 12, 2010, at 2:04 AM, spacelee wrote: > I change my ubuntu to mac os, and rsync my puppet file to the puppet > server. I run puppetd -tv in the client, and then this error happens > puppetd -tv > err: Could not retrieve catalog: Could not parse for environment > production: Could not find

[Puppet Users] Re: ANNOUNCE: Puppet Dashboard 1.0.4 Release Candidate 2!

2010-10-13 Thread Igal Koshevoy
The Puppet Labs development team would really appreciate your feedback on Puppet Dashboard v1.0.4rc2, described below. Please try it out and report your experiences, even if it's just, "It works great!" Puppet Dashboard 1.0.4 is a big step forward in improving the application's reliability, user i

[Puppet Users] variable modules per client

2010-10-13 Thread EAMiller
Hi all - new to puppet - and have gotten as far as configuring a staging server with two of our web apps through puppet. Now we plan to have developer workstations get dev environments through puppet. We have ~8 developers and ~5 web apps we develop. Not every developer works on every project. >F

[Puppet Users] err: Could not retrieve catalog: Could not parse for environment production: Could not find file /etc/puppet/manifests/site.pp warning: Not using cache on failed catalog

2010-10-13 Thread spacelee
I change my ubuntu to mac os, and rsync my puppet file to the puppet server. I run puppetd -tv in the client, and then this error happens puppetd -tv err: Could not retrieve catalog: Could not parse for environment production: Could not find file /etc/puppet/manifests/site.pp warning: Not using cac

[Puppet Users] Problems with Solaris 10 & adduser

2010-10-13 Thread nickt
I maybe be something stupid (just starting to learn Puppet :), but I'm getting problems trying to create new users. I just have a really simple /etc/puppet/modules/user/virtual.pp that looks like this: class user::virtual { @user { "user1": ensure => "present", comment => "\"Full Name\

Re: [Puppet Users] Variable of define is used more than once

2010-10-13 Thread Bruce Richardson
On Wed, Oct 13, 2010 at 07:05:29PM +0200, Dennis Hoppe wrote: > > node "rumpel" inherits "default" { > include apticron > include ldap::slave > include metche > include puppet::master > include rsyslog::master > } > > node "samson" inherits "default" { > includ

[Puppet Users] Training in Sydney and London

2010-10-13 Thread James Turnbull
Hi all Just to let you all know we're running some new user training. Including, for the very first time, Puppet Labs down under! We'll be training in Sydney from Tuesday, November 09, 2010 to Thursday, November 11, 2010 at North Ryde - see http://puppetlabs-sydney-nov10.eventbrite.com/ An

Re: [Puppet Users] Variable of define is used more than once

2010-10-13 Thread Dennis Hoppe
Hello Nigel, Am 13.10.2010 18:26, schrieb Nigel Kersten: > ... > Can you post the actual error messages you're getting? Is there any > chance you can isolate the problem such that we have a bit less to > trawl through? actually there is no real error message. It is more about the behavior of the

Re: [Puppet Users] Variable of define is used more than once

2010-10-13 Thread Nigel Kersten
On Wed, Oct 13, 2010 at 9:01 AM, Nigel Kersten wrote: > On Wed, Oct 13, 2010 at 8:54 AM, Dennis Hoppe > wrote: >> Hello Felix, >> >> Am 13.10.2010 16:43, schrieb Felix Frank: >>> On 10/13/2010 04:37 PM, Disconnect wrote:    - lenny (stable) (admin):

[Puppet Users] "No source module metadata found"??

2010-10-13 Thread Jon Charette
Trying to debug something simple that I'm sure I'm just missing. I create a module, mysql. Code is at http://www.pastie.org/1218470 I try to apply it and I get the following error: err: No source module metadata provided for mysql Server is 2.6.2, client is 2.6.1. Ideas? -- You received thi

Re: [Puppet Users] Variable of define is used more than once

2010-10-13 Thread Nigel Kersten
On Wed, Oct 13, 2010 at 8:54 AM, Dennis Hoppe wrote: > Hello Felix, > > Am 13.10.2010 16:43, schrieb Felix Frank: >> On 10/13/2010 04:37 PM, Disconnect wrote: >>>    - lenny (stable) (admin): >>>    centralised configuration management for networks >>>    

Re: [Puppet Users] Variable of define is used more than once

2010-10-13 Thread Dennis Hoppe
Hello Felix, Am 13.10.2010 16:43, schrieb Felix Frank: > On 10/13/2010 04:37 PM, Disconnect wrote: >>- lenny (stable) (admin): >>centralised configuration management for networks >>0.24.5-3: all >>- lenny-backports >>

Re: [Puppet Users] Variable of define is used more than once

2010-10-13 Thread Patrick
On Oct 13, 2010, at 8:44 AM, Stu Teasdale wrote: > On Wed, Oct 13, 2010 at 10:37:03AM -0400, Disconnect wrote: >> - lenny (stable) (admin): >> centralised configuration management for networks >> 0.24.5-3: all >> - lenny-backports >>

Re: [Puppet Users] Variable of define is used more than once

2010-10-13 Thread Stu Teasdale
On Wed, Oct 13, 2010 at 10:37:03AM -0400, Disconnect wrote: >- lenny (stable) (admin): >centralised configuration management for networks >0.24.5-3: all >- lenny-backports > (admin): > centr

Re: [Puppet Users] Variable of define is used more than once

2010-10-13 Thread Nigel Kersten
On Wed, Oct 13, 2010 at 7:43 AM, Felix Frank wrote: > On 10/13/2010 04:37 PM, Disconnect wrote: >>    - lenny (stable) (admin): >>    centralised configuration management for networks >>    0.24.5-3: all >>    - lenny-backports >>

Re: [Puppet Users] modifiying facts that facter collects

2010-10-13 Thread David Grundy
Thanks Patrick. Almost immediately after sending this post I came across this http://projects.puppetlabs.com/projects/1/wiki/Adding_Facts Just what I was looking for. Cheers, David On Tue, Oct 12, 2010 at 5:49 PM, Patrick wrote: > The phrase you're looking for to add facts to a single mach

[Puppet Users] Re: Puppet and Augeas

2010-10-13 Thread Kikanny
Yeah. Was just wondering if there was a better way. Thanks though! On Oct 13, 11:06 am, Patrick wrote: > There isn't an easy way that I know of without writing your own puppet > runner.  I only know of this being an issue with Augeas and Mysql though.   > Why not just install libaugeas-ruby (or

Re: [Puppet Users] Variable of define is used more than once

2010-10-13 Thread Bruce Richardson
On Wed, Oct 13, 2010 at 11:07:27AM -0400, Disconnect wrote: > > Note that I didn't reply to the OP, I replied to Nigel's sarcasm. > You could take this up with one of the Debian puppet package maintainers. Oh, but then you already have... -- Bruce I unfortunately do not know how to turn chee

Re: [Puppet Users] Variable of define is used more than once

2010-10-13 Thread Disconnect
Sure, Debian stable -is- stable, and there is a lot to be said for that. (Ditto for Ubuntu LTS.) The statement was (somewhat rudely) "they aren't outdated, go here and see". 2+ years counts as "outdated". Last-major-version and most of a year old is "outdated". Note that I didn't reply to the OP,

Re: [Puppet Users] Re: Puppet and Augeas

2010-10-13 Thread Patrick
There isn't an easy way that I know of without writing your own puppet runner. I only know of this being an issue with Augeas and Mysql though. Why not just install libaugeas-ruby (or whatever it's called) when you install puppet? On Oct 13, 2010, at 6:58 AM, Kikanny wrote: > Is it possible f

Re: [Puppet Users] Variable of define is used more than once

2010-10-13 Thread Felix Frank
On 10/13/2010 04:37 PM, Disconnect wrote: >- lenny (stable) (admin): >centralised configuration management for networks >0.24.5-3: all >- lenny-backports > (admin): > centralised configurati

Re: [Puppet Users] Variable of define is used more than once

2010-10-13 Thread Disconnect
- lenny (stable) (admin): centralised configuration management for networks 0.24.5-3: all - lenny-backports (admin): centralised configuration management for networks 0.25.4-2~bpo50+1 [*backp

Re: [Puppet Users] Variable of define is used more than once

2010-10-13 Thread Nigel Kersten
On Wed, Oct 13, 2010 at 12:31 AM, Dennis Hoppe wrote: > Hello, > > i am using "puppet 0.25.4" at "debian 5.0.6" and have noticed, that the > "puppet" or "puppetmaster" process sometimes is dying. Of course i could > use the "cron" instead of the "deamon", but i have decided to write a > module for

[Puppet Users] Re: Puppet and Augeas

2010-10-13 Thread Kikanny
Is it possible for Puppet to make those two runs automatically back to back? For example, the first run does modules A and B. The second run includes module C right after the first run is completed. I hope that made sense! On Oct 13, 9:52 am, Felix Frank wrote: > On 10/13/2010 03:48 PM, Kikanny w

Re: [Puppet Users] Puppet and Augeas

2010-10-13 Thread Felix Frank
On 10/13/2010 03:48 PM, Kikanny wrote: > Hi. Is there any way to make puppet run a particular module first > before another module is run. For example, I'm using the augeas > resource type in one of the modules. But libaugeas-ruby1.8 is not > installed in the client machine. So when the catalog is

[Puppet Users] Puppet and Augeas

2010-10-13 Thread Kikanny
Hi. Is there any way to make puppet run a particular module first before another module is run. For example, I'm using the augeas resource type in one of the modules. But libaugeas-ruby1.8 is not installed in the client machine. So when the catalog is run, I get the following error: Could not find

Re: [Puppet Users] [0.25.5] Default provider

2010-10-13 Thread Stefan Goethals
A few things. David Schmitt has made mysql modules. http://forge.puppetlabs.com/DavidSchmitt/mysql maybe you can take a look at them. Even with his modules i get the same error when configuring a new node. The problem i saw is that the mysql plugins are synced at the beginning of a run with plug

Re: [Puppet Users] Re: [0.25.5] Default provider

2010-10-13 Thread Patrick
Yes. Check if it's a client or server error. Try On Oct 13, 2010, at 1:39 AM, Tim Stoop wrote: > Hi Patrick, > > On Oct 12, 10:34 pm, Patrick wrote: >> I think this means the plugin(the .rb files) are getting found or aren't all >> getting found. What's the complete local path to mysql_dat

[Puppet Users] Re: [0.25.5] Default provider

2010-10-13 Thread Tim Stoop
Hi Patrick, On Oct 12, 10:34 pm, Patrick wrote: > I think this means the plugin(the .rb files) are getting found or aren't all > getting found.  What's the complete local path to mysql_database.rb? > > Mine would be in: > /etc/puppet/modules/whatever/lib/puppet/type/mysql_database.rb > /etc/pupp

[Puppet Users] Variable of define is used more than once

2010-10-13 Thread Dennis Hoppe
Hello, i am using "puppet 0.25.4" at "debian 5.0.6" and have noticed, that the "puppet" or "puppetmaster" process sometimes is dying. Of course i could use the "cron" instead of the "deamon", but i have decided to write a module for "monit". To make this module much dynamic as possible, it is usi