Re: [Puppet Users] Building a better puppetrun and related ideas

2010-02-11 Thread Alan Barrett
On Wed, 10 Feb 2010, Michael DeHaan wrote: > We're attempting to provide a reason to not use cron :) I have a requirement that puppet may not change anything on a production host without change control approval in advance. It would be nice if a new version of puppet had better support for this us

Re: [Puppet Users] ssh::auth problem

2010-02-11 Thread Andrew Schulman
> I had include ssh:auth in ssh/manifests/init.pp at first but that didn't > work. then I put it in my baseclass that is included in all nodes but > that wouldn't work and finally I added it to the node{} statement. I'm > a little confused because my ssh module is included on all machines in >

Re: [Puppet Users] ssh::auth problem

2010-02-11 Thread Andrew Schulman
> The docs mention this requirement at > http://www.reductivelabs.com/trac/puppet/wiki/Recipes/ModuleSSHAuth#detailed-usage > , but looking at it now I see that it's probably not as clear as I thought. > Sorry about that. I'll make it more explicit. OK, I've made this clearer in the docs, and add

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

2010-02-11 Thread Alan Barrett
On Tue, 09 Feb 2010, Frederik Wagner wrote: > I just tried using the define, and hit a problem which I would avoid > (and actually need to avoid) by using the not implemented feature. > Realizing the virtual define across modules forces me to give the > namespace of the define explicitly, i.e. crea

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

2010-02-11 Thread Marcin Owsiany
On Tue, Feb 09, 2010 at 07:59:08PM -0500, Joe McDonagh wrote: > 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 |

[Puppet Users] vmwaretools

2010-02-11 Thread slune
hi, i am trying to run /usr/bin/vmware-config-tools.pl -d, but i was end with exec timeout. I cannot find any think on google. Have anyone experience with this? It works, when I run it normally from shell. this is my exec resource. { "vmwaretools_config": subscribe => [ Package["VMwareTools"]

[Puppet Users] Re: Port 8139 needs to be open between machine running puppetrun and a client puppetd machine, correct?

2010-02-11 Thread grg350
Don, looks like you are able to run puppetrun to configure clients. Its not working for me. My config files goes: On Client: cat puppet.conf [main] server=puppetmaster.mydomain.com logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var/run/puppet factpath=$vardir/lib/

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

2010-02-11 Thread Frederik Wagner
On Thu, Feb 11, 2010 at 10:42 AM, Alan Barrett wrote: > On Tue, 09 Feb 2010, Frederik Wagner wrote: >> I just tried using the define, and hit a problem which I would avoid >> (and actually need to avoid) by using the not implemented feature. >> Realizing the virtual define across modules forces me

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

2010-02-11 Thread Tim Stoop
Hey, On 10 feb, 01:57, Nigel Kersten wrote: > $ rmadison -u debian {puppet,facter} | grep unstable >     puppet |   0.25.4-1 |      unstable | source, all >     facter |    1.5.7-1 |      unstable | source, all I've been running these for a little while now (compiled from git) and I just upgrade

Re: [Puppet Users] vmwaretools

2010-02-11 Thread Marc Fournier
Hello, > hi, i am trying to run /usr/bin/vmware-config-tools.pl -d, but i was > end with exec timeout. I cannot find any think on google. Have anyone > experience with this? I don't know what the -d switch is for, but AFAIK vmware-config-tools.pl is an interactive script which waits for user inpu

[Puppet Users] Storeconfigs connection pool problem

2010-02-11 Thread Daniel Kerwin
Hi list, i just enabled storeconfigs and cannot use puppetrun on more than 5 hosts. When i try 6+ i get the error message: puppetmasterd[16209]: could not obtain a database connection within 5 seconds. The max pool size is currently 5; consider increasing it. My Mysql setup allows a lot more co

Re: [Puppet Users] vmwaretools

2010-02-11 Thread Filip Slunecko
/usr/bin/vmware-config-tools.pl -d should be without asking. When I run it in the bash It ends in a minute, without asking any thing. I found only this bug (http://photographersofficeonline.com/issues/910), but it's old one and is closed (solved?). Filip On Thu, Feb 11, 2010 at 1:10 PM, Marc Four

Re: [Puppet Users] vmwaretools

2010-02-11 Thread Marc Fournier
> should be without asking. When I > run it in the bash It ends in a minute, without asking any thing. Ok, I suppose this is the part where it compiles a kernel module, which can indeed take a while. You have a "timeout" parameter which can be used in this case: exec { "/usr/bin/vmware-config-

Re: [Puppet Users] ssh::auth problem

2010-02-11 Thread Ashley Penney
Awesome, thanks. I've got to muck up the module now because I want to be able to stick my key in as root so that I can do some automated ssh loop stuff, but it defaults to dealing with /home/$user and /root doesn't fit with that. :) On Thu, Feb 11, 2010 at 4:01 AM, Andrew Schulman < google-groups

Re: [Puppet Users] ssh::auth problem

2010-02-11 Thread Andrew Schulman
> Awesome, thanks. > > I've got to muck up the module now because I want to be able to stick my key > in as root so that I can do some automated ssh loop stuff, but it defaults > to dealing with /home/$user and /root doesn't fit with that. :) Yes, I do that too. That's what the home parameter is

Re: [Puppet Users] Re: Failed to retrieve current state of resource: Error 400 on SERVER: Permission denied

2010-02-11 Thread Anchi Zhang
On Wed, Feb 10, 2010 at 5:10 PM, jcbollinger wrote: > > On Feb 10, 3:21 pm, Anchi Zhang wrote: > > [...] > > > file { "/etc/shadow": > > source => "puppet:///solaris//etc/shadow", > > } > > [...] > > > I get the following errors unless the source is world readable. > > > > On puppetmaster

Re: [Puppet Users] vmwaretools

2010-02-11 Thread Joe McDonagh
Marc Fournier wrote: should be without asking. When I run it in the bash It ends in a minute, without asking any thing. Ok, I suppose this is the part where it compiles a kernel module, which can indeed take a while. You have a "timeout" parameter which can be used in this case: exec {

Re: [Puppet Users] vmwaretools

2010-02-11 Thread Filip Slunecko
I stopped process after 30 minutes (99% CPU whole time). It looks like it's stuck somewhere. But I don't know how to realize what is wrong. Filip On Thu, Feb 11, 2010 at 2:40 PM, Marc Fournier wrote: > >>  should be without asking. When I >> run it in the bash It ends in a minute, without asking

Re: [Puppet Users] vmwaretools

2010-02-11 Thread Joe McDonagh
Filip Slunecko wrote: I stopped process after 30 minutes (99% CPU whole time). It looks like it's stuck somewhere. But I don't know how to realize what is wrong. Filip On Thu, Feb 11, 2010 at 2:40 PM, Marc Fournier wrote: should be without asking. When I run it in the bash It ends in a mi

Re: [Puppet Users] "What is Puppet?" Presentation

2010-02-11 Thread John Arundel
On Wed, Feb 10, 2010 at 10:50 PM, Avi Miller wrote: >> Might be something to mine here :) >> http://reductivelabs.com/trac/puppet/wiki/PuppetPresentations > > That's exactly what I was looking for. Go go crowd-surfed Google searching. Do they like badly hand-drawn cartoons? If so, feel free to us

Re: [Puppet Users] Building a better puppetrun and related ideas

2010-02-11 Thread Scott Smith
Alan Barrett wrote: On Wed, 10 Feb 2010, Michael DeHaan wrote: We're attempting to provide a reason to not use cron :) I have a requirement that puppet may not change anything on a production host without change control approval in advance. It would be nice if a new version of puppet had bett

[Puppet Users] Missing facts

2010-02-11 Thread Sharada
Hi, When puppet master compiles catalog for the client( x.x.x.x ), I get this message in my logs - Feb 11 19:11:02 domU-12-31-39-0A-5D-54 puppetmasterd[2039]: Could not find facts for x.x.x.x; you probably have a discrepancy between the node and fact names Feb 11 19:11:03 domU-12-31-39-0A-5D-54 pu

[Puppet Users] puppetrun doesn't update the clients

2010-02-11 Thread Raj Gurung
I am trying to configure puppetrun to configure clients from the puppetmaster. But for some reason, its not working for me. My config files goes: On Client: cat puppet.conf [main] server=puppetmaster.mydomain.com logdir=/var/log/puppet vardir=/var/lib/puppet ssldir=/var/lib/puppet/ssl rundir=/var

Re: [Puppet Users] Building a better puppetrun and related ideas

2010-02-11 Thread Ohad Levy
Hi, May I recommend that you have a look at the ext directory for puppetlisten/puppetrun[1], this two scripts I wrote a while ago reuse puppet certificate infrastructure to trigger remote runs. additionally, I've created a query interface in foreman[2], which could probably give you some ideas of

Re: [Puppet Users] using (possibly) undefined out of scope variables in an erb template

2010-02-11 Thread Ohad Levy
you might be hitting - http://projects.reductivelabs.com/issues/2309 Ohad On Thu, Feb 11, 2010 at 1:09 AM, Oded wrote: > I'm trying to use (possibly) undefined variables that are not in the > scope of my class in an erb template. > How do I combine this : > > <% if has_variable?("myvar") then

Re: [Puppet Users] vmwaretools

2010-02-11 Thread Ohad Levy
the way we solved it is by setting up an additional service which compiles and set the driver (main reason for that was that network gets restarted which might disturb the puppet run) an example can be found here: http://theforeman.org/repositories/entry/foreman/app/views/unattended/snippets/_vmwa

Re: [Puppet Users] "What is Puppet?" Presentation

2010-02-11 Thread Avi Miller
John Arundel wrote: Do they like badly hand-drawn cartoons? If so, feel free to use mine: Thanks, I quite like yours! -- 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.com. To uns

Re: [Puppet Users] Re: Port 8139 needs to be open between machine running puppetrun and a client puppetd machine, correct?

2010-02-11 Thread Iain Sutton
Hi, We are able to successfully invoke puppetrun from the puppetmaster. The two main differences between our configuration and what is posted below are: a) the line 'server=puppet.mydomain.com' is in the [puppetd] section on the client, not in the [main] section b) we don't have a namespaceauth.c

Re: [Puppet Users] Re: Port 8139 needs to be open between machine running puppetrun and a client puppetd machine, correct?

2010-02-11 Thread Raj Gurung
Modified the puppet.conf but no joy still. # puppetrun -d --host client.mydomain.com debug: Parsing /etc/puppet/puppet.conf Finished I dont see the changes pushed to client.mydomain.com box. I wonder if LDAP is required component for puppetrun? Thanks, grg350 On Thu, Feb 11, 2010 at 12:44 PM, I

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

2010-02-11 Thread Joel Ebel
I've reported this bug to Ubuntu. The solution is to rebuild ruby1.8 without pthreads, unless ruby fixes the bug upstream which causes the hang. https://bugs.launchpad.net/ubuntu/+source/ruby1.8/+bug/520715 Joel On Feb 10, 2:42 pm, Nigel Kersten wrote: > On Wed, Feb 10, 2010 at 11:48 AM, Nigel

[Puppet Users] satellite sites management

2010-02-11 Thread Nat
Hi, We have got puppet set up and running at our main office with no issues. We are using an external node classifier instead of directly creating node definition files. We would like to manage our remote offices using puppet also. A little about our set up. From our main site we have VPN links o

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

2010-02-11 Thread Dan
I am seeing the same thing. On the puppet master, the http log shows: DEBUG Puppet::Network::HTTP::WEBrickREST is invoked. [2010-02-11 18:51:13] xxx1076.xx.com - - [11/Feb/2010:18:51:13 PST] "GET /production/file_metadatas/modules/faban2/benchmarks? &&links=manage&recurse=true HTTP/1.1" 400

Re: [Puppet Users] satellite sites management

2010-02-11 Thread Joe McDonagh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Nat wrote: > Hi, > > We have got puppet set up and running at our main office with no > issues. > We are using an external node classifier instead of directly creating > node definition files. > > We would like to manage our remote offices using pupp

Re: [Puppet Users] Storeconfigs connection pool problem

2010-02-11 Thread Joe McDonagh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Daniel Kerwin wrote: > Hi list, > > i just enabled storeconfigs and cannot use puppetrun on more than 5 > hosts. When i try 6+ i get the error message: > > puppetmasterd[16209]: could not obtain a database connection within 5 > seconds. The max pool