[Puppet Users] Re: Could not retrieve catalog: Could not find node

2009-06-04 Thread Jeremy Hansen
David Schmitt wrote: > Jeremy Hansen schrieb: > >> notice: Starting Puppet server version 0.24.8 >> debug: Allowing authenticated client blah(10.10.10.11) access to >> puppetmaster.getconfig >> debug: Our client is remote >> debug: Executing '/usr/local/sbin/puppet_node_classifier blah' >> debu

[Puppet Users] Re: Vote for your favorite ticket

2009-06-04 Thread Peter Meier
Hi > This is now fixed. Can people confirm they can see arrows. it's fine for me! thanks a lot for your work! cheers pete --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this grou

[Puppet Users] Re: tags and the include statement

2009-06-04 Thread Dick Davies
Hi Bruce thanks for the reply. I'm showing my ignorance now, but how do 'user' tags differ from 'implicit' tags? My template *does* have a tags array populated, just only with class/node/etc. information from the 'current' class. I just wondered if that was intentional, or if somewhere in the

[Puppet Users] get a file once

2009-06-04 Thread Rene
Hi I want to deploy a customized /etc/multipath.conf file for all our server. Any idea I can do this with puppet? The file should be editable (to mask some wwid etc...). I could try it with file { replace => false} but, if the rpm is allready installed it will not get initialized. Any ideas? BR

[Puppet Users] Re: get a file once

2009-06-04 Thread Peter Meier
Hi > I want to deploy a customized /etc/multipath.conf file for all our > server. Any idea I can do this with puppet? The file should be > editable (to mask some wwid etc...). I could try it with file > { replace => false} but, if the rpm is allready installed it will not > get initialized. if y

[Puppet Users] Re: get a file once

2009-06-04 Thread David Schmitt
Rene schrieb: > Hi > > I want to deploy a customized /etc/multipath.conf file for all our > server. Any idea I can do this with puppet? The file should be > editable (to mask some wwid etc...). I could try it with file > { replace => false} but, if the rpm is allready installed it will not > get

[Puppet Users] Re: get a file once

2009-06-04 Thread Rene
I thought about that too, but I think it is to dangerous, if someone edits the file locali and it then gets overwritten... I think I ensure, that multipath is not installed via kickstart and do it the way pete suggested On Jun 4, 1:52 pm, David Schmitt wrote: > Rene schrieb: > > > Hi > > >

[Puppet Users] Re: does puppet+augeas actually work? limits.conf busticated

2009-06-04 Thread Gajillion
I have the complete augeas install as well as the ruby libs. That's how I was able to test that the paths and inserts are valid Augeas commands. The RPMs were pulled from EPEL 4. Just to be clear - it works fine with just Augeas, but fails under Puppet driven Augeas. [r...@buildtest tests]# ca

[Puppet Users] Re: get a file once

2009-06-04 Thread Rene
I cannot remove multipath from kickstart, since it has a lot of dependencies. I think I will write a custom fact and work with the md5sum of the original /etc/multipath.conf file. On Jun 4, 1:58 pm, Rene wrote: > I thought about that too, but I think it is to dangerous, if someone > edits the f

[Puppet Users] Re: does puppet+augeas actually work? limits.conf busticated

2009-06-04 Thread Gajillion
So, a quick question then. I ran a very verbose strace on puppet while it was going through this change. What I see is this. Augeas libs successfully opens and reads in the target file: 26971 access("/etc/security/limits.conf", R_OK) = 0 26971 open("/etc/security/limits.conf", O_RDONLY) = 6 26

[Puppet Users] Re: does puppet+augeas actually work? limits.conf busticated

2009-06-04 Thread Bryan Kearney
Gajillion wrote: > I have the complete augeas install as well as the ruby libs. That's > how I was able to test that the paths and inserts are valid Augeas > commands. The RPMs were pulled from EPEL 4. Just to be clear - it > works fine with just Augeas, but fails under Puppet driven Augeas. >

[Puppet Users] Re: does puppet+augeas actually work? limits.conf busticated

2009-06-04 Thread Bryan Kearney
Gajillion wrote: > So, a quick question then. I ran a very verbose strace on puppet > while it was going through this change. What I see is this. > You need to differentiate the plugin and augeas. Augeas writes a temp file and then copies it to the final location. Now.. the plugin. The first

[Puppet Users] Re: does puppet+augeas actually work? limits.conf busticated

2009-06-04 Thread Gajillion
Yes. I understand that. I posted the portion of the strace from the second run. On the first run, my result code is this: 26971 write(1, "\33[0;37mdebug: Augeas[memlock](provider=augeas): Files changed, should execute\33[0m", 81) = 81 26971 write(1, "\n", 1) = 1 ... 26971 send

[Puppet Users] Re: get a file once

2009-06-04 Thread Peter Meier
Hi > I cannot remove multipath from kickstart, since it has a lot of > dependencies. :( > I think I will write a custom fact and work with the md5sum of the > original /etc/multipath.conf file. good idea. I think this is the only way around... :/ cheers pete --~--~-~--~~---

[Puppet Users] Re: does puppet+augeas actually work? limits.conf busticated

2009-06-04 Thread Gajillion
Yeah, this assumes you have something already in limits.conf. It will fail if you don't because augeas fails on the last() call. [r...@buildtest security]# tail /etc/security/limits.conf @arcadevhardnproc 8192 @arcadevsoftnofile 2048 @arcadevhar

[Puppet Users] MA Puppet Meetup Tuesday June 9th

2009-06-04 Thread Paul Nasrat
Meet to be held at Cambridge Brewing Company to talk puppet, systems admin, agile systems, and have a few beers When: Tuesday June 9th from 18:00 Where: Kendall Square, Cambrige, MA, USA - http://www.cambrew.com/directions.html How will you find me - I'll try have the puppet book on me and some

[Puppet Users] WWDC Puppeteer lunch

2009-06-04 Thread Allan Marcus
Reminder for Mac Puppeteers going to WWDC How about we meet for lunch at noon on Tuesday. Let's try to get the table closet to the Odwalla refrigerator, just for reference. We can get more specific on this list on the 8th after we verify the set up. I might even get there a little earlier and put

[Puppet Users] Re: does puppet+augeas actually work? limits.conf busticated

2009-06-04 Thread Gajillion
For whatever it's worth, I've been able to trace this to put_store (which is being called from create_lens) being called with NULL for state->value. This happens as Augeas is parsing the existing file and gets to the last value. For some reason, it just keeps going. I'm afraid this is as far as

[Puppet Users] Re: WWDC Puppeteer lunch

2009-06-04 Thread Nigel Kersten
On Thu, Jun 4, 2009 at 9:11 AM, Allan Marcus wrote: > > Reminder for Mac Puppeteers going to WWDC > > How about we meet for lunch at noon on Tuesday. Let's try to get the > table closet to the Odwalla refrigerator, just for reference. We can > get more specific on this list on the 8th after we ve

[Puppet Users] Re: WWDC Puppeteer lunch

2009-06-04 Thread Allan Marcus
MacEnterprise is having a vote on when to meet. I can only meet Tuesday or Thursday for lunch, or just about any time on Wednesday as there are not sessions I'm interested on Wed :-(. Anyone other than Nigel and I going to WWDC? --- Thanks, Allan Marcus 505-667-5666 On Jun 4, 2009, at 10

[Puppet Users] Re: WWDC Puppeteer lunch

2009-06-04 Thread Nigel Kersten
On Thu, Jun 4, 2009 at 2:41 PM, Allan Marcus wrote: > > MacEnterprise is having a vote on when to meet. I can only meet > Tuesday or Thursday for lunch, or just about any time on Wednesday as > there are not sessions I'm interested on Wed :-(. > > Anyone other than Nigel and I going to WWDC? If

[Puppet Users] ANNOUNCE: Facter 1.5.6 released!

2009-06-04 Thread James Turnbull
Facter 1.5.6 is available. This is a minor maintenance release that has resulted from to a Gem spec packaging bug and a small fix to the virtual fact. The next release will be 1.6.0 and include a variety of substantial changes to Facter. You can get the new release at: http://reductivelabs.com/

[Puppet Users] Re: How do I access a nodes variables from outside the scope

2009-06-04 Thread Paul Gear
On May 29, 4:40 pm, Joel Heenan wrote: > I think I'm going to try and do this with external types. I'd be very interested to see what you end up doing with this. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Pup

[Puppet Users] Environment variable access inside an exec

2009-06-04 Thread Brandon Whalen
I've spent some time looking at the example recipes and reading the docs on a problem, but I'm still stumped. I'm trying to add some options to my fstab and am finding some problems. I'm using the environment option to create an environment variable MNT_OPTS that I then reference as part of a sed

[Puppet Users] Re: Environment variable access inside an exec

2009-06-04 Thread RijilV
2009/6/4 Brandon Whalen : > > I've spent some time looking at the example recipes and reading the docs on > a problem, but I'm still stumped. I'm trying to add some options to my fstab > and am finding some problems. I'm using the environment option to create an > environment variable MNT_OPTS tha

[Puppet Users] Environment variable access inside an exec

2009-06-04 Thread Steven VanDevender
Brandon Whalen writes: > > I've spent some time looking at the example recipes and reading the docs on > a problem, but I'm still stumped. I'm trying to add some options to my fstab > and am finding some problems. I'm using the environment option to create an > environment variable MNT_OPTS

[Puppet Users] Re: Environment variable access inside an exec

2009-06-04 Thread Mike Renfro
On 6/4/2009 5:59 PM, Brandon Whalen wrote: > I've spent some time looking at the example recipes and reading the docs on > a problem, but I'm still stumped. I'm trying to add some options to my fstab > and am finding some problems. I'm using the environment option to create an > environment variab

[Puppet Users] Specifying nodes by type

2009-06-04 Thread schickb
I am using puppet to configure EC2 instances at Amazon. After each restart, the hostname can change and I don't always have a public DNS name. I'd like to have the client specify their own node names. Actually, what I really want is for clients to specify a node "type". In other words, I don't ca

[Puppet Users] Re: Specifying nodes by type

2009-06-04 Thread Thomas Bellman
schickb wrote: > I'd like to have the client specify their own node names. Actually, > what I really want is for clients to specify a node "type". In other > words, I don't care what the machine or domain name is... I just want > to know the purpose of the node. Is a "compute" node or a "database

[Puppet Users] Re: Metrics and storeconfigs

2009-06-04 Thread Paul Gear
On Jun 2, 8:10 pm, Ohad Levy wrote: > 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 ful

[Puppet Users] Re: does puppet+augeas actually work? limits.conf busticated

2009-06-04 Thread David Lutterkort
On Wed, 2009-06-03 at 12:56 -0700, Gajillion wrote: > All, > I've tried several lenses and several iterations and have never been > able to get augeas and puppet to work together. My latest attempt: > > augeas {"memlock": > changes => [ > "ins domain after /files/etc/secu

[Puppet Users] Re: Specifying nodes by type

2009-06-04 Thread Brad
On Jun 4, 4:26 pm, Thomas Bellman wrote: > I would probably do it with something like this: > >      class node::compute { ... } >      class node::database { ... } > >      node default >      { >          include "node::$nodetype" >      } > > and get myself a custom fact 'nodetype' that gets s

[Puppet Users] Re: Specifying nodes by type

2009-06-04 Thread Brad
On Jun 4, 4:26 pm, Thomas Bellman wrote: >  However, a "real" > custom fact is probably cleaner.) > I'm working on a "real" fact by following these steps: http://reductivelabs.com/trac/puppet/wiki/AddingFacts I verified that the custom fact works when run locally on the server. On the client

[Puppet Users] Changes to files

2009-06-04 Thread josbal
Hi Guys, Quick question about fileservering files with puppet. I understand that a puppet client re-runs its catalogue, when it knows that catalogue has changed from the last time it ran a check. I just wanted to know if this change detection extends to files. Example: node test1 includes class

[Puppet Users] Re: Specifying nodes by type

2009-06-04 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Brad wrote: > On Jun 4, 4:26 pm, Thomas Bellman wrote: >> I would probably do it with something like this: >> >> class node::compute { ... } >> class node::database { ... } >> >> node default >> { >> include "node::$nodet

[Puppet Users] Reductive Labs is hiring

2009-06-04 Thread Luke Kanies
Hi all, Reductive Labs is hiring people in support and development. I'm listing multiple jobs here even though we can't hire all of them at once, because I figure each of the positions will take a while to fill. We hope to have the job reqs posted "soon", but we're hiring and hoping to ha

[Puppet Users] Re: Specifying nodes by type

2009-06-04 Thread Brad
On Jun 4, 8:27 pm, Brad wrote: > I'm working on a "real" fact by following these steps: >    http://reductivelabs.com/trac/puppet/wiki/AddingFacts > > I verified that the custom fact works when run locally on the server. > On the client when I run: >    puppetd --server hostname --test --factsync

[Puppet Users] Re: Changes to files

2009-06-04 Thread David Schmitt
josbal schrieb: > Hi Guys, > > Quick question about fileservering files with puppet. I understand > that a puppet client re-runs its catalogue, when it knows that > catalogue has changed from the last time it ran a check. Not entirely correct. The client applies the complete[1] catalogue everyt

[Puppet Users] Re: Changes to files

2009-06-04 Thread David Schmitt
josbal schrieb: > Hi Guys, > > Quick question about fileservering files with puppet. I understand > that a puppet client re-runs its catalogue, when it knows that > catalogue has changed from the last time it ran a check. Not entirely correct. The client applies the complete[1] catalogue everyt

[Puppet Users] Re: Changes to files

2009-06-04 Thread josbal
Hi David, Thanks for your response. So if i am using "source" for my file, will it be downloaded everytime regardless of whether the file already exists on the client, or will it only download it if the file doesn't exist on the client. Or does it use md5 to compare the file and only download if

[Puppet Users] Re: Changes to files

2009-06-04 Thread David Schmitt
josbal schrieb: > Hi David, > > Thanks for your response. > > So if i am using "source" for my file, will it be downloaded everytime > regardless of whether the file already exists on the client, or will > it only download it if the file doesn't exist on the client. Or does > it use md5 to compa