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

[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 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 lohi...@gmail.com wrote: Hi, I have hit one more dead end :(. After I click on the Build button, I get the message Host xxx

[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

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 PM,

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

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 ohadl...@gmail.com wrote: Hi, Thats correct, but you still need to

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 lohi...@gmail.com 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

Re: [Puppet Users] Puppetmaster child processes hang

2010-02-22 Thread S H
On Tue, Feb 16, 2010 at 1:21 PM, S H shdashb...@gmail.com wrote: On Tue, Feb 16, 2010 at 1:13 PM, Scott Smith sc...@ohlol.net wrote: S H wrote: After an unexpected and unreasonably long hiatus, I've finally returned to implementing Puppet in my environment. My puppetmaster: Puppet

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

[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 email

[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.

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

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 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

[Puppet Users] Re: Strange messages on 0.25.4.

2010-02-22 Thread Patrick (kc7zzv)
On Feb 22, 9:08 am, deet somew...@gmail.com 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

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

[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 clients

[Puppet Users] Re: Strange messages on 0.25.4.

2010-02-22 Thread Patrick (kc7zzv)
On Feb 22, 12:37 pm, deet somew...@gmail.com 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

[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

[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

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 toby.ridd...@gmail.com 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

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 can

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 j...@sngx.net wrote: On Mon, 22 Feb 2010 21:17:52 +, Toby Riddell toby.ridd...@gmail.com wrote: I received my copy of ;login (the Usenix magazine) today. There's an article* comparing CPU utilisation of Puppet and Cfengine. To abbreviate

[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 toby.ridd...@gmail.com 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

[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 {

[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