[Puppet Users] Re: Strange messages on 0.25.4.

2010-02-22 Thread Nobuchika Tanaka
Hi. > can you send a --debug --trace of your puppetd run? thanks. I send a log with --debug --trace. Do you have any idea? # # Starting puppetmasterd. # mise# puppetpuppetmasterd --debug --trace --no-daemonize debug: Failed to load library 'selinux' for feature 'selinux' debug: Failed to load li

Re: [Puppet Users] erb getting the default value of a define

2010-02-22 Thread Brady Catherman
I actually just figured out a big part of this. I have two definitions: apache::virtualhost { "$title.local.twitter.com": vhostname => "$title.local.twitter.com", vhost_template => "twitter/staging.local.twitter.com.conf.erb"; } apache::virtualhost { "$tit

Re: [Puppet Users] parsedfile provider documentation?

2010-02-22 Thread David Lutterkort
On Mon, 2010-02-22 at 10:45 +0100, Frederik Wagner wrote: > MODULES_LOADED_ON_BOOT="module1 module2" > > My goal ist to have a type, which can append a "module3" to this > entry, or replace the whole list, etc. (to stay generic for different > files in /etc/sysconfig). If you can live with replac

[Puppet Users] erb getting the default value of a define

2010-02-22 Thread Brady Catherman
I have a define that sets a bunch of default values: define virtualhost($vhostname, $vhost_template, ... , $ssl_enabled = false) { if $ssl_enabled == true { $extension = '-ssl' } else { $extension = '' } file { "/etc/httpd/sites-available/${vhostname}${exte

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

2010-02-22 Thread Patrick (kc7zzv)
On Feb 22, 1:17 pm, 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: Puppet requires much more CPU than Cfengine when > both verifying and fixing configuration. I had

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

2010-02-22 Thread Lindsay Holmwood
On 22 February 2010 16:37, 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: Puppet requires much mo

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

2010-02-22 Thread Julian Simpson
> > I'm not really surprised by this, puppet is written in Ruby (an interpreted > language) vs CFengine which is written in C. I've used both, and I'd > gladly trade a little CPU performance for the stability gains offered by > puppet. CFengine is notoriously buggy in implementation, something I

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

2010-02-22 Thread James Cammarata
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: Puppet requires much more CPU than Cfengine when > both verifying and fixing confi

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

2010-02-22 Thread Toby Riddell
I received my copy of ;login (the Usenix magazine) today. There's an article* comparing CPU utilisation of Puppet and Cfengine. To abbreviate massively: Puppet requires much more CPU than Cfengine when both verifying and fixing configuration. I'm in the early days of implementing Puppet and this h

[Puppet Users] Foreman isn't seeing my classes

2010-02-22 Thread Andrew Dickson
I've recently set up foreman with my existing puppet server, and I was able to get all the host reporting working (I'm using storeconfigs), and once I ran: RAILS_ENV=production rake puppet:import:puppet_classes My puppet classes showed up on the settings page, however, it doesn't seem to be assoc

[Puppet Users] Re: Strange messages on 0.25.4.

2010-02-22 Thread Patrick (kc7zzv)
On Feb 22, 12:37 pm, deet wrote: > > Did you add the FQDN of the server, the server's name, or both to the > > hosts file on the client? > >   Our hosts only have a "node" name as we don't have nis/ldap/dns for > network name resolution. > >   In this case the puppet master's hostname is "dev-pupp

[Puppet Users] Re: Strange messages on 0.25.4.

2010-02-22 Thread deet
> Did you add the FQDN of the server, the server's name, or both to the > hosts file on the client? Our hosts only have a "node" name as we don't have nis/ldap/dns for network name resolution. In this case the puppet master's hostname is "dev-puppet" and I did not include that in the client

Re: [Puppet Users] Augeas pam.d argument checking

2010-02-22 Thread Joe McDonagh
David Lutterkort wrote: On Sun, 2010-02-21 at 15:06 -0500, Joe McDonagh wrote: I have not thought about using augeas because last time I tried to build it for our standard OS (Ubuntu 8.04) IIRC it needed a newer version of glibc. I haven't seen that problem - but if you run into it ag

[Puppet Users] Re: Strange messages on 0.25.4.

2010-02-22 Thread Patrick (kc7zzv)
On Feb 22, 9:08 am, deet wrote: >  My work around was to populate the hosts file with a puppet entry and > remove the "--server X.X.X.X" flags from my boot strap script. > Additionally I had to ensure the client node has an entry in the > masters hosts file. > >  I still assume this is something I

Re: [Puppet Users] Augeas pam.d argument checking

2010-02-22 Thread David Lutterkort
On Sun, 2010-02-21 at 15:06 -0500, Joe McDonagh wrote: > I have not thought about using augeas because last time I tried to build > it for our standard OS (Ubuntu 8.04) IIRC it needed a newer version of > glibc. I haven't seen that problem - but if you run into it again, I'd very much appreciate

Re: [Puppet Users] Proper Augeas usage

2010-02-22 Thread David Lutterkort
On Mon, 2010-02-22 at 01:16 -0800, Tim Stoop wrote: > Hi all, > > I'm trying to work with augeas to add pinnings to my /etc/apt/ > preferences file. But I'm not getting my head around it. If I do the > simplest I can think of: > > augeas { "Apt/preferences pinnings for augeas-lenses.": >

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

2010-02-22 Thread David Lutterkort
On Mon, 2010-02-22 at 16:23 +, Paul Elliott wrote: > I'm just starting to look at using Augeas with Puppet to manage some of > our configuration files. I thought I would start with a simple task of > removing an entry from the /etc/hosts file. I'm not finding it simple > though! > > We have a

[Puppet Users] Re: Strange messages on 0.25.4.

2010-02-22 Thread deet
I ran into a similar situation maybe this will help. I just starated rolling out new puppet and ruby packages on Solaris 10. Facter 1.5.7 (staying the same) ruby 1.8.6.? -> 1.8.7 p249 puppet 0.25.1 -> 0.25.4 My initial tests of upgrading an existing puppetmaster and a few nodes went fine.

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

2010-02-22 Thread John Lyman
> ... I know this can be done with a simple exec of sed but ... Or with the "host" native type. See http://docs.reductivelabs.com/references/stable/type.html#host -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send ema

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

2010-02-22 Thread Paul Elliott
Hi all, I'm just starting to look at using Augeas with Puppet to manage some of our configuration files. I thought I would start with a simple task of removing an entry from the /etc/hosts file. I'm not finding it simple though! We have a number of hosts with entries in the /etc/hosts file like t

Re: [Puppet Users] Puppetmaster child processes hang

2010-02-22 Thread Scott Smith
On 2/22/10 7:41 AM, S H wrote: Anything else make sense to check? After about a week I've got 19 processes running. Are you using Passenger? If not, try it. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to

Re: [Puppet Users] Puppetmaster child processes hang

2010-02-22 Thread S H
On Tue, Feb 16, 2010 at 1:21 PM, S H wrote: > > > On Tue, Feb 16, 2010 at 1:13 PM, Scott Smith wrote: > >> S H wrote: >> >>> After an unexpected and unreasonably long hiatus, I've finally returned >>> to implementing Puppet in my environment. >>> >>> My puppetmaster: Puppet 0.25.4, Facter 1.5.7,

Re: [Puppet Users] Rebuilding machines from foreman

2010-02-22 Thread Ohad Levy
:) Lets start with feature requests for anything in your wishlist Ohad On Mon, Feb 22, 2010 at 1:09 PM, LOhit wrote: > Ahhh!!! I thought those files would be generated automatically. One > more item added to my foreman wishlist. :) > > Please let me know if I can contribute in any way. >

Re: [Puppet Users] Rebuilding machines from foreman

2010-02-22 Thread LOhit
Ahhh!!! I thought those files would be generated automatically. One more item added to my foreman wishlist. :) Please let me know if I can contribute in any way. -LOhit On Mon, Feb 22, 2010 at 4:23 PM, Ohad Levy wrote: > Hi, > > Thats correct, but you still need to generate the config fil

Re: [Puppet Users] Rebuilding machines from foreman

2010-02-22 Thread Ohad Levy
Hi, Thats correct, but you still need to generate the config file (e.g. as in the examples) per OS. I guess that in the near future (some code already exist on some github branch) that will auto copy the kernel / ramdisks and create the pxefiles directly. cheers, Ohad On Mon, Feb 22, 2010 at 12

Re: [Puppet Users] Rebuilding machines from foreman

2010-02-22 Thread LOhit
Hi, Yes, I did. And this is what I understand, 1) Clicking the "Build" button creates a pxe config file in the directory specified in "settings.yaml" 2) After the machine is rebuilt, this file/link is removed. Please correct me if I am wrong. Best regards, -LOhit On Mon, Feb 22, 2010 at 2:54

[Puppet Users] parsedfile provider documentation?

2010-02-22 Thread Frederik Wagner
Hi .*, I'm looking for a more or less thorough documentation of the usage of the parsedfile provider. I'm already scanning through all the existing providers but some open questions remain. In particular I want to write a provider editing the /etc/sysconf/ files, in particular I need to alter the

Re: [Puppet Users] Rebuilding machines from foreman

2010-02-22 Thread Ohad Levy
Hi, did you read http://theforeman.org/wiki/foreman/Unattended_installations#How-does-Foreman-manages-TFTP cheers, Ohad On Mon, Feb 22, 2010 at 11:02 AM, LOhit wrote: > Hi, > > I have hit one more dead end :(. After I click on the "Build" button, I get > the message "Host xxx enabled for insta

[Puppet Users] Proper Augeas usage

2010-02-22 Thread Tim Stoop
Hi all, I'm trying to work with augeas to add pinnings to my /etc/apt/ preferences file. But I'm not getting my head around it. If I do the simplest I can think of: augeas { "Apt/preferences pinnings for augeas-lenses.": context => "/files/etc/apt/preferences",

Re: [Puppet Users] Rebuilding machines from foreman

2010-02-22 Thread LOhit
Hi, I have hit one more dead end :(. After I click on the "Build" button, I get the message "Host xxx enabled for installation boot away". And I can see a link created in "/tftpboot/linux-install/pxelinux.cfg" with the MAC address of the machine being rebuilt. However, the symlink points to a non