Re: [Puppet Users] Dealing with samhain

2010-01-08 Thread Trevor Vaughan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vince, If you really want to do this, I would do the first scenario you describe with a few key points. 1) Let puppet run 2) Have an exec in puppet that runs a job in the background that does the following: - Waits until all puppet instances have f

[Puppet Users] Dealing with samhain

2010-01-08 Thread Vince
We just starting using samhain on our servers. Since updates to our puppet manifests tend to change files on the system that samhain monitors, I'm looking for a good way to reinitialize the samhain database whenever puppet changes something on the system to reduce notifications that samhain produc

Re: [Puppet Users] Overriding resources created with a define

2010-01-08 Thread Trevor Vaughan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I think that the issue is that the define isn't actually scoped under the class, so the inherit doesn't pick up that the file is actually under that class at all. Does that make sense? Try writing the same statement but move the defines outside of th

Re: [Puppet Users] Overriding resources created with a define

2010-01-08 Thread John T. Guthrie
Hello all, First, I would like to thank you for your suggestion about an 'if/case' statement. I think that should do what I want. However, I would think that even if defines are scoped separately from classes, that wouldn't necessarily apply in the case that I outlined below since I used a

Re: [Puppet Users] Overriding resources created with a define

2010-01-08 Thread Trevor Vaughan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 So, I believe (someone please correct me if I'm wrong) that defines are actually separately scoped from the classes that contain them and cannot currently be overridden. The nesting that you have below is merely a convenience for writing: define test

[Puppet Users] Overriding resources created with a define

2010-01-08 Thread John T. Guthrie
Hello all, Suppose you have a resource that is created with a define such as the following: class test { define myfile () { file { "/tmp/$name": content => generate("/bin/echo","$name"); } } myfile { "foo": } } And it turns

[Puppet Users] Dashboard questions

2010-01-08 Thread Scott Smith
I have a couple questions on the Dashboard: 1) It seems to assume anyone who can register an account should be able to modify nodes, etc. Is there a way to create roles? I checked the users table but didn't see anything obvious. 2) Is there a way to add nodes programmatically? -scott -- You

[Puppet Users] Re: authentication issue with passenger (resolved)

2010-01-08 Thread Christian Hofstaedtler
You know, this usually means that you don't have these settings in your puppet.conf, as doc'ed: Required puppet.conf settings: [puppetmasterd] ssl_client_header = SSL_CLIENT_S_DN ssl_client_verify_header = SSL_CLIENT_VERIFY -ch On Jan 8, 7:30 pm, jb wrote: > Thank you Silviu - I just

[Puppet Users] Re: authentication issue with passenger (resolved)

2010-01-08 Thread jb
Thank you Silviu - I just went through a 0.25.2 installation using passenger 2.2.8 just yesterday and had the same issues which started this thread: puppetmasterd[29797]: Puppet Server (Rack): Internal Server Error: Unhandled Exception: "Host app3.chassis1 10.x.x.x) not authorized to call fileserv

Re: [Puppet Users] Re: Install gem packages behind a proxy

2010-01-08 Thread Peter Meier
Yeah, I really don't want to patch puppet. (It's harder for me to maintain local patches for future upgrades). Is this something that will make it upstream? well if a ticket is opened about the issue, the patch is sent to the -dev list and get accepted it will make it upstream. but somebody ha

Re: [Puppet Users] Multiple Environments

2010-01-08 Thread Eric Heydrick
On Fri, 8 Jan 2010, Kenneth Holter wrote: > Do you mean running puppetmaster on different linux servers? It would > probably be the best solution, but I do think I prefer running multiple > puppetmasters on one linux server if possible.. How are other people > testing new puppetmasters? > > On

[Puppet Users] Discussion of Puppet usage and community

2010-01-08 Thread Vivek
Discussion of Puppet usage and community = page:http://www.123maza.com/website-designing/businesz = -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. T

Re: [Puppet Users] (Module custom(/custom)) using the deprecated 'plugins' directory for ruby extensions; please move to 'lib'

2010-01-08 Thread Silviu Paragina
Check out http://reductivelabs.com/trac/puppet/wiki/ReleaseNotes#deprecations The short answer is rename module/plugins to module/libs. About module naming there is a thread on the list started by a...@lab42 if you wish I can give you a link. Aside from that nothing I know. PuppetBestPractice

Re: [Puppet Users] Multiple Environments

2010-01-08 Thread Scott Smith
Kenneth Holter wrote: Do you mean running puppetmaster on different linux servers? It would probably be the best solution, but I do think I prefer running multiple puppetmasters on one linux server if possible.. How are other people testing new puppetmasters? What?! You mean your puppetmast

[Puppet Users] Re: Install gem packages behind a proxy

2010-01-08 Thread seph
James Turnbull writes: > seph wrote: >> Hi all. My particular environment doesn't allow most of the machines to >> make direct external connections, so I send a lot of things through >> proxies. And now, I'm trying to figure out how to use puppet to install >> gems, via proxy. > > John Ferlito h

Re: [Puppet Users] Multiple Environments

2010-01-08 Thread Kenneth Holter
Do you mean running puppetmaster on different linux servers? It would probably be the best solution, but I do think I prefer running multiple puppetmasters on one linux server if possible.. How are other people testing new puppetmasters? On Thu, Dec 31, 2009 at 6:42 PM, Scott Smith wrote: > Kenn

[Puppet Users] Re: SSL_connect SYSCALL returned=5

2010-01-08 Thread JL
> can you recreate with > > #>puppetd --test --debug --trace > > then post the output I don't have a debug trace, but I can tell you that I switched from webrick to mongrel with nginx and my problem went away. -- You received this message because you are subscribed to the Google Groups "Puppet U

Re: [Puppet Users] Re: facter

2010-01-08 Thread Paul Nasrat
> Hmm, I'm not really a fan of such a return type thing. My proposal would > be to have the old behavior (return a string) and then if somebody > really rather likes an array in different places, they could write a > wrapper method which would split the string for them. +1 Well I think eventually

Re: [Puppet Users] Re: facter

2010-01-08 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> Ok, some more data from git history: >> http://github.com/reductivelabs/facter/commit/33fb7709404e706801683e6c47ab7a0a5a1884b1 > >> It looks like "return an array" is new behavior for exec, and maybe it >> wasn't backported/tested for all of the ol

Re: [Puppet Users] (Module custom(/custom)) using the deprecated 'plugins' directory for ruby extensions; please move to 'lib'

2010-01-08 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > What should the structure now be / where should i be moving things to > (just rename plugins to lib seems like what's implied but ... i'm > apprehensive :) ) http://reductivelabs.com/trac/puppet/wiki/ReleaseNotes#deprecations so it is just renaming