[Puppet Users] Deploying Xcode 4.3.2 with Puppet

2012-03-27 Thread Marc
Hello I can't find the good provider to deploy Xcode4 with puppet. Apple gives a .dmg which containing a .app, but in order to install Xcode, you have to execute this .app like a pkg. Anybody knows if it's possible actually with puppet ? Thanks for your help -- You received this message

[Puppet Users] Re: Deploying Xcode 4.3.2 with Puppet

2012-03-27 Thread Marc
Hi again On 27 mar, 10:12, Marc marcol...@gmail.com wrote: Hello I can't find the good provider to deploy Xcode4 with puppet. Apple gives a .dmg which containing a .app, but in order to install Xcode, you have to execute this .app like a pkg. Anybody knows if it's possible actually with

Re: [Puppet Users] Package: ensure = purged

2012-03-27 Thread Antidot SAS
Thx for the answer On Mon, Mar 26, 2012 at 6:02 PM, Michael Stahnke stah...@puppetlabs.comwrote: On Mon, Mar 26, 2012 at 8:46 AM, Antidot SAS antidot...@gmail.com wrote: Hi everybody, I have the following output for a redhat 5 server with puppet 2.7.9: [root@]:/var/log # puppet

Re: [Puppet Users] Plugins and Hiera

2012-03-27 Thread pablo
Hi, You are indeed absolutely right, and I am very happy about that. Thanks!! I think the confusion is coming from here: http://puppetlabs.com/blog/first-look-installing-and-using-hiera/ There it constantly says it queries Facter, which turns out to be wrong. BR/Pablo On 03/25/2012 06:20

[Puppet Users] Arrays from templates

2012-03-27 Thread pablo
Hi, I am having an issue trying to use the inline_template function to return an array. This is what I do: $array = inline_template (%= a=['a1','b2','c3']; a %) notify {array: ${array}:} And that works, showing the typical comma-less string: notice: /Stage[main]//Notify[array:

Re: [Puppet Users] Arrays from templates

2012-03-27 Thread R.I.Pienaar
- Original Message - From: pablo pablo.fernan...@cscs.ch To: puppet-users@googlegroups.com Sent: Tuesday, March 27, 2012 3:55:05 PM Subject: [Puppet Users] Arrays from templates Hi, I am having an issue trying to use the inline_template function to return an array. This is

Re: [Puppet Users] Plugins and Hiera

2012-03-27 Thread Gary Larizza
Yes, I should update that. It looks for a variable IN SCOPE that matches the variable you've used in your hierarchy. Let me put that in for a blog update. On Tue, Mar 27, 2012 at 7:47 AM, pablo pablo.fernan...@cscs.ch wrote: Hi, You are indeed absolutely right, and I am very happy about

[Puppet Users] dsl check if port is open

2012-03-27 Thread david.gar...@gmail.com
Can I check if a port is open for DSL? I need to check if the box has an acl allowing the nagios server to connect via nrpe before writing nagios config. If the port is closed I would like to defer the checks to mcollective. -- David Garvey -- You received this message because you are

Re: [Puppet Users] dsl check if port is open

2012-03-27 Thread Jeff McCune
On Tue, Mar 27, 2012 at 11:05 AM, david.gar...@gmail.com david.gar...@gmail.com wrote: Can I check if a port is open for DSL? I need to check if the box has an acl allowing the nagios server to connect via nrpe before writing nagios config. If the port is closed I would like to defer the

[Puppet Users] Re: dsl check if port is open

2012-03-27 Thread Krzysztof Wilczynski
Ho David, On Tuesday, 27 March 2012 19:05:09 UTC+1, David Garvey wrote: Can I check if a port is open for DSL? I need to check if the box has an acl allowing the nagios server to connect via nrpe before writing nagios config. [...] Managing firewall using Puppet as well, as per what Jeff

Re: [Puppet Users] Re: dsl check if port is open

2012-03-27 Thread Jeff McCune
On Tue, Mar 27, 2012 at 2:24 PM, Krzysztof Wilczynski krzysztof.wilczyn...@linux.com wrote: Ho David, On Tuesday, 27 March 2012 19:05:09 UTC+1, David Garvey wrote: Can I check if a port is open for DSL? I need to check if the box has an acl allowing the nagios server to connect via nrpe

[Puppet Users] puppet with launchd - problem with hostname

2012-03-27 Thread David Alden
Hi, We're having a problem with our puppet install on our mac's. We've setup a launchd plist following the instructions at: http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_With_Launchd The problem we're having is that when the mac initially boots, it's hostname is fubar.local -

Re: [Puppet Users] puppet with launchd - problem with hostname

2012-03-27 Thread Jeff McCune
On Tue, Mar 27, 2012 at 2:57 PM, David Alden d...@alden.name wrote: Hi, We're having a problem with our puppet install on our mac's. We've setup a launchd plist following the instructions at: http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_With_Launchd The problem we're

Re: [Puppet Users] Re: dsl check if port is open

2012-03-27 Thread david.gar...@gmail.com
Thanks Jeff and Krzysztof, I think I will write a facter using netcat or something then and catch it in the manifests. nc -z domain_name port Cheers, DGarvey On Tue, Mar 27, 2012 at 2:36 PM, Jeff McCune j...@puppetlabs.com wrote: On Tue, Mar 27, 2012 at 2:24 PM, Krzysztof Wilczynski

[Puppet Users] Re: How do you modify the default settings for the internal firewall chains using the firewall module?

2012-03-27 Thread Chris O'Donnell
I just went through this last week. This isn't available in the stable 0.4 release from puppetforge, you need to get the current master branch from https://github.com/kbarber/puppetlabs-firewall Once you get this, you can do this: firewallchain { 'INPUT:filter:IPv4': policy=

[Puppet Users] Getting server facts from a mysql server

2012-03-27 Thread Gino Lisignoli
I'm rather new to puppet and taking over an existing work in progress installation of puppet. The problem I have at the moment is that we have a mysql database that contain some facts about our servers (what their ip address are supposed to be, who they relay mail to, etc) and I'm not sure how