Re: [Puppet Users] installing packages from debian backports?

2011-12-22 Thread Walter Heck
On Thu, Dec 22, 2011 at 11:19, Tom De Vylder t...@penumbra.be wrote: How about this: package { 'puppetmaster/squeeze-backports': ensure = installed, } Looks a lot easier to me. It takes all the dependencies it needs from squeeze when available. If it can't find any suitable dependencies

Re: [Puppet Users] Recommendation for general practice for application deployment?

2011-12-22 Thread Felix Frank
Hi, On 12/20/2011 05:26 PM, Kenneth Lo wrote: So the question is, given the service resource is also within the same module with the file, how do I make sure we can do the following sequentially?: 1. Shutdown the tomcat instance (service resource in tomcat module) 2. Update the

[Puppet Users] Puppet Master's Certificate Authority - how might I use it for other than just puppet ?

2011-12-22 Thread Dan White
First, some background to show how I got to this question. The particular idea I have is to use it for rsyslog certificates. I was planning to use the process described [1]here to run a CA on the puppet master machine, and then use puppet to distribute/maintain the certificates. The process

Re: [Puppet Users] installing packages from debian backports?

2011-12-22 Thread Matt Zagrabelny
On Thu, Dec 22, 2011 at 3:31 AM, Walter Heck walterh...@gmail.com wrote: On Thu, Dec 22, 2011 at 11:19, Tom De Vylder t...@penumbra.be wrote: How about this: package { 'puppetmaster/squeeze-backports':  ensure = installed, } Looks a lot easier to me. It takes all the dependencies it

[Puppet Users] Re: Best practice for module params in foo::params

2011-12-22 Thread jcbollinger
On Dec 21, 3:40 pm, Walter Heck walterh...@gmail.com wrote: Hello, a related question here on this list sparked me to write this question, which has been bugging me for a bit now: I use the following pattern inside my modules quite abit: class foo::params{   $bar = $::foo_bar ? {    

[Puppet Users] Re: What is the offical variable scope best practice?

2011-12-22 Thread jcbollinger
On Dec 21, 3:07 pm, zoredache franc...@gmail.com wrote: On Nov 17, 2:21 pm, jcbollinger  There is none.  Variables declared inside node definitions are not accessible elsewhere except via dynamic scoping.  As a result, in 2.8 they will not be accesible outside their node definitions at all.

Re: [Puppet Users] Re: Best practice for module params in foo::params

2011-12-22 Thread Walter Heck
Hmm, that's the second time in two weeks someone mentions hiera as a solution for a problem that cannot easily be solved inside puppet, I guess it's time to go check it out :) On Thu, Dec 22, 2011 at 15:56, jcbollinger john.bollin...@stjude.orgwrote: On Dec 21, 3:40 pm, Walter Heck

Re: [Puppet Users] Re: What is the offical variable scope best practice?

2011-12-22 Thread Walter Heck
Just to make sure I fully understand this subject, could some provide a little meta-example of what node variables and dynamic scoping are? I'm sure I'm not the only one unsure here :) On Thu, Dec 22, 2011 at 16:07, jcbollinger john.bollin...@stjude.orgwrote: On Dec 21, 3:07 pm, zoredache

Re: [Puppet Users] installing packages from debian backports?

2011-12-22 Thread Matt Zagrabelny
On Thu, Dec 22, 2011 at 7:32 AM, Matt Zagrabelny mzagr...@d.umn.edu wrote: On Thu, Dec 22, 2011 at 3:31 AM, Walter Heck walterh...@gmail.com wrote: On Thu, Dec 22, 2011 at 11:19, Tom De Vylder t...@penumbra.be wrote: How about this: package { 'puppetmaster/squeeze-backports':  ensure =

[Puppet Users] Re: Network config module won't work. -Mac address errors

2011-12-22 Thread Luke
I mean does the code look ok? Are we thinking that it is a prob with the vm config on the esx side? On Dec 21, 4:30 pm, Luke lutay...@gmail.com wrote: Hi, The macaddress in the vm is set to automatic but the populated value matches exactly the value that I put into the file, that is where I

Re: [Puppet Users] Re: Best practice for module params in foo::params

2011-12-22 Thread Nigel Kersten
On Thu, Dec 22, 2011 at 6:54 AM, Walter Heck walterh...@gmail.com wrote: Hmm, that's the second time in two weeks someone mentions hiera as a solution for a problem that cannot easily be solved inside puppet, I guess it's time to go check it out :) We're committed to Hiera, and are looking

Re: [Puppet Users] installing packages from debian backports?

2011-12-22 Thread Walter Heck
I guess your best workaround then is to pin the package and all it's dependencies to backports. On Thu, Dec 22, 2011 at 18:16, Matt Zagrabelny mzagr...@d.umn.edu wrote: On Thu, Dec 22, 2011 at 7:32 AM, Matt Zagrabelny mzagr...@d.umn.edu wrote: On Thu, Dec 22, 2011 at 3:31 AM, Walter Heck

[Puppet Users] Puppet Labs Newsletter coming to Puppet Users list

2011-12-22 Thread Nigel Kersten
I wanted to give you all a heads up that we're going to start sending our Puppet Labs Newsletter to the puppet-users list once a month. You can see older versions here: http://puppetlabs.com/resources/newsletter/ You'll see from the other versions that each month we cover the whole Puppet