[Puppet Users] Unable to generate the puppet documentation

2012-02-28 Thread sateesh
Hi, I tried to generate the puppet documentation using "puppet doc" command. But it is not generating the documentation files for me. I have tried following commands: 1. puppet doc --outputdir /tmp/rdoc --mode rdoc /etc/puppet/modules/ mymodule/manifests/ 2. puppetdoc --outputdir /tmp/rdoc --mode

Re: [Puppet Users] Re: Puppet Agent on Windows

2012-02-28 Thread Jeff McCune
On Tue, Feb 28, 2012 at 3:57 PM, Josh Cooper wrote: > This code only exists in master, not 2.7.x. I'm guessing there is > something wrong with the code Brice added to apply catalogs in a separate > process when run on Windows (see 6812ee9fc51f327f3a74fc6a6c0eefd9758d0134). > Can you check that yo

[Puppet Users] Re: Puppet Agent on Windows

2012-02-28 Thread yesimnathan
I setup puppet on the Windows servers that Igor has mentioned. As a temporary workaround, I'm just using the windows task scheduler to run this every 30 minutes... puppet agent --verbose --onetime --no-daemonize --logdest C: \puppet.log It's certainly not a very elegant solution but it has at l

Re: [Puppet Users] Creating domain zone files

2012-02-28 Thread Brian Gallew
Allow me to offer a couple of alternatives: 1) If Puppet is not otherwise doing stuff with the domains, then stop trying to manage the bind configs purely with Puppet. Instead, have your configs in revision control (best practice) and have the puppet run do an update/reload (e.g. have the exec som

Re: [Puppet Users] Re: Puppet Agent on Windows

2012-02-28 Thread Josh Cooper
Hi Daniel, On Tue, Feb 28, 2012 at 11:58 AM, Daniel wrote: > I'm having the same issue. I'm new to puppet and have setup a linux > puppet master server. I have successfully signed the cert from the > windows computer. In fact, the windows agent was able to perform the > actions once but now i

Re: [Puppet Users] how to test a single class?

2012-02-28 Thread Nan Liu
On Mon, Feb 27, 2012 at 6:50 PM, Sonia Hamilton wrote: > * Nan Liu [2012-02-27 17:02:49 -0800]: > >> On Mon, Feb 27, 2012 at 4:13 PM, Sonia Hamilton wrote: >> > (Puppet 0.25.4). >> > >> > Is there an easy way of doing a puppet client run with just one class, >> > so I can test it? >> > >> > I've

[Puppet Users] Creating domain zone files

2012-02-28 Thread Mailing Lists
I'm currently looking for a more efficient method of creating domain zone files. At the moment I have a shell script that I run to create the domain zone, then add the domain to puppet define list so it'll know to add the domain to the dns servers. The new method I'm working on, I add the domain

[Puppet Users] 2.7.11 Solaris packages available

2012-02-28 Thread Mark Phillips
Folks, I've released 2.7.11 for OpenCSW. Should be in the 'unstable' catalog now. --Mark Puppet - https://www.opencsw.org/packages/CSWpuppet Puppetmaster - https://www.opencsw.org/packages/CSWpuppetmaster -- You received this message because you are subscribed to the Google Groups "Puppet Use

[Puppet Users] Re: Puppet Agent on Windows

2012-02-28 Thread Daniel
I'm having the same issue. I'm new to puppet and have setup a linux puppet master server. I have successfully signed the cert from the windows computer. In fact, the windows agent was able to perform the actions once but now it can't. I'm running puppet agent interactively from a command prompt

Re: [Puppet Users] Re: Unresponsive Agents - PE 2.0

2012-02-28 Thread all.lucky.sevens
Try the 'Starting and managing delayed job workers' section in here: http://docs.puppetlabs.com/dashboard/manual/1.2/bootstrapping.html If the workers aren't running (and they don't run by default unless you follow the steps in that section) then you can see a backlog of tasks. On Thu, Feb 23, 20

Re: [Puppet Users] Specify values for variables? Puppet dashboard

2012-02-28 Thread all.lucky.sevens
On a specific note, most of the variables on the example below should be available as Facter facts out of the box (hostname, IP address). On a more general node, doesn't look like parameterized classes are directly supported in the Dashboard ENC yet: http://projects.puppetlabs.com/issues/4738 How

Re: [Puppet Users] Puppet apache config for vhost

2012-02-28 Thread Aaron Grewell
On 02/28/2012 06:45 AM, Tony G. wrote: > > You might want to use a parametrized class instead of the define, there > is a discussion in removing or not from future puppet releases[1] No, you've misunderstood. The 'defined()' function is/was under consideration for removal. That's not the same a

[Puppet Users] persistent facts

2012-02-28 Thread Craig White
Object: to get a custom fact that lets me know the last time a Ubuntu system had run 'upgrade' (ie apt-get upgrade or aptitude [safe-|full-]upgrade) One-liner: (will probably still need some adaptation but so far, I am doing) tac /var/log/apt/history.log | \ awk '{if (substr($0,1,8)=="Upgrade:"

Re: [Puppet Users] Puppet apache config for vhost

2012-02-28 Thread Tony G.
On Tue, Feb 28, 2012 at 5:06 AM, Danijel Krmar wrote: > Hi there puppeters :), > > I hope you can help me with a situation. Namely, I will use puppet to > deploy many (I mean really many) nodes with Apache installed. The > problem I have is that for now the only way to create a vhost with a > spe

Re: [Puppet Users] Doc about RH6 + Passenger

2012-02-28 Thread Eric Lake
If I remember right I used a combination of mostly http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger and a little of http://www.uncompiled.com/centos-6-puppet-27-mcollective-foreman-rabbitto get my install working on CentOS 6. On Tue, Feb 28, 2012 at 4:58 AM, Arnau Bria wrote: > Hi

[Puppet Users] Re: Tags issue

2012-02-28 Thread jcbollinger
On Feb 27, 5:42 am, linuxbsdfreak wrote: > Hi , > > I am using tags according to environments Eg: prd_env and stg_env > > How do i implement a default node Eg: > > node default inherits basenode { >        tag("prd_eu")|("stg_eu")) >        include general > > } > > The above does not work. I

[Puppet Users] Puppet apache config for vhost

2012-02-28 Thread Danijel Krmar
Hi there puppeters :), I hope you can help me with a situation. Namely, I will use puppet to deploy many (I mean really many) nodes with Apache installed. The problem I have is that for now the only way to create a vhost with a specified ServerName is to issue the server name in the main puppetmas

[Puppet Users] Doc about RH6 + Passenger

2012-02-28 Thread Arnau Bria
Hi all, I'm installing a new puppet server and I'd like to move from mongrel to passenger. So, I'm looking for official doc abou passenger and found: http://docs.puppetlabs.com/guides/passenger.html the doc does not talk about RH6 nor 2.7.* ... Anyone has configured his server with the above do