Re: [Puppet Users] puppet open source and vmware template

2013-11-29 Thread Neil - Puppet List
When you deploy a vm from the template give it a host name. Then first puppet run will make a new cert. Set puppet master to autosign and you are in business Neil On 29 Nov 2013 12:09, "kaustubh chaudhari" wrote: > Hi All, > > Fairly new to puppet! > > I wanted to include puppet agent in a vmwar

Re: [Puppet Users] puppet open source and vmware template

2013-11-29 Thread Neil
When you deploy a vm from the template give it a host name. Then first puppet run will make a new cert. Set puppet master to autosign and you are in business Neil On 29 Nov 2013 12:09, "kaustubh chaudhari" wrote: > Hi All, > > Fairly new to puppet! > > I wanted to include puppet agent in a vmwar

Re: [Puppet Users] Fun with certificates.

2013-11-29 Thread Felix Frank
Hi, if it's possible to generate unique FQDNs, you should go that route. The FQDN is what puppet uses as the CN per default. Failing that, generate a unique cert name (suffix) and add it as certname option to puppet.conf on the agents. That may or may not be feasible depending on the granularity

Re: [Puppet Users] Nsclient install

2013-11-29 Thread Felix Frank
Kaustubh's remarks may still have merit, though. Perhaps there is a subtle typo (think trailing space or similar). Have you copy-pasted the name from an authoritative source? Regards, Felix On 11/29/2013 01:41 PM, Jeffrey Smith wrote: > > The service name is "NSClient++ (x64)" and its listed the

Re: [Puppet Users] Nsclient install

2013-11-29 Thread Jeffrey Smith
The service name is "NSClient++ (x64)" and its listed there its just not starting it as its saying it cant find it. On Friday, November 29, 2013 12:13:29 PM UTC, kaustubh chaudhari wrote: > > from what i have seen, this means you are not using the correct service > name. > > Install NS Client

[Puppet Users] Re: Random Internal Server Error after upgrading from 2.7.19 to 3.3.1

2013-11-29 Thread james . eckersall
Hi, For reference, I've just upgraded my puppet masters from 2.7.22 to 3.3.2 and haven't seen any errors of this kind. I presume you are running with passenger? I am too. CentOS EL6 masters. Maybe there is a change between 3.3.1 and 3.3.2 that will resolve this for you both. I have seen one

[Puppet Users] Re: Random Internal Server Error after upgrading from 2.7.19 to 3.3.1

2013-11-29 Thread Laurent Domb
I am running into the exact same issue with 3.3.1 Did you find a solution for it? On Thursday, October 24, 2013 1:54:28 AM UTC-4, Lou wrote: > > Hello, > > I have a rhel 6 puppet master with the following packages installed: > > facter.x86_641:1.7.3-1.el6 > hiera.noarch

[Puppet Users] Fun with certificates.

2013-11-29 Thread Daragh Wickham
Hi guys, We're attempting to automate application bubbles with vCloud and Puppet and one of the questions we have is around unique certificates. If we create machines with the same hostnames but in different vApps, will the Puppet Master treat them as the same machine? I suspect the hash will

Re: [Puppet Users] Nsclient install

2013-11-29 Thread kaustubh chaudhari
from what i have seen, this means you are not using the correct service name. Install NS Client on a windows box manually, go to run -> services.msc -> Look for NS service in the properties of that you will see the service Name, Use this service name if your code! Hope this help! -Kaustubh

[Puppet Users] puppet open source and vmware template

2013-11-29 Thread kaustubh chaudhari
Hi All, Fairly new to puppet! I wanted to include puppet agent in a vmware template, Of course this can be done, but i have a question. what about the certificates ? all the vms created with that template will have the same certificate. How to fix that? i am sure there is a solution but i dont

Re: [Puppet Users] matching all current "ipaddress_ethX" facts

2013-11-29 Thread cko
Thanks, i think i got something here: Facter.add("ip_prodlan") do confine :kernel => "Linux" setcode do Facter::Util::Resolution.exec("/sbin/ifconfig | /bin/grep '20.20.\\|30.31.\\|200.30.80.\\|120.' | /bin/awk '{ print $2 }' | /bin/cut -d':' -f2 | /usr/bin/head -n1") end end I'm

Re: [Puppet Users] Nsclient install

2013-11-29 Thread Jeffrey Smith
No I just keep getting the error Error: /Stage[main]/Nsclient/Service[ nsclient]: Could not evaluate: Cannot get status of NSClient++ (x64), error was: The specified service does not exist as an installed service. On Friday, November 29, 2013 12:33:12 AM UTC, Felix.Frank wrote: > > Hi, > > so

[Puppet Users] validate hiera database against a schema

2013-11-29 Thread David Portabella
is there a way to validate a hiera database against a schema? the validation could be done as a whole (but that might not make sense, as the effective hierarchy depends on the context), or better, when calling hiera('myvar') from puppet (for instance). or maybe, this could be a new function (in

Re: [Puppet Users] analyzing Puppet's actions and proposed actions via comprehensive reporting

2013-11-29 Thread Stuart Cracraft
I took care of this on Friday with a 30-line Perl script. Handy-dandy! On Nov 27, 2013, at 1:46 PM, Stuart Cracraft wrote: > Anyone know of a Ruby, Perl, Python, Bash, etc. script to do this already > written? > > Summarize /var/lib/puppet/reports/*all hosts*/*.yaml > Assume infinite store in