[Puppet Users] Re: You should be using schedules :)

2009-06-02 Thread Geoff Crompton
James Turnbull wrote: > Geoff Crompton wrote: >> Mark Plaksin wrote: >>> Maybe we're the last to the party but wow do schedules make a huge >>> difference! Especially with file serving. We added schedules to a few >>> file-heavy modules and cut the load and hits/day on our file serving >>> puppe

[Puppet Users] Re: You should be using schedules :)

2009-06-02 Thread Avi Miller
Hey, Geoff Crompton wrote: > How do I use that in other classes and resources? The Language tutorial > http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial doesn't > mention them. The TypeReference page does. Check the exec {} type in the example: exec { "/usr/bin/apt-get update": sc

[Puppet Users] Metrics and storeconfigs

2009-06-02 Thread Sheldon Hearn
When I got involved in our Puppet deployment, someone had already done some work getting the puppet client talking to one puppetmaster and having puppetshow run on the puppetmaster. We're using multiple puppetmasters, whcih have storeconfigs enabled. They all write to a centralized database. We

[Puppet Users] Re: You should be using schedules :)

2009-06-02 Thread Geoff Crompton
Avi Miller wrote: > Hey, > > Geoff Crompton wrote: >> How do I use that in other classes and resources? The Language tutorial >> http://reductivelabs.com/trac/puppet/wiki/LanguageTutorial doesn't >> mention them. > > The TypeReference page does. Check the exec {} type in the example: > > exec {

[Puppet Users] use of the resource resource

2009-06-02 Thread Geoff Crompton
While reading about schedules, I saw: http://reductivelabs.com/trac/puppet/wiki/TypeReference#resources To check I'm reading this right, if I had the following in my site.pp: resources { file purge => true } Would puppet then attempt to purge every single file that it did not have an ex

[Puppet Users] Re: Restricted puppet?

2009-06-02 Thread Geoff Crompton
Russell Adams wrote: > I run puppet via cron as my local user, for basic stuff. One of my > favorites is an auto-cleaning temporary directory. I throw cruft in > here, and I won't miss it after two weeks, and no more manual cleanup. > > For example, my ~/.puppet.pp: > > tidy { "/home/rladams/tmp

[Puppet Users] puppet show looks different in a slide

2009-06-02 Thread Dan Bode
Hi, In a slide from 2008 from a presentation (from Luke) entitled Puppet: How and Why I found a slide with a view of puppetshow that provides tabs for changes,failures, etc This is quite different from the puppetshow app that I checked out from git, which has facts, hosts, resources. Did I

[Puppet Users] Re: Metrics and storeconfigs

2009-06-02 Thread Ohad Levy
Yes, we are reading the yaml file and processing and feeding them into the database as a puppet report. than you can display it in a web interface or send customized emails etc. but if all you need is graphs, maybe use puppetview or just plain rrd files? cheers, Ohad On Tue, Jun 2, 2009 at 3:1

[Puppet Users] Re: Metrics and storeconfigs

2009-06-02 Thread Sheldon Hearn
Huh? Where in the database are the reports? Or maybe this only happens on a very recent version of puppet? We're using 0.24.8. Thanks, Sheldon. On Jun 2, 11:05 am, Ohad Levy wrote: > Yes, we are reading the yaml file and processing and feeding them into the > database as a puppet report. >

[Puppet Users] Re: Metrics and storeconfigs

2009-06-02 Thread Ohad Levy
ah, we extend the schema... :) On Tue, Jun 2, 2009 at 5:31 PM, Sheldon Hearn wrote: > > > Huh? Where in the database are the reports? Or maybe this only > happens on a very recent version of puppet? We're using 0.24.8. > > Thanks, > Sheldon. > > On Jun 2, 11:05 am, Ohad Levy wrote: > > Yes, w

[Puppet Users] Re: Metrics and storeconfigs

2009-06-02 Thread Sheldon Hearn
Well I'd love to see what you're doing if you're inclined to share. :-) Do you modify puppet, or have you written a sideline cron job that punts reports over? On Jun 2, 11:44 am, Ohad Levy wrote: > ah, we extend the schema... :) > > On Tue, Jun 2, 2009 at 5:31 PM, Sheldon Hearn wrote: > > > >

[Puppet Users] Re: Metrics and storeconfigs

2009-06-02 Thread Ohad Levy
On Tue, Jun 2, 2009 at 5:56 PM, Sheldon Hearn wrote: > > > Well I'd love to see what you're doing if you're inclined to > share. :-) > I am more than happy to share, but for now I'm not allowed :-\ nevertheless, I'm working hard on releasing our full blown web interface > > Do you modify pupp

[Puppet Users] Re: Solaris Zones creation problem.

2009-06-02 Thread Bryan Allen
+-- | On 2009-06-02 08:30:34, David Schmitt wrote: | | This should read | | > zfs { "zone_${zonename}_tank": | | to be parsed correctly. Yup. In fact, I asked this question on IRC a couple weeks ago and someone respon

[Puppet Users] 'require' issue

2009-06-02 Thread Robin Sheat
This is most likely me being wrong-thinking somewhere, but I have: class apache2::modssl { include apache2::base File { notify => Service["apache2"], require => Package["apache2"], } file { "/etc/apache2/ssl": ensure =

[Puppet Users] Re: tags and the include statement

2009-06-02 Thread Dick Davies
Any comments on this one? Even a 'don't do that, do this' would be great :) On Sat, May 30, 2009 at 11:20 PM, Dick Davies wrote: > Hi all > > so far I'm loving Puppet, have asked a few questions on IRC and had > really good support there. > This one has me scratching my head, though. > > I was h

[Puppet Users] Re: tags and the include statement

2009-06-02 Thread Brice Figureau
Hi, On Sat, 2009-05-30 at 23:20 +0100, Dick Davies wrote: > Hi all > > so far I'm loving Puppet, have asked a few questions on IRC and had > really good support there. > This one has me scratching my head, though. > > I was hoping to use puppets implicit tagging feature to handle > iptables con

[Puppet Users] renaming module not working

2009-06-02 Thread Rene
Hi I tried to rename a module from wls to WLS, so I changed: /etc/puppet/production/modules/wls to /etc/puppet/production/modules/ WLS In /etc/puppet/production/modules/WLS/manifests/init.pp I changed class wls{ to class WLS{ in /etc/puppet/production/manifests/site.pp I changed include wls t

[Puppet Users] Re: renaming module not working

2009-06-02 Thread Felix Schäfer
Am 02.06.2009 um 14:48 schrieb Rene: > It cannot find the WLS class even it should be there. Does someone > have a solution for that, because its driving me nuts... Not sure if you can go caps on class/module names, can you? BR, Felix --~--~-~--~~~---~--~~ Yo

[Puppet Users] Re: renaming module not working

2009-06-02 Thread Rene
Hey Thanks, you are right, no capitals in module names I didn't know that. Br, Rene On Jun 2, 2:53 pm, Felix Schäfer wrote: > Am 02.06.2009 um 14:48 schrieb Rene: > > > It cannot find the WLS class even it should be there. Does someone > > have a solution for that, because its driving me n

[Puppet Users] Re: use of the resource resource

2009-06-02 Thread Eric Gerlach
On Tue, Jun 02, 2009 at 05:11:57PM +1000, Geoff Crompton wrote: > > While reading about schedules, I saw: > http://reductivelabs.com/trac/puppet/wiki/TypeReference#resources > > To check I'm reading this right, if I had the following in my site.pp: > resources { file > purge => true > } >

[Puppet Users] Re: puppet show looks different in a slide

2009-06-02 Thread Luke Kanies
On Jun 2, 2009, at 3:58 AM, Dan Bode wrote: > Hi, > > In a slide from 2008 from a presentation (from Luke) entitled > > Puppet: How and Why > > I found a slide with a view of puppetshow that provides tabs for > changes,failures, etc > > This is quite different from the puppetshow app that I

[Puppet Users] Re: use of the resource resource

2009-06-02 Thread Luke Kanies
On Jun 2, 2009, at 9:24 AM, Eric Gerlach wrote: > > On Tue, Jun 02, 2009 at 05:11:57PM +1000, Geoff Crompton wrote: >> >> While reading about schedules, I saw: >> http://reductivelabs.com/trac/puppet/wiki/TypeReference#resources >> >> To check I'm reading this right, if I had the following in my

[Puppet Users] Puppet not creating users home directories

2009-06-02 Thread Brandon Whalen
I'm running puppet 0.24.8, installed from epel, on a RHEL 5.3 box. I've created some puppet modules and in one of them I attempt to add a user and pass in the managehome => true flag so that the users home directory is created. I run puppet in the %post of kickstart file and while the user is crea

[Puppet Users] Re: Vote for your favorite ticket

2009-06-02 Thread ch+git
On Jun 2, 12:09 am, Luke Kanies wrote: > James Turnbull has enabled a new plugin in Redmine that allows you to   > vote for tickets.  You have to have a login, and you can vote a ticket   > up or down. > [..] > To vote on a ticket, log in and view any ticket -- you should see the   > green/red ar

[Puppet Users] Re: Vote for your favorite ticket

2009-06-02 Thread James Turnbull
ch+...@zeha.at wrote: > On Jun 2, 12:09 am, Luke Kanies wrote: >> James Turnbull has enabled a new plugin in Redmine that allows you to >> vote for tickets. You have to have a login, and you can vote a ticket >> up or down. >> [..] >> To vote on a ticket, log in and view any ticket -- you sho

[Puppet Users] OSSEC Recipe?

2009-06-02 Thread Taylor
Hi, I'm a fairly new to Puppet but so far have been very pleased with the recipes and my own simple scripts. However, I've hit a wall in the form of OSSEC, (http://www.ossec.net/main/) Most of my servers are running ubuntu or debain and neither support OSSEC via apt-get. I've thought about setti

[Puppet Users] Re: You should be using schedules :)

2009-06-02 Thread Greg
I've been looking at using schedules as a way of speeding up Puppet catalog runs, but its got one small(ish) annoyance. It would be nice to have the ability to confirm the existance of the file on one schedule, while validating the content/ attributes on another - the idea being that an objects ex

[Puppet Users] factsync md5 checksum weirdness

2009-06-02 Thread Greg
Hi all, Figured I would put this to the group before submitting a bug report, just in case I'm doing something silly... On each of my servers, factsync is enabled. Every time Puppet runs, I get these messages: Jun 3 11:19:15 CLIENT puppetd[13374]: [ID 702911 daemon.notice] (/File [/var/opt/csw

[Puppet Users] Re: Puppet not creating users home directories

2009-06-02 Thread Greg
Not sure how Kickstart manages postinstall, but in Solaris' Jumpstart, the target install is mounted in /a at the time you run the postinstall scripts - so everything within the finish scripts needs to take this into ccount, either through a chroot, the command being aware of the new root director

[Puppet Users] Re: factsync md5 checksum weirdness

2009-06-02 Thread Nigel Kersten
On Tue, Jun 2, 2009 at 6:27 PM, Greg wrote: > > Hi all, > > Figured I would put this to the group before submitting a bug report, > just in case I'm doing something silly... > > On each of my servers, factsync is enabled. Every time Puppet runs, I > get these messages: > > Jun  3 11:19:15 CLIENT

[Puppet Users] Facter 1.5.5

2009-06-02 Thread jean
Hello, Since i use facter 1.5.5 i got error running it by hand. It still work in puppet but i loosed the hability to run it from the command line: (aqadmin)> /var/lib/gems/1.8/gems/facter-1.5.5/bin/facter /var/lib/gems/1.8/gems/facter-1.5.5/bin/facter:50:in `require': no such file to load --