[Puppet Users] Re: Puppet Nagios group problem

2012-09-07 Thread Steven C
Having a similar problem. So far I've tried clearing the nagios.cfg and dropping the puppet database from puppetmaster, but this has not helped. On Friday, September 7, 2012 6:27:54 AM UTC-6, thbe wrote: > > Hi @all, > > I got stucked in the configuration of Nagios resources from Puppet. I've >

[Puppet Users] How can I ensure that a service is started/stopped based on if it is needed or not ?

2012-09-07 Thread Sébastien Lavoie
I have a several services that I use only for some sites and I would like to make sure it is started when a site that uses is activated and stopped when it is not needed anymore. Examples: memcache, elasticsearch, rabbitmq, etc. I can easily make a service virtual and realize it before making a

[Puppet Users] Re: puppet hangs

2012-09-07 Thread Balasubramaniam Natarajan
On Sat, Sep 8, 2012 at 3:25 AM, Balasubramaniam Natarajan < bala150...@gmail.com> wrote: > Hi > > I am a newbie to puppet and I am going through the documents at " > http://docs.puppetlabs.com/learning/manifests.html"; the exercise were > working normally then suddenly puppet hangs when I tried to

[Puppet Users] puppet hangs

2012-09-07 Thread Balasubramaniam Natarajan
Hi I am a newbie to puppet and I am going through the documents at " http://docs.puppetlabs.com/learning/manifests.html"; the exercise were working normally then suddenly puppet hangs when I tried to apply a manifest root@nscbose:/home/bala/puppet# puppet -V 2.7.11 root@nscbose:/home/bala/puppet#

[Puppet Users] passenger-install-apache2-module fails

2012-09-07 Thread Tony Caffe
Hi I have installed passenger on many machine and this is my 3rd puppet master on CentOS 6. This one is giving me problems and I have been trying with different gem versions and still no go. When I run passenger-install-apache2-module I get this error: Sorry its really long so I copied to a text

Re: [Puppet Users] Re: Module critique

2012-09-07 Thread Tim Mooney
In regard to: Re: [Puppet Users] Re: Module critique, Bai Shen said (at...: I strongly recommend that you build a native package for SOLR, put it in a local repository, and ensure it installed via a Puppet Package resource. Recursive directory management will bite you, especially if there are ma

[Puppet Users] Puppet Labs Monthly Newsletter - September

2012-09-07 Thread Michelle Carroll
* PUPPET LABS MONTHLY NEWSLETTER - September 2012 ** Getting Started With Puppet **PuppetConf is almost here! Great intro talks & unconference sessions. http://b

[Puppet Users] Re: Announce: Facter 1.6.12-rc2 Available

2012-09-07 Thread Torgrim Teigstad
kl. 04:14:54 UTC+2 lørdag 1. september 2012 skrev Eric Sorenson følgende: > > A special note for users affected by Puppet agent hanging with '--listen' > -- please give this RC a try and let us know how it works for you. (#10819, > #10418, etc) > It seems to work fine now with rhel 5.8 with t

Re: [Puppet Users] Re: Override param from parametrized class?

2012-09-07 Thread Jakov Sosic
On 09/07/2012 03:20 PM, jcbollinger wrote: > That's what I addressed at the end of my previous message. I strongly > recommend that you look into hiera. Adding to what I already said, > however, resources of defined types are just fine when a resource (as > opposed to a class) is in fact what yo

[Puppet Users] Re: puppet bug in File selector ?

2012-09-07 Thread jcbollinger
On Thursday, September 6, 2012 6:26:39 AM UTC-5, Fabrice Bacchella wrote: > > I tried to conditionally run etckeeper at the end of a puppet run. > > For that I defined the following class : > class os::etckeeper::commit { > $cmd = "$operatingsystem" ? { > 'debian' => '/usr/sbin/et

Re: [Puppet Users] Re: Module critique

2012-09-07 Thread jcbollinger
On Thursday, September 6, 2012 12:08:56 PM UTC-5, Bai Shen wrote: > > > file { '/opt/apache-tomcat/conf/Catalina': >>> ensure => directory, >>> } >>> >>> file { '/opt/apache-tomcat/conf/**Catalina/localhost': >>> ensure => directory, >>>

Re: [Puppet Users] Module critique

2012-09-07 Thread jcbollinger
On Thursday, September 6, 2012 4:48:40 PM UTC-5, Andreas Ntaflos wrote: > > On 2012-09-04 17:26, Bai Shen wrote: > > I've gotten an install of solr working, but it's pretty much a hack job > > at the moment. If y'all could give me your thoughts on how to improve > > my setup, I'd appreciate i

Re: [Puppet Users] Re: Job Listing - Linux Admin in Boulder, CO

2012-09-07 Thread Guy Matz
Hey! Sorry, I was away on vacation last week . . Are you in the Boulder area? Can you send a resume to guy.m...@markitserv.com? Thanks, Guy On Mon, Aug 27, 2012 at 2:09 PM, Michael Schmitt wrote: > I'd definitely be interested, but I'm only a junior admin. I have about 2 > years of experien

Re: [Puppet Users] Re: Override param from parametrized class?

2012-09-07 Thread jcbollinger
On Friday, September 7, 2012 6:25:11 AM UTC-5, Jakov Sosic wrote: > > On 09/05/2012 11:37 PM, jcbollinger wrote: > > > class { "mymodule": > > # parameters follow... > > myparam => 'custom value' > > } > > > > Yes, it looks very much like a resource declaration. No, I don't think > >

Re: [Puppet Users] Custom type obligatory field?

2012-09-07 Thread Jakov Sosic
On 09/05/2012 08:07 PM, Jakov Sosic wrote: > newparam(:destdir) do > desc "The link of the distro ISO image." > validate do |value| > unless Pathname.new(value).absolute? > raise ArgumentError, "Full pathname must be set" > end > end > end > cobblerdi

Re: [Puppet Users] Re: Override param from parametrized class?

2012-09-07 Thread Davide Ferrari
On 05/09/12 23:37, jcbollinger wrote: Before you start swooning over how nice parametrized classes look, let me warn you that they carry some substantial drawbacks. Therefore, I urge you to avoid using them in your own code as much as you can do, at least until you understand Puppet well enoug

[Puppet Users] Mixing up classes?

2012-09-07 Thread Jakov Sosic
Hi. What is the best way to mix classes? For example, I have a class apache, which sets up web server, and have class cobbler which needs to add few files to /etc/httpd/conf.d. What's the best way to do this? Include apache class in cobbler class? Where can I find examples? Or, if I use postgre

Re: [Puppet Users] access exported resources in template

2012-09-07 Thread ctrlc-root
Well, 3 years old or not, this is still in the first page of google results haha. I'm running puppet version 2.7.9 and the result of that template is a blank comment line for every instance of the Firewall::Rule type. If I replace 'resource[:comment]' with 'resource.type' then I can confirm that

[Puppet Users] Puppet Nagios group problem

2012-09-07 Thread Thomas Bendler
Hi @all, I got stucked in the configuration of Nagios resources from Puppet. I've wrote a some classes setting up a Nagios server, collect virtual resources from the client and push them to the Nagios server. So far so good, it's working. Now I try to group the hosts and services and the problems

Re: [Puppet Users] Re: Override param from parametrized class?

2012-09-07 Thread Jakov Sosic
On 09/05/2012 11:37 PM, jcbollinger wrote: > class { "mymodule": > # parameters follow... > myparam => 'custom value' > } > > Yes, it looks very much like a resource declaration. No, I don't think > that was a good design decision, but the prevailing opinion at > PuppetLabs is different, or

Re: [Puppet Users] RHEL 6 and ActiveRecord issues

2012-09-07 Thread Abhay
Could you post those notes? -removing all gems and installing active-record 3.0.11 did not fix the problem On Saturday, May 5, 2012 10:32:10 PM UTC+5:30, iceberg wrote: > > What I found was that you need to gem uninstall ALL of the active* gems, > then reinstall and specify 3.0.xx version. Jus