[Puppet Users] Re: Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-24 Thread tobyriddell
Thanks everyone for their input. I'll press on with Puppet and if I run into performance issues then I'll bring them up in this forum. -- 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...@googlegroups

Re: [Puppet Users] Re: Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-24 Thread Brice Figureau
On Wed, 2010-02-24 at 01:10 +0100, Thomas Bellman wrote: > Trevor Vaughan top-posted: > > > Just out of curiosity, do the ones that take longer happen to be 64 bit? > > Well, yes, they are indeed 64 bit (x86_64). But that doesn't > distinguish them from the quicker ones. They are all running >

Re: [Puppet Users] Re: Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-24 Thread Michael Gliwinski
On Tuesday 23 Feb 2010 16:22:44 Lindsay Holmwood wrote: > Performance, expressiveness, stability. Pick two. > You make it sound like it's impossible to write a well performing, expressive and stable system in C/C++, etc. Surely you can't think that? I once had an idea of using puppet to also m

Re: [Puppet Users] Re: Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-24 Thread Nigel Kersten
On Wed, Feb 24, 2010 at 1:59 AM, Michael Gliwinski wrote: > On Tuesday 23 Feb 2010 16:22:44 Lindsay Holmwood wrote: >> Performance, expressiveness, stability. Pick two. >> > > You make it sound like it's impossible to write a well performing, expressive > and stable system in C/C++, etc.  Surely y

Re: [Puppet Users] parsedfile provider documentation?

2010-02-24 Thread Frederik Wagner
Hi David, I was just looking a bit more into augeas: Is there a way to set variables in augeas wit values obtained by a 'get' statement? Like: ... augtool> get /files/etc/sysconfig/kernel/MODULES_LOADED_ON_BOOT /files/etc/sysconfig/kernel/MODULES_LOADED_ON_BOOT = "ipv6" ... Thus having a variabl

[Puppet Users] ssh::auth server dependency on ~/.ssh and a scoping question

2010-02-24 Thread Michael Gliwinski
Hi Andrew, Just noticed that ssh::auth::server doesn't require the resource for ~/.ssh directory. Considering the documentation says it does (in Examples -> 1. With account management at the bottom mentions that 'require => [User[$title], File["$home/.ssh"]]' is implicitly included in both cli

[Puppet Users] Re: Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-24 Thread Thomas Bellman
Brice Figureau wrote: It would be interesting in finding where (when?) the time is taken. I'm wondering if it comes from the master or puppetd itself. Does running with --debug gives more information. Maybe it does. I do need to look into this sometime, but I won't have the time for yet a cou

Re: [Puppet Users] Re: Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-24 Thread Michael Gliwinski
On Wednesday 24 Feb 2010 10:19:57 Nigel Kersten wrote: > > You make it sound like it's impossible to write a well performing, > > expressive and stable system in C/C++, etc. Surely you can't think that? > > I don't think that. > > What I do think is that something like Puppet that needs to abstr

[Puppet Users] Re: How to conditionally include classes based on environment?

2010-02-24 Thread Tim Stoop
Hi there, On 23 feb, 10:19, ascodemus wrote: > Q1) How can I include a class for a node depending on the status of > the managed node? Example is it possible to do include a class based > on existence of a file e.g. “/root/puppet/dl580” on the managed puppet- > client node like: Nope, that's no

[Puppet Users] Correct user management across modules

2010-02-24 Thread Rus Hughes
I've got an Apache module and a Nagios module which "require"s the Apache module, in the Nagios module we need to add the apache user to the nagios group, what would be the best most scalable method to do this? Assuming we might have other modules for webapps which need to add the apache user to ot

[Puppet Users] Re: /etc/hosts 'cname'?

2010-02-24 Thread Dick Davies
On Wed, Feb 24, 2010 at 6:55 AM, Dick Davies wrote: > Does anyone have a reference on how to write functions - > the reductive labs docs seem a little broken today. Never mind, found it. http://reductivelabs.com/trac/puppet/wiki/WritingYourOwnFunctions -- You received this message because you

Re: [Puppet Users] /etc/hosts 'cname'?

2010-02-24 Thread Thomas Bellman
Dick Davies wrote: # this gets used by several classes $activedbhost = "mysql1.mydomain.com" host { "db.hosting.mydomain.com": ensure => present, ip => ip_of($activedbhost) } 'ip_of()' is what Puppet calls a 'function', right? Does anyone have a reference on how to write them -

[Puppet Users] Re: Puppet's call to /sbin/service somehow different than calling from the command line?

2010-02-24 Thread jcbollinger
On Feb 24, 1:17 am, Brian Ferris wrote: > I see it changing the > status of the service from stopped to running, and yet my Java service > fails with random NoClassDefFound errors. For classes belonging to your application, to external jars, or to the system library? [...] > Now, I know you'

[Puppet Users] Puppet 0.25.* SLES 11 Package

2010-02-24 Thread Haris Farooque
Hello members, We are using Puppet-Server 0.24.8 with Factor (1.5.2-1.20) and Puppet 0.24.5 (for client nodes) on our SuSE Machines and its working fine. We are now planning to upgrade to latest stable release 0.25.* for server (with factor) and client-nodes. We just like to enquire you if the

[Puppet Users] Re: Puppet's call to /sbin/service somehow different than calling from the command line?

2010-02-24 Thread jcbollinger
On Feb 24, 1:17 am, Brian Ferris wrote: > What's the difference in execution contexts? One more guess: are you running SELinux in enforcing mode? John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to pup

[Puppet Users] puppet Upgrade request from 0.24.8 To 0.25.4 (SLES 11 Package)

2010-02-24 Thread Haris Farooque
PS: my previous mail might be filtered as junk because I used wildcard in the subject. Therefore, I am writting again. Hello members, We are using Puppet-Server 0.24.8 with Factor (1.5.2-1.20) and Puppet 0.24.5 (for client nodes) on our SuSE Machines and its working fine. We are now planning

Re: [Puppet Users] Re: Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-24 Thread Jesús Couto
I see your point, but this is perhaps specific to the domain of > configuration > management systems? I mean just look at some of the largest free software > communities like KDE, which is primarily written in C++ which doesn't seem > to > be in any way diminishing the number of contributors. > >

Re: [Puppet Users] Re: Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-24 Thread Jeff McCune
On Wed, Feb 24, 2010 at 6:00 AM, Michael Gliwinski wrote: > I see your point, but this is perhaps specific to the domain of configuration > management systems?  I mean just look at some of the largest free software > communities like KDE, which is primarily written in C++ which doesn't seem to > b

Re: [Puppet Users] Puppet's call to /sbin/service somehow different than calling from the command line?

2010-02-24 Thread Brian Ferris
Sorry if I wasn't clear in the original post. I've definitely looked at the contents of the environment (dump of env) and there is no difference in the two calling contexts. I've also dumped the contents of System.getProperties() (equivalent of Java's environment) and again there is no difference

Re: [Puppet Users] Re: Puppet's call to /sbin/service somehow different than calling from the command line?

2010-02-24 Thread Brian Ferris
Yes to running in enforcing mode. I just tried turning enforcing mode off with a call to "setenforce 0" and I still get the same behavior. On Wed, Feb 24, 2010 at 6:14 AM, jcbollinger wrote: > > > On Feb 24, 1:17 am, Brian Ferris wrote: > > What's the difference in execution contexts? > > One

Re: [Puppet Users] Re: Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-24 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 24/02/10 3:00 AM, Michael Gliwinski wrote: > I see your point, but this is perhaps specific to the domain of configuration > management systems? I mean just look at some of the largest free software > communities like KDE, which is primarily writ

Re: [Puppet Users] Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-24 Thread Eric Gerlach
On Mon, Feb 22, 2010 at 03:37:15PM -0600, James Cammarata wrote: > > On Mon, 22 Feb 2010 21:17:52 +, Toby Riddell > wrote: > > I received my copy of ;login (the Usenix magazine) today. There's an > > article* comparing CPU utilisation of Puppet and Cfengine. To > > abbreviate massively: Puppe

[Puppet Users] Puppetmaster doesn't want to send mails

2010-02-24 Thread Paillot Florent
Hi, I configured my "puppet.conf" with: /[puppetmasterd] environments= testing,production templatedir = /var/lib/puppet/templates reports = tagmail,rrdgraph,store reportdir = /var/lib/puppet/reports reportfrom = r...@hostname

[Puppet Users] Re: Correct user management across modules

2010-02-24 Thread atom
On Feb 24, 6:59 am, Rus Hughes wrote: > I've got an Apache module and a Nagios module which "require"s the > Apache module, in the Nagios module we need to add the apache user to > the nagios group, what would be the best most scalable method to do > this? Assuming we might have other modules for

Re: [Puppet Users] Feature Request: Settable 'nice' value.

2010-02-24 Thread Peter Meier
Hi So, some of us would like to be able to set the nice value on puppetd. However, we don't want all of our services (and some of our execs) re-niced. Would it be feasible/practical to have the ability to set the nice value explicitly on Service and Exec calls? http://projects.reductivelabs.c

Re: [Puppet Users] ssh::auth server dependency on ~/.ssh and a scoping question

2010-02-24 Thread Andrew Schulman
> Hi Andrew, > > Just noticed that ssh::auth::server doesn't require the resource for ~/.ssh > directory. Considering the documentation says it does (in Examples -> 1. > With > account management at the bottom mentions that 'require => [User[$title], > File["$home/.ssh"]]' is implicitly inclu

[Puppet Users] 'checkinstall' for custom package creation

2010-02-24 Thread robbyt
One problem that we frequently run into while building and supporting puppet infrastructures, is some cowboy developer who insists that he needs Python 3.1, PHP6, SWiG 1.3.40, etc, and these packages are not available in our Distro's stable package repository. Have you ever tried to build a slotte

[Puppet Users] prevent tagmail reports when puppetd runs interactively

2010-02-24 Thread John Lyman
I would like to not get a tagmail report when "puppetd --test" is run. Is there a tag that is applied when puppetd is running daemonized vs. non-daemonized? I could just run "puppetd --test -no- report", but I don't want to rely on other users to remember to run it this way. I was hoping I could

Re: [Puppet Users] Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-24 Thread Craig Miskell
Eric Gerlach wrote: On Mon, Feb 22, 2010 at 03:37:15PM -0600, James Cammarata wrote: On Mon, 22 Feb 2010 21:17:52 +, Toby Riddell wrote: I received my copy of ;login (the Usenix magazine) today. There's an article* comparing CPU utilisation of Puppet and Cfengine. To abbreviate massively:

Re: [Puppet Users] Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-24 Thread Brice Figureau
On 24/02/10 17:31, Eric Gerlach wrote: > On Mon, Feb 22, 2010 at 03:37:15PM -0600, James Cammarata wrote: >> >> On Mon, 22 Feb 2010 21:17:52 +, Toby Riddell >> wrote: >>> I received my copy of ;login (the Usenix magazine) today. There's an >>> article* comparing CPU utilisation of Puppet and C

Re: [Puppet Users] Feature Request: Settable 'nice' value.

2010-02-24 Thread Trevor Vaughan
I'll get there, I just don't have access to my account information at the moment. Trevor On Wed, Feb 24, 2010 at 1:00 PM, Peter Meier wrote: > Hi > >> So, some of us would like to be able to set the nice value on puppetd. >> However, we don't want all of our services (and some of our execs) >> r

[Puppet Users] Issue with '|'

2010-02-24 Thread Andrew Hamilton
I have a question hopefully someone here can help me out with. I have a module that I didn't write, I got it from the github. it's the postgres module. I'm running on CentOS 5. In the module there is this: case $ensure { present: { exec { "Create $name postgres db":

Re: [Puppet Users] parsedfile provider documentation?

2010-02-24 Thread David Lutterkort
On Tue, 2010-02-23 at 13:42 +0100, Frederik Wagner wrote: > > If you can live with replacing the entire list, you can just use augeas: > > > >augeas { "my_boot_modules": > >changes => "set > > /files/etc/sysconfig/kernel/MODULES_LOADED_ON_BOOT '$mymodules'" > >} > >

Re: [Puppet Users] parsedfile provider documentation?

2010-02-24 Thread David Lutterkort
On Wed, 2010-02-24 at 11:28 +0100, Frederik Wagner wrote: > I was just looking a bit more into augeas: > Is there a way to set variables in augeas wit values obtained by a > 'get' statement? It's possible if you use Augeas from Ruby by doing something like aug = Augeas::open(...)

Re: [Puppet Users] Augeas type: Removing an entry from /etc/hosts

2010-02-24 Thread David Lutterkort
On Tue, 2010-02-23 at 14:02 -0500, Rob McBroom wrote: > On Feb 23, 2010, at 7:37 AM, Jesús Couto wrote: > > > On a tangent, anybody using augeas under puppet to > > manage /etc/sudoers? ... and how? > > I tried, but all I could get it to do was add the entries to the end > of `/etc/sudoers` over

Re: [Puppet Users] Re: Proper Augeas usage

2010-02-24 Thread David Lutterkort
On Tue, 2010-02-23 at 08:44 -0800, Tim Stoop wrote: > On 22 feb, 20:35, David Lutterkort wrote: > > You want to restrict when to make those changes with the onlyif > > paramater, something like > > > > augeas { "...": > > context => ... > > changes => ... > >

[Puppet Users] Re: Strange messages on 0.25.4.

2010-02-24 Thread Nobuchika Tanaka
Hi Patrick. I checked workaround you suggested. Accroding to workaround, messages didn't appear any more. Thank you for telling me workaroud. Nobuchika Tanaka. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email