Re: [Puppet Users] Managing multiple nagios servers with puppet and virtual resources

2013-04-11 Thread Phil Cole
Thanks Dave. That sounds like the sort of thing that I was looking for, but wasn't sure if/how it would work - I'll give it a go. Phil On Wednesday, April 10, 2013 11:45:19 PM UTC+1, Dave Nash wrote: > > At work we add a tag for when setting up the nagios checks in puppet > > tag "nagios_env:$e

Re: [Puppet Users] Managing multiple nagios servers with puppet and virtual resources

2013-04-11 Thread Phil Cole
Thanks Pete, I'll take a look at your module and see how things go. Phil On Thursday, April 11, 2013 12:02:14 AM UTC+1, Pete wrote: > > Hi Phil, > > The monitoring module I wrote does this very well. > It is on puppet forge if you want to have a look for some inspiration or > install it and

[Puppet Users] Generate YARD docs for modulepath

2013-04-11 Thread Sven Sporer
Hi, Puppet 3.1 now uses YARD to generate its API documentation. Is anybody aware of the possibility to generate nice YARD docs for a given module path, replacing the default RDOC-style site from "puppet doc --modulepath ..."? Could the YARD Template from Puppet 3.1 be used for this? -- You rec

[Puppet Users] Re: Generate YARD docs for modulepath

2013-04-11 Thread Sven Sporer
I know that Puppet 3.1 uses YARD to document the Ruby code (not manifests). The question is if the parser logic for RDOC templates can be used together with YARD: * https://github.com/puppetlabs/puppet/blob/master/lib/puppet/util/rdoc/generators/puppet_generator.rb * https://github.com/puppetl

[Puppet Users] Manifest changes not applied

2013-04-11 Thread Andrei-Florian Staicu
Hi, I have right now puppet 3.1.1, with the server on apache. >From time tot time, I have the following problem: on an agent, i do puppet agent --test, the manifest gets applied, with configuration version (let's say) 1365671863. After that, I modify the manifest for that node, try again puppet ag

Re: [Puppet Users] puppet 3.x, rubygem pkg can't be found on a RHEL 6.4

2013-04-11 Thread Keith Burdis
Try running: # yum-config-manager --enable rhel-6-server-optional-rpms - Keith On 10 April 2013 10:04, Yusup Ashrap wrote: > I have having the same problem with install puppet on redhat 6.2. > > -- > You received this message because you are subscribed to the Google Groups > "Puppet User

[Puppet Users] Re: Generate YARD docs for modulepath

2013-04-11 Thread Daniele Sluijters
Hey, I had the same question. I can tell you that just using YARD won't work, you'll only get warnings about undocumentable classes. As far as I can understand, a Handler and Parser will have to be written for YARD if we want to use it to document Puppet code. Better even, `puppet doc` just ne

[Puppet Users] I want in the future HIERA-2

2013-04-11 Thread Andrew E.
I want in the future HIERA-2 to create a file like classes.txt, which clearly would have seen the use of the configuration on the node. Regards, Andrew -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop re

Re: [Puppet Users] Re: Puppet and OVO/ITO/OML

2013-04-11 Thread roeez
Many thanks Stefan! On Monday, April 8, 2013 7:46:53 PM UTC+3, Stefan Schulte wrote: > > On Sun, 7 Apr 2013 02:16:07 -0700 (PDT) > ro...@liveperson.com wrote: > > > Thanks for all the information Stefan! > > I'd be happy to see the module you're using if it's possible. > > > > Roee. > > >

[Puppet Users] puppet-lint -- learning stuff about style but also generating questions

2013-04-11 Thread Dan White
Here's one I learned: I originally had # Ensure /etc/hosts contains the basics host { "${fqdn}": host_aliases => $hostname, ip => $ipaddress, } And thru some trial and error, got down to this (which puppet-lint does not gripe about) # Ensure /etc/hosts contains the basics host

[Puppet Users] Disable A Windows Service Only If It Exists

2013-04-11 Thread Paul Nickerson
I am wondering whether it is possible to have Puppet only stop and disable a Windows service if it exists. I have Puppet master 3.1.1 on CentOS, and Puppet clients 3.1.1 on many Windows machines. Right now, I have the bit below for certain nodes: service { "CVSNT": ensure => 'stopped', enable =

[Puppet Users] Problem with jlyheden/puppet-tcpwrapper and Concat

2013-04-11 Thread Denny Schierz
hi, I want to use the jlyheden/puppet-tcpwrapper module for my hosts.allow/deny but I can't get it working. On the puppet client (called with name "fai") I get: -- err: Could not run Puppet configuration client: Could not find dependent Exec[concat_] for File[/var/lib/puppet/concat//

[Puppet Users] Understanding how Puppet SSL works !

2013-04-11 Thread iamauser
I revoked the certificate of one of the clients by issuing the following command on puppetmaster : puppet cert clean Then tried to access the catalog from via : puppet agent --server=puppet and I can still access the catalogs from the master without any error. I checked that the

[Puppet Users] Announce: Hiera 1.2.1-rc1 Available

2013-04-11 Thread Matthaus Owens
Hiera 1.2.1-rc1 is a bugfix release candidate in the 1.x series. To see a list of the issues addressed by this release, check out the 1.2.1 version in our issue tracker at: https://projects.puppetlabs.com/versions/398 Downloads are available at: * Source: https://downloads.puppetlabs.com/hiera/h

[Puppet Users] Upcoming Puppet Camps: Speak or Attend

2013-04-11 Thread Dawn Foster
I wanted to make sure everyone knows about our upcoming Puppet Camps. It's a great way to spend a day learning about Puppet and talking to other people who are also using Puppet. For some, we are still looking for people to give talks! So, if you are doing something with Puppet now, you should sub

[Puppet Users] Re: puppet-lint -- learning stuff about style but also generating questions

2013-04-11 Thread llowder
On Thursday, April 11, 2013 10:22:54 AM UTC-5, Ygor wrote: > > Here's one I learned: > > I originally had > > # Ensure /etc/hosts contains the basics > host { "${fqdn}": > host_aliases => $hostname, > ip => $ipaddress, > } > > And thru some trial and error, got down to this (which

[Puppet Users] Duplicate Declaration of resource (editing contents of same file in two diiferent module)

2013-04-11 Thread Rahul Khengare
Hi all, I am writing two modules abc and xyz. In both the modules i have to change common "test.txt" file,here i use template (.erb) file to changing the contents. In both abc and xyz the contents of "test.txt" file is different, if i declare file resource for "test.txt" file in two differe

[Puppet Users] Re: Duplicate Declaration of resource (editing contents of same file in two diiferent module)

2013-04-11 Thread llowder
On Thursday, April 11, 2013 1:11:16 PM UTC-5, Rahul Khengare wrote: > > Hi all, > I am writing two modules abc and xyz. In both the modules i have to > change common "test.txt" file,here i use template (.erb) file to changing > the contents. > In both abc and xyz the contents of "test.txt"

Re: [Puppet Users] puppet 3.x, rubygem pkg can't be found on a RHEL 6.4

2013-04-11 Thread T.J. Yang
Keith, Thanks for the following command, I can install puppet on RHEL 6.4 now. tj On Thu, Apr 11, 2013 at 5:12 AM, Keith Burdis wrote: > Try running: > > # yum-config-manager --enable rhel-6-server-optional-rpms > > - Keith > > > On 10 April 2013 10:04, Yusup Ashrap wrote: > >> I have ha

[Puppet Users] Announcing stdlib 4.0.1

2013-04-11 Thread Jeff McCune
Hello, We're pleased to announce the release of the stdlib module at version 4.0.1 [1]. Please keep in mind stdlib 2 is compatible with Puppet 2.6 and 2.7 while stdlib 3 is compatible with Puppet 2.7 and 3. Version 4 drops support for Ruby 1.8.5 and Puppet 2.7 and maintains compatibility with Pu

[Puppet Users] Deploying Modules on Windows Node without using Dashboard (Puppet Enterprise Console)

2013-04-11 Thread mysql . linux
Hello, I am a newbie to Puppet and Puppet Enterprise, trying to see/understand how we can automate some of the windows app installs using it. I got the Master/Node Agents all working. I went through the Quick Start Guide and followed the example of how to install a module: win_desktop_shortcut

[Puppet Users] Re: Strange signing problem in AWS - stumped

2013-04-11 Thread Jens Fahnenbruck
I seem to have the same problem, did you solve it? On Thursday, December 13, 2012 6:05:00 PM UTC+1, jblaine wrote: > > I have even gone so far on the master as to completely uninstall the > puppetmaster package, > sudo rm -rf /var/lib/puppet/ssl, and reinstall the puppetmaster package on > the m

Re: [Puppet Users] Managing multiple nagios servers with puppet and virtual resources

2013-04-11 Thread Peter Brown
You are welcome Phil. Hope it helps you achieve your goals. Let me know if you get stuck. Pete. On 11 April 2013 18:12, Phil Cole wrote: > Thanks Pete, > > I'll take a look at your module and see how things go. > > Phil > > > > On Thursday, April 11, 2013 12:02:14 AM UTC+1, Pete wrote: >> >>

Re: [Puppet Users] puppet-lint -- learning stuff about style but also generating questions

2013-04-11 Thread Dan White
On Apr 11, 2013, at 1:53 PM, llowder wrote: > On Thursday, April 11, 2013 10:22:54 AM UTC-5, Ygor wrote: > Now for a question: > > puppet-lint does not like template files at all. > I keep getting this: ERROR: Syntax error (try running `puppet parser validate > `) > > My first thought is to

Re: [Puppet Users] Deploying Modules on Windows Node without using Dashboard (Puppet Enterprise Console)

2013-04-11 Thread Ryan Coleman
Hi, Once you have the module installed onto your Puppet master, you'll want to declare the class onto your nodes. Here's a doc on that subject: http://docs.puppetlabs.com/puppet/2.7/reference/lang_classes.html#declaring-a-class-with-include You have multiple choices for where to declare your clas

Re: [Puppet Users] Deploying Modules on Windows Node without using Dashboard (Puppet Enterprise Console)

2013-04-11 Thread mysql . linux
Thanks Ryan. I will look at modifying the site manifest. Question: Do you think another option would be to modify the same file(s) that Console/Dashboard is modifying? That way, I am in sync for users who do want to use the cool features of the Dashboard? Thanks again! On Thursday, April 11,

Re: [Puppet Users] Deploying Modules on Windows Node without using Dashboard (Puppet Enterprise Console)

2013-04-11 Thread Ryan Coleman
On Thu, Apr 11, 2013 at 5:44 PM, wrote: > Question: Do you think another option would be to modify the same file(s) > that Console/Dashboard is modifying? That way, I am in sync for users who > do want to use the cool features of the Dashboard? How do you mean? What files? -- You received thi

Re: [Puppet Users] Deploying Modules on Windows Node without using Dashboard (Puppet Enterprise Console)

2013-04-11 Thread mysql . linux
Let me explain what I did: - 1. Installed 3 new Modules on the Puppet Master - 2. Went to the Dashboard, Added the new Classes - 3. In the Dashboard, also Edited the Node to add the new Classes to it - 4. The Agents on the Node to which the classes were assigned picked up the new modules and inst