Re: [Puppet Users] Living with Puppet...

2010-02-09 Thread Scott Smith
On 2/9/10 9:57 AM, Michael DeHaan wrote: If there is such a percieved lack of interest, this is something I would like to rectify. (Also don't miscontrue an inability to implement RFEs with a lack of interest... the phrase "patches accepted" is often thrown around but exists for a reason, rig

[Puppet Users] Israeli Puppet meetup?

2010-02-09 Thread Ohad Levy
Hey Guys, Wondering if anyone here is from Israel, I'll be visiting Israel next week and would love to have a good puppet talk cheers, Ohad -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googl

[Puppet Users] ssh_authorized_key creating multiple entries on repeated runs

2010-02-09 Thread Simon Chiu
Hello, Newbie here. Question regarding the reference type "ssh_authorized_key". Is this part of the designed behaviour? I have: ssh_authorized_key { "someuser": ensure => present, key => "", type => "ssh-rsa", user => "someuser" } It keeps appending to /home/someuser/.ssh/authorized

Re: [Puppet Users] dashboard, foreman etc (was: Living with Puppet...)

2010-02-09 Thread Michael DeHaan
Ohad Levy wrote: Hi All, I'm sorry if I offended anyone by saying that Foreman solves all of puppet problems, I mainly meant that there are areas which puppet simply doesn't deal with, but we as sysadmins need to. My goal with Foreman is to make our life easier, Foreman would be extremely d

[Puppet Users] dashboard, foreman etc (was: Living with Puppet...)

2010-02-09 Thread Ohad Levy
Hi All, I'm sorry if I offended anyone by saying that Foreman solves all of puppet problems, I mainly meant that there are areas which puppet simply doesn't deal with, but we as sysadmins need to. My goal with Foreman is to make our life easier, Foreman would be extremely difficult to made if Pup

Re: [Puppet Users] Puppet 0.25.4 and Facter 1.5.7 debs available in debian unstable.

2010-02-09 Thread Joe McDonagh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nigel Kersten wrote: > packages.debian.org is lagging in terms of what it's showing, but > > $ rmadison -u debian {puppet,facter} | grep unstable > puppet | 0.25.4-1 | unstable | source, all > facter |1.5.7-1 | unstable | s

[Puppet Users] Puppet 0.25.4 and Facter 1.5.7 debs available in debian unstable.

2010-02-09 Thread Nigel Kersten
packages.debian.org is lagging in terms of what it's showing, but $ rmadison -u debian {puppet,facter} | grep unstable puppet | 0.25.4-1 | unstable | source, all facter |1.5.7-1 | unstable | source, all they're both up there now. -- nigel -- You received this messag

Re: [Puppet Users] Only send report email if resource failed during run

2010-02-09 Thread Joe McDonagh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ohad Levy wrote: > Hi, > > Latest version of foreman (http://theforeman.org) supports this feature. > > cheers, > Ohad > > On Tue, Feb 9, 2010 at 9:00 PM, symfrog wrote: > >> Hi >> >> I have configured puppet to send reports via email using tagsma

Re: [Puppet-dev] Re: [Puppet Users] Plugins in modules with environments and the puppetmaster libdir

2010-02-09 Thread Luke Kanies
On Feb 9, 2010, at 6:55 AM, Nigel Kersten wrote: On Mon, Feb 8, 2010 at 2:45 PM, Luke Kanies wrote: On Feb 5, 2010, at 8:47 AM, Nigel Kersten wrote: On Fri, Feb 5, 2010 at 3:29 AM, Thomas Bellman wrote: Nigel Kersten wrote: So facter plugins are kind of different, as they're not actu

Re: [Puppet Users] Making the new users experience easier

2010-02-09 Thread Bruce Williams
On Feb 9, 2010, at 2:28 PM, Michael DeHaan wrote: This sounds great, but please keep feedback going through tickets. Totally, I'll file tickets for any comments we recieve.There's sometimes a bit of a barrier to people opening a ticket (might not have an account, etc). Obviously if

Re: [Puppet Users] Living with Puppet...

2010-02-09 Thread Luke Kanies
On Feb 9, 2010, at 9:25 AM, Michael DeHaan wrote: I've written an application, which aims to solve all of the missing peaces around puppet - http://theforeman.org Ohad, as you've said "I've written an application, which aims to solve all of the missing peaces around puppet". Obviously you'

Re: [Puppet Users] Making the new users experience easier

2010-02-09 Thread Michael DeHaan
On Fri, Feb 5, 2010 at 4:53 AM, Dick Davies wrote: > On Tue, Feb 2, 2010 at 5:08 PM, Michael DeHaan > wrote: > >> With Puppet, if you're just learning it, what were some of your stumbling >> blocks?   If you are an existing user, think back to that time, or times >> when you were talking with new

Re: [Puppet Users] Making the new users experience easier

2010-02-09 Thread Michael DeHaan
> > While getting started I had some problems. > > 1) I couldn't find a simple skeleton puppet configuration.  I tried the > tutorial, but there's lots of things that can go wrong, and figuring out > what's wrong can be be a pain if you don't know what you're doing.  A > sample.tar.gz that has a

Re: [Puppet Users] Making the new users experience easier

2010-02-09 Thread Michael DeHaan
> This sounds great, but please keep feedback going through tickets. > Totally, I'll file tickets for any comments we recieve.There's sometimes a bit of a barrier to people opening a ticket (might not have an account, etc). Obviously if folks can file tickets directly that's better :) --Mich

Re: [Puppet Users] Making the new users experience easier

2010-02-09 Thread Bruce Williams
On Feb 9, 2010, at 10:40 AM, Michael DeHaan wrote: On Tue, Feb 9, 2010 at 11:15 AM, Nigel Kersten wrote: I honestly think the most important thing for new users is to clean up the documentation. Not a lot of the existing docs on the wiki read as being particularly authoritative. They'

Re: [Puppet Users] Puppet and Drupal

2010-02-09 Thread John Arundel
On Tue, Feb 9, 2010 at 7:58 PM, Eric Gerlach wrote: > One thing we did which we like is that we set up a git repository for our > themes.  The theme designer can check into the development or production > branches of that repo, and the appropriate server will pull down the changes. Coincidence -

Re: [Puppet Users] Puppet and Drupal

2010-02-09 Thread Eric Gerlach
On Mon, Feb 08, 2010 at 03:35:18PM +, John Arundel wrote: > Hi, > > Unlike a lot of CMSes out there, Drupal has an excellent automation > tool in the form of Drush. With a bit of Puppet magic, you can > automate most of the common tasks and components in building a Drupal > site (or managing a

Re: [Puppet Users] Living with Puppet...

2010-02-09 Thread Nate Childers
On Tue, Feb 9, 2010 at 12:39 PM, R.I.Pienaar wrote: > hello, > > - "Michael DeHaan" wrote: > >> >> Ohad, as you've said "I've written an application, which aims to >> solve all of the missing peaces around puppet".   Obviously you've done a >> lot of work here, but I need to communicate somet

[Puppet Users] Re: How to disable file checksums?

2010-02-09 Thread Tim Stoop
Hi Dan, On 9 feb, 17:40, Dan Bode wrote: > I am still missing the exact use case for this though. I made a ticket out of it, #3170. If I have something like: file { "/tmp": mode => 1777 } Every puppetd run gives me something like: notice: //kbp_debian/File[/tmp]/checksum: checksum changed '{m

Re: [Puppet Users] Living with Puppet...

2010-02-09 Thread Joe McDonagh
R.I.Pienaar wrote: hello, - "Michael DeHaan" wrote: I've written an application, which aims to solve all of the missing peaces around puppet - http://theforeman.org Ohad, as you've said "I've written an application, which aims to solve all of the missing peaces ar

Re: [Puppet Users] Making the new users experience easier

2010-02-09 Thread Michael DeHaan
On Tue, Feb 9, 2010 at 11:15 AM, Nigel Kersten wrote: > I honestly think the most important thing for new users is to clean up the > documentation. > Not a lot of the existing docs on the wiki read as being particularly > authoritative. They're full of lines like: > "Exporting and collecting resou

Re: [Puppet Users] Re: error on puppet 25.4 with passenger 2.2.2

2010-02-09 Thread Isaac Christoffersen
Aha! Fixes my problem too. I knew if I procrastinated enough someone would find an answer. :-) On Tue, Feb 9, 2010 at 2:54 AM, Christophe Bonnaud wrote: > On Feb 9, 9:50 am, Eric Sorenson wrote: >> On Feb 8, 2010, at 4:20 PM, Christophe Bonnaud wrote: >> >> >> >> >> >> >> I've seen the same t

Re: [Puppet Users] Living with Puppet...

2010-02-09 Thread Michael DeHaan
On Tue, Feb 9, 2010 at 1:04 PM, Paul Nasrat wrote: > On 9 February 2010 17:53, Michael DeHaan wrote: >> On Tue, Feb 9, 2010 at 12:47 PM, Paul Nasrat wrote: >>> On 9 February 2010 17:39, R.I.Pienaar wrote: hello, - "Michael DeHaan" wrote: > > I've written an applicat

Re: [Puppet Users] Living with Puppet...

2010-02-09 Thread Paul Nasrat
On 9 February 2010 17:53, Michael DeHaan wrote: > On Tue, Feb 9, 2010 at 12:47 PM, Paul Nasrat wrote: >> On 9 February 2010 17:39, R.I.Pienaar wrote: >>> hello, >>> >>> - "Michael DeHaan" wrote: >>> > I've written an application, which aims to solve all of the missing peaces

Re: [Puppet Users] Living with Puppet...

2010-02-09 Thread Michael DeHaan
> I think you're in desperate need of a history lesson in what happened in the > cases where people tried to contribute or suggest improvements wrt dashboard. If there is such a percieved lack of interest, this is something I would like to rectify. (Also don't miscontrue an inability to impleme

Re: [Puppet Users] Living with Puppet...

2010-02-09 Thread Michael DeHaan
On Tue, Feb 9, 2010 at 12:47 PM, Paul Nasrat wrote: > On 9 February 2010 17:39, R.I.Pienaar wrote: >> hello, >> >> - "Michael DeHaan" wrote: >> >>> > I've written an application, which aims to solve all of the missing >>> peaces >>> > around puppet - http://theforeman.org >>> >>> Ohad, as yo

Re: [Puppet Users] Living with Puppet...

2010-02-09 Thread R.I.Pienaar
hello, > Not in the least; we welcome all contributions... and we want to > encourage folks here to contribute to the core. . . > We also want to make it clear that Dashboard is our future, and we > welcome contributions there and will be better positioned to help > keep that and Puppet working

Re: [Puppet Users] Living with Puppet...

2010-02-09 Thread Michael DeHaan
On Tue, Feb 9, 2010 at 12:39 PM, R.I.Pienaar wrote: > hello, > > - "Michael DeHaan" wrote: > >> > I've written an application, which aims to solve all of the missing >> peaces >> > around puppet - http://theforeman.org >> >> Ohad, as you've said "I've written an application, which aims to >>

Re: [Puppet Users] Living with Puppet...

2010-02-09 Thread Paul Nasrat
On 9 February 2010 17:39, R.I.Pienaar wrote: > hello, > > - "Michael DeHaan" wrote: > >> > I've written an application, which aims to solve all of the missing >> peaces >> > around puppet - http://theforeman.org >> >> Ohad, as you've said "I've written an application, which aims to >> solve a

Re: [Puppet Users] Living with Puppet...

2010-02-09 Thread Nigel Kersten
On Tue, Feb 9, 2010 at 9:39 AM, R.I.Pienaar wrote: > hello, > > - "Michael DeHaan" wrote: > > > > I've written an application, which aims to solve all of the missing > > peaces > > > around puppet - http://theforeman.org > > > > Ohad, as you've said "I've written an application, which aims t

Re: [Puppet Users] Living with Puppet...

2010-02-09 Thread R.I.Pienaar
hello, - "Michael DeHaan" wrote: > > I've written an application, which aims to solve all of the missing > peaces > > around puppet - http://theforeman.org > > Ohad, as you've said "I've written an application, which aims to > solve all of the missing peaces around puppet". Obviously you'

Re: [Puppet Users] Living with Puppet...

2010-02-09 Thread Michael DeHaan
> I've written an application, which aims to solve all of the missing peaces > around puppet - http://theforeman.org Ohad, as you've said "I've written an application, which aims to solve all of the missing peaces around puppet". Obviously you've done a lot of work here, but I need to communicat

Re: [Puppet Users] Re: How to disable file checksums?

2010-02-09 Thread Dan Bode
On Tue, Feb 9, 2010 at 6:30 AM, Tim Stoop wrote: > Hi Brice, > > Thanks for your suggestion, but alas, it seems to default to mtime > 'checksum' then. > > On 8 feb, 22:43, Brice Figureau wrote: > > In 0.24.x I know it was possible to: > > checksum => undef > > Honestly, knowing how other parts w

Re: [Puppet Users] Making the new users experience easier

2010-02-09 Thread Nigel Kersten
I honestly think the most important thing for new users is to clean up the documentation. Not a lot of the existing docs on the wiki read as being particularly authoritative. They're full of lines like: "Exporting and collecting resources is an extension of virtual resources

Re: [Puppet Users] Re: Only send report email if resource failed during run

2010-02-09 Thread Doug Warner
My tagmail.conf file looks like this: warning, err: someem...@example.com This only sends me email if warning or err events are seen. -Doug On 02/09/2010 08:52 AM, symfrog wrote: > Maybe someone has created a simple custom report for this? > > On Feb 9, 3:03 pm, Ohad Levy wrote: >> Hi, >> >>

[Puppet Users] Re: Exec doesn't work with Ubuntu Server 10.04 (Lucid Lynx) 64bit

2010-02-09 Thread kai.steverding
I could narrow down the problem : The exec call works in 2 CPU machine. It does not work in a single CPU machine. I can switch my VM from 2 to 1 CPU's and break puppet with this change. Here are the informations you requested : r...@puppet:/etc/puppet/manifests# ruby -v ruby 1.8.7 (2010-01-10 pa

Re: [Puppet-dev] Re: [Puppet Users] Plugins in modules with environments and the puppetmaster libdir

2010-02-09 Thread Nigel Kersten
On Mon, Feb 8, 2010 at 2:45 PM, Luke Kanies wrote: > On Feb 5, 2010, at 8:47 AM, Nigel Kersten wrote: > > On Fri, Feb 5, 2010 at 3:29 AM, Thomas Bellman >> wrote: >> >>> Nigel Kersten wrote: >>> >>> So facter plugins are kind of different, as they're not actually required to be in the pup

[Puppet Users] Re: Error 400 on SERVER: private method `gsub' called for nil:NilClass

2010-02-09 Thread eblack
Thanks for the response. I did try putting in the subdirectory path as well, but the same thing occurs. I continued to play around with it and the error message disappears if I remove the recurse parameter. The trace dump is below, but I can't find the problem from it (I don't know ruby): /usr/lib

[Puppet Users] Re: How to disable file checksums?

2010-02-09 Thread Tim Stoop
Hi Brice, Thanks for your suggestion, but alas, it seems to default to mtime 'checksum' then. On 8 feb, 22:43, Brice Figureau wrote: > In 0.24.x I know it was possible to: > checksum => undef Honestly, knowing how other parts work, I'd expect it to default to mtime checksum in 0.24.x too... Tha

[Puppet Users] Re: Only send report email if resource failed during run

2010-02-09 Thread symfrog
Maybe someone has created a simple custom report for this? On Feb 9, 3:03 pm, Ohad Levy wrote: > Hi, > > Latest version of foreman (http://theforeman.org) supports this feature. > > cheers, > Ohad > > On Tue, Feb 9, 2010 at 9:00 PM, symfrog wrote: > > Hi > > > I have configured puppet to send re

Re: [Puppet Users] Exec doesn't work with Ubuntu Server 10.04 (Lucid Lynx) 64bit

2010-02-09 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/02/10 12:06 AM, kai.steverding wrote: > I installed ruby on the above server and tried with a simple exec- > test : What Puppet and Ruby versions? Regards James Turnbull - -- Author of: * Pro Linux System Administration (http://tinyurl.com/l

[Puppet Users] Exec doesn't work with Ubuntu Server 10.04 (Lucid Lynx) 64bit

2010-02-09 Thread kai.steverding
I installed ruby on the above server and tried with a simple exec- test : class testmodule { exec {"TEST-EXEC" : cwd => "/tmp/", command =>"/usr/bin/touch /tmp/ >/tmp/123 2>&1", timeout => 5,

Re: [Puppet Users] Only send report email if resource failed during run

2010-02-09 Thread Ohad Levy
Hi, Latest version of foreman (http://theforeman.org) supports this feature. cheers, Ohad On Tue, Feb 9, 2010 at 9:00 PM, symfrog wrote: > Hi > > I have configured puppet to send reports via email using tagsmail. The > problem is that it sends all the log messages every run (without a > metric

[Puppet Users] Only send report email if resource failed during run

2010-02-09 Thread symfrog
Hi I have configured puppet to send reports via email using tagsmail. The problem is that it sends all the log messages every run (without a metric summary), which is not so useful. Is it possible to only send a report with the metrics only if one or more resources failed? Thanks -- You receive

Re: [Puppet Users] Living with Puppet...

2010-02-09 Thread Jesús Couto
Thanks you both for the answers, I'm going to spend some time parsing them :-P Let me clarify - I'm not looking for help or consulting in implementing Puppet on a particular site right now. The objective of my work now is just to make the company aware this exist and see if it is something useful

Re: [Puppet Users] virtual resource realizing by require?

2010-02-09 Thread Frederik Wagner
On Tue, Feb 9, 2010 at 11:35 AM, Alan Barrett wrote: > On Tue, 09 Feb 2010, Frederik Wagner wrote: >> >> @file{"/mountpoint": ensure => directory } >> >> >> >> @mount{"/mountpoint": >> >>..., >> >>require => File["/mountpoint"] >> >> } >> >> >> >> in some other class: >> >> Mount<| title =

Re: [Puppet Users] virtual resource realizing by require?

2010-02-09 Thread Alan Barrett
On Tue, 09 Feb 2010, Frederik Wagner wrote: > >> @file{"/mountpoint": ensure => directory } > >> > >> @mount{"/mountpoint": > >>..., > >>require => File["/mountpoint"] > >> } > >> > >> in some other class: > >> Mount<| title == "/mountpoint" |> > > I would like to automatically realize all

Re: [Puppet Users] virtual resource realizing by require?

2010-02-09 Thread Frederik Wagner
On Tue, Feb 9, 2010 at 10:55 AM, Aurelien Degremont wrote: > Frederik Wagner a écrit : >> >> Hi Aurelien, >> >> On Tue, Feb 9, 2010 at 9:32 AM, Aurelien Degremont >> wrote: >>> >>> Frederik Wagner a écrit : Hi .*, I'm wondering if there is a way to have a virtual resource real

Re: [Puppet Users] virtual resource realizing by require?

2010-02-09 Thread Thomas Bellman
Frederik Wagner wrote: I would think that something like the following would do the job, but it doesn't. in some class: @file{"/mountpoint": ensure => directory } @mount{"/mountpoint": ..., require => File["/mountpoint"] } in some other class: Mount<| title == "/mountpoint" |> What a

Re: [Puppet Users] virtual resource realizing by require?

2010-02-09 Thread Aurelien Degremont
Frederik Wagner a écrit : Hi Aurelien, On Tue, Feb 9, 2010 at 9:32 AM, Aurelien Degremont wrote: Frederik Wagner a écrit : Hi .*, I'm wondering if there is a way to have a virtual resource realize other virtual resources which it requires. Background: I want to create a module which provide

Re: [Puppet Users] virtual resource realizing by require?

2010-02-09 Thread Frederik Wagner
Hi Aurelien, On Tue, Feb 9, 2010 at 9:32 AM, Aurelien Degremont wrote: > Frederik Wagner a écrit : >> >> Hi .*, >> >> I'm wondering if there is a way to have a virtual resource realize >> other virtual resources which it requires. >> >> Background: I want to create a module which provides all pos

Re: [Puppet Users] virtual resource realizing by require?

2010-02-09 Thread Aurelien Degremont
Frederik Wagner a écrit : Hi .*, I'm wondering if there is a way to have a virtual resource realize other virtual resources which it requires. Background: I want to create a module which provides all possible mountpoints from a NAS Filer as virtual resources, like @mount{xyz}. These mounts depe