Re: [Puppet Users] Hiera: Bug with false booleans

2012-03-26 Thread Lars Francke
Thanks Gary, done: Cheers, Lars -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to pu

[Puppet Users] Re: Dependency cycle woes

2012-03-26 Thread jcbollinger
On Mar 23, 12:11 pm, Tom Barber wrote: > Hi guys > > I've asked around on the IRC on the channel to no avail, partly cause > of difficulty collating all the information required, so hopefully I > can do a better job here. > > At a very high level the crux of my question is thus: > > http://analy

Re: [Puppet Users] Re: Dependency cycle woes

2012-03-26 Thread Tom Barber
On 26/03/2012 14:57, jcbollinger wrote: On Mar 23, 12:11 pm, Tom Barber wrote: Hi guys I've asked around on the IRC on the channel to no avail, partly cause of difficulty collating all the information required, so hopefully I can do a better job here. At a very high level the crux of my quest

[Puppet Users] Package: ensure => purged

2012-03-26 Thread Antidot SAS
Hi everybody, I have the following output for a redhat 5 server with puppet 2.7.9: [root@]:/var/log # puppet apply -e 'package { locate: (continue) ensure => purged, (continue) } (continue) ' notice: /Stage[main]//Package[locate]/ensure: created notice: Finished catalog run in 4.71 seconds [

Re: [Puppet Users] Package: ensure => purged

2012-03-26 Thread Michael Stahnke
On Mon, Mar 26, 2012 at 8:46 AM, Antidot SAS wrote: > Hi everybody, > > > I have the following output for a redhat 5 server with puppet 2.7.9: > > [root@]:/var/log # puppet apply -e 'package { locate: > (continue) ensure => purged, > (continue) } > (continue) ' > notice: /Stage[main]//Package[

[Puppet Users] Augeas EL6 RPMs

2012-03-26 Thread Eugene Vilensky
Hello, the puppetlabs yum repo provides a later version of Augeas for EL5 users but not for EL6. Does anyone currently build the latest Augeas for EL6? Thank you, Eugene -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, s

[Puppet Users] Could not prefetch package provider 'freebsd': No resource and no name in property hash in freebsd instance

2012-03-26 Thread wernerbahlke
Hi, I am puzzled. I installed exim-mysql on a freebsd machine without problem before but now this manifest creates an error: class exim::install { package { [ 'mail/exim-mysql' ]: ensure => installed, provider => freebsd, source => 'http://', } } Here is the error: err: Cou

[Puppet Users] puppetca trouble (The certificate retrieved from the master does not match the agent's private key)

2012-03-26 Thread Florian Koch
Hi @all, i have a foreman-proxy server, build from scratch, works fine and i can build unattended hosts. I don't want to configure all my foreman-proxys manually, so i build them in puppet, and only setup the OS (SL) and basic puppet config manually. I can run the puppet configuration sucsess

[Puppet Users] Re: lookup node variables from different nodes

2012-03-26 Thread Andreas Paul
Thank you for your answer! I chose the following solution: # add the IPs of the workers in a dedicated array $worker = [ '123.456.678.900', '123.456.678.901' ] # give the apache config class this array puppet-apache-tomcat::cfg { "tc6_foobar": vhostname => 'test-foobar6', worker => $worker,

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

2012-03-26 Thread Trevor Vaughan
The documentation seems to indicate that I can do something like: firewallchain { ':INPUT:IP': policy => 'drop' } But this doesn't work. Thanks, Trevor -- Trevor Vaughan Vice President, Onyx Point, Inc (410) 541-6699 tvaug...@onyxpoint.com -- This account not approved for unencrypted proprie

[Puppet Users] can puppet check if the string is present in file

2012-03-26 Thread vicki
Hello, I need to add the JVM arguments to the script based on some condition. First I need to check whether the string representing these args is already there. Can Puppet check the existence a substring and return with a code just like java indexOf(substr) does? Thank you. Vicki -- You received

Re: [Puppet Users] can puppet check if the string is present in file

2012-03-26 Thread Gary Larizza
Look at the 'file_line' custom type in the Puppetlabs Stdlib. The documentation in the file should assist with its usage. https://github.com/puppetlabs/puppetlabs-stdlib/blob/master/lib/puppet/type/file_line.rb On Monday, March 26, 2012, vicki wrote: > Hello, > I need to add the JVM arguments t

[Puppet Users] Re: can puppet check if the string is present in file

2012-03-26 Thread vicki
Thank you Gary for your reply. It is actually the substring of the line that I have to check. Here's the sed command that I use: sed 's/^JVM_OPTS=\"/&\-Xbootclasspath\/p\:\/eng\/x.jar sed_test_new.sh As you can see, I am matching this substring *JVM_OPTS+"* at the beginning of the JVM_OPTS

Re: [Puppet Users] Augeas EL6 RPMs

2012-03-26 Thread Michael Stahnke
Feel free to file an issue: http://projects.puppetlabs.com/projects/puppet-community-pkg-repo?jump=welcome Mike On Mon, Mar 26, 2012 at 9:49 AM, Eugene Vilensky wrote: > Hello, > > the puppetlabs yum repo provides a later version of Augeas for EL5 > users but not for EL6.  Does anyone cur