[Puppet Users] Re: Trying, Trying and Trying and still cannot make puppet and client work :-(

2012-12-27 Thread Hoof Hearted
what does your puppetmaster's site.pp have in it? Also, I'm not super sure, but you might want to at least make the puppetmaster and client the same version. If you don't have the packages readily available you could install them easily via gem. On Thursday, December 27, 2012 10:55:38 AM UTC-8

[Puppet Users] example curl-based puppetdb query equivalent to select node.name, node.role from nodes where dept = 'finance'

2012-12-27 Thread Hoof Hearted
The examples in the puppetdb docs show how I can query for a list of node names. What if I want more fields? Could someone share an example of how you query puppetdb to return multiple values? Like what if you want the node's name and what the custom fact "role" says, for all nodes that have th

[Puppet Users] Re: err: Signing certificate error: Could not render to pson: getaddrinfo: Name or service not known

2012-12-27 Thread lalit jangra
Hi, Even when i am trying to connect to master using below command, even then its same error. puppet agent --server ip-10-224-122-211.ec2.internal --waitforcert 60 --test info: Retrieving plugin err: /File[/var/opt/lib/pe-puppet/lib]: Failed to generate additional resources using 'eval_generat

[Puppet Users] err: Signing certificate error: Could not render to pson: getaddrinfo: Name or service not known

2012-12-27 Thread lalit jangra
Hi, I am trying to bootstrap a new agent from my master node as below. puppet node_aws bootstrap \ --region us-east-1 \ --image ami-cc5af9a5 \ --login root \ --keyfile /root/.ssh/private.pem \ --install-script=puppet-enterprise \ --installer-payload=/usr/local/puppet/puppet-2.7.0.tar.gz \ --inst

Re: [Puppet Users] Broken rsync mirroring for PuppetLabs APT repo

2012-12-27 Thread James Turnbull
Arnaud Gomes-do-Vale wrote: > Hi, > > I have sent this mail to i...@puppetlabs.com and received no answer, so > I'm posting here as well; I hope somebody at PuppetLabs will be able to > help. Arnaud I saw your saw email to info@. It arrived over Christmas so I am afraid people were thin on the g

Re: [Puppet Users] Module to add another puppetmaster?

2012-12-27 Thread Tom Fox
Thanks. Good point about the cert. Unfortunately Netscalers are the standard in my environment and to the best of my knowledge there is no love from puppet for them so pool management will still require some key pressing. Matthew Black wrote: The fastest way to rapidly scale is to have SSL

Re: [Puppet Users] Module to add another puppetmaster?

2012-12-27 Thread Matthew Black
The fastest way to rapidly scale is to have SSL terminated at the load balancer so you do not need to update the the ssl certificate. The configuration to do it depends on what is being used for the load balancer. If you are using an F5 LTM then you can easily handle the SSL termination at the F5 a

[Puppet Users]

2012-12-27 Thread Joel Krauska
http://mordagan.com/wp-content/plugins/cat-description-editor/gmm.html -- 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 puppet-us

Re: [Puppet Users] generate() function help

2012-12-27 Thread Jakov Sosic
On 12/27/2012 07:57 PM, Nan Liu wrote: On Thu, Dec 27, 2012 at 10:29 AM, Jakov Sosic mailto:jso...@srce.hr>> wrote: I want to run script which is distributed with my module, but the problem is I have to then hardcode the path to the script in the generate function call, for example:

[Puppet Users] Trying to use a facter information in manifest.

2012-12-27 Thread JGonza1
I am trying to use information that facter gathers on the agent server in the manifest. I am trying to use "domain => dev.com" depending on what domain is I deploy the file. I ran the manifest and it did not give me an error but it did not fdeploy the file. My code is below. In my files directo

Re: [Puppet Users] How do I check content of a file in puppet

2012-12-27 Thread Jason Edgecombe
Yes, you can do what you want if you already have a puppet master (server) in your puppet environment, but you may need configure or install some add-ons. All puppet installations include a tool called "facter". Facter gathers various facts or data about your systems. The system can be configu

Re: [Puppet Users] How do I check content of a file in puppet

2012-12-27 Thread Christopher Wood
I suppose so, but I haven't ever worked with puppet reporting. My questions about the business issue behind this request are more along the lines of what his management wants the information for. There are a number of corollary questions that come up, including but not limited to: -Why are you

Re: [Puppet Users] How do I check content of a file in puppet

2012-12-27 Thread Denmat
Hi, Couldn't he run --noop as a scanner for hosts out of compliance and then when one is found, run normal puppet run (obviously you don't have to run in noop and just run normal runs and monitor reports). That way management can see that non compliant host are being made compliant ( a much mo

Re: [Puppet Users] module version support?

2012-12-27 Thread Throwe, Jesse
You are not limited to just dev/test/prod. So if you were aware of the incompatibility you could create a 'prod-migration' environment and move sets of machines over at a time. Or take it one step further and integrate your SCM and puppet ( http://puppetlabs.com/blog/git-workflow-and-puppet-envir

Re: [Puppet Users] Trying, Trying and Trying and still cannot make puppet and client work :-(

2012-12-27 Thread DenMat Gone
Hi, I think you should start here, http://docs.puppetlabs.com/learning/agent_master_basic.html You will need to declare your client node definition in either the sites.pp or more normally nodes.pp. node foo { include squid } puppet apply - applies a local manifest puppet agent - talks to m

Re: [Puppet Users] How do I check content of a file in puppet

2012-12-27 Thread Christopher Wood
Metaphorically, your management is asking you to drive nails with a screwdriver. The right tool for the job here is facter, not puppet. (And puppet already uses facter, so your management apparently doesn't understand the stack here.) While this is ultimately their problem, it sounds like you ha

Re: [Puppet Users] module version support?

2012-12-27 Thread Schofield
On Thursday, December 27, 2012 8:38:47 AM UTC-6, Jesse Throwe wrote: > > Environments would probably be a good starting point for what your after. > > http://docs.puppetlabs.com/guides/environment.html > > Not quite what I was after. I already have dev/test/production environments that handle d

Re: [Puppet Users] How do I check content of a file in puppet

2012-12-27 Thread pdiddy
Understood, but is it possible to get it done via puppet? I've management requirement. On Thursday, December 27, 2012 2:52:31 PM UTC-5, Christopher Wood wrote: > > You might be better off putting together a custom fact about this. Then > you can check fact(s) on the host(s) without trying to >

[Puppet Users] Announce: Puppet Dashboard 1.2.16 Available!

2012-12-27 Thread Moses Mendoza
Puppet Dashboard 1.2.16 is a maintenance release of the 1.2 series of Puppet Dashboard with bug fixes and minor features. This is the first release of Puppet Dashboard with Aaron Stone (sodabrew on github) having commit rights. He has already helped shepherd many pull requests from submission to m

Re: [Puppet Users] How do I check content of a file in puppet

2012-12-27 Thread Christopher Wood
You might be better off putting together a custom fact about this. Then you can check fact(s) on the host(s) without trying to manage-but-not-manage something inside puppet. On Thu, Dec 27, 2012 at 11:15:14AM -0800, pdiddy wrote: >How do I check content of a file in puppet? >ex: I want t

Re: [Puppet Users] Re: Announce: Facter 1.6.17 available

2012-12-27 Thread Stephen Price
No, thank you! On Thursday, December 27, 2012 11:41:38 AM UTC-8, Matthaus Litteken wrote: > > Stephen, > Thanks for pointing that out. I'm re-signing the rpms right now and > will have them shipped in a few minutes. > > On Thu, Dec 27, 2012 at 11:25 AM, Stephen Price > > > wrote: > > I'm try

Re: [Puppet Users] Re: Announce: Facter 1.6.17 available

2012-12-27 Thread Matthaus Owens
Stephen, Thanks for pointing that out. I'm re-signing the rpms right now and will have them shipped in a few minutes. On Thu, Dec 27, 2012 at 11:25 AM, Stephen Price wrote: > I'm trying to update this from the PuppetLabs yum repo, but I'm getting > error reports about the rpm not being signed. An

[Puppet Users] Re: Announce: Facter 1.6.17 available

2012-12-27 Thread Stephen Price
I'm trying to update this from the PuppetLabs yum repo, but I'm getting error reports about the rpm not being signed. Any insights? On Thursday, December 27, 2012 11:00:43 AM UTC-8, Matthaus Litteken wrote: > > Facter 1.6.17 is a maintenance release in the 1.6.x series with bug fixes. > > Downlo

[Puppet Users] How do I check content of a file in puppet

2012-12-27 Thread pdiddy
How do I check content of a file in puppet? ex: I want to see if "PermitRootLogin" is "no" in /etc/ssh/sshd_config file (RHEL). If it's "yes" i want to show it on compliance report. For now I don't want make any changes to the sshd_config file through puppet. Here is something I have: define li

[Puppet Users] Module to add another puppetmaster?

2012-12-27 Thread Tom Fox
I'm working on getting my system setup for rapid scaling. Without resorting to some ugly hacks what is the preferred method of adding more puppetmasters? My puppetmasters sit behind a load balancer vip so the certificate needs to be updated when I add a puppetmaster. Does anyone have a module writ

Re: [Puppet Users] Hostname wildcards in module

2012-12-27 Thread Aaron Russo
I think you might have an error in your regex. In particular, it looks like you're missing a '.', so /^uklab*$/ should probably be /^uklab.*$/ Cheers, Aaron Russo IST Infrastructure Services, Unix Group UC Berkeley --- Desk: 510-643-5550Mobile: 510-206-1532 IM: aru...@berkeley.edu (XMPP/Jab

[Puppet Users] Trying, Trying and Trying and still cannot make puppet and client work :-(

2012-12-27 Thread ratotopi
I have two box with centos 6.3 and centos 5.8 running puppet master 3.0 and puppet client 2.7 respectively. I can make master work when I use "puppet apply" on it and it works fine but I have not been able to do that with client, I cannot make it work, when i run the following command in clie

[Puppet Users] Announce: Facter 1.6.17 available

2012-12-27 Thread Matthaus Owens
Facter 1.6.17 is a maintenance release in the 1.6.x series with bug fixes. Downloads are available at: * Source: https://downloads.puppetlabs.com/facter/facter-1.6.17.tar.gz RPMs are available at https://yum.puppetlabs.com/el or /fedora Rubygem available at http://rubygems.org/gems/facter Debs

[Puppet Users] Announce: Hiera 1.1.2 available

2012-12-27 Thread Matthaus Owens
Hiera 1.1.2 is a bugfix release in the 1.x series. Downloads are available at: * Source: https://downloads.puppetlabs.com/hiera/hiera-1.1.2.tar.gz RPMs are available at https://yum.puppetlabs.com/el or /fedora Rubygem available at http://rubygems.org/gems/hiera Debs are available at https://ap

Re: [Puppet Users] generate() function help

2012-12-27 Thread Nan Liu
On Thu, Dec 27, 2012 at 10:29 AM, Jakov Sosic wrote: > I want to run script which is distributed with my module, but the problem > is I have to then hardcode the path to the script in the generate function > call, for example: > > generate("/etc/puppet/**environments/${environment}/** > modules/m

Re: [Puppet Users] Hostname wildcards in module

2012-12-27 Thread Roman Shaposhnik
On Thu, Dec 27, 2012 at 5:29 AM, Allan Mullan wrote: > I'm new to Puppet (yay!) and working through having a different resolv.conf > for systems that contain a certain string in their hostname. > > I've got the following in my modules/system/files.pp: > > class system::files { > case $hostname

[Puppet Users] generate() function help

2012-12-27 Thread Jakov Sosic
Hi. I want to run script which is distributed with my module, but the problem is I have to then hardcode the path to the script in the generate function call, for example: generate("/etc/puppet/environments/${environment}/modules/mymodule/scripts/myscript") But what If some other site uses o

Re: [Puppet Users] Avoiding a ball of yarn and technical debt

2012-12-27 Thread Jakov Sosic
On 12/27/2012 12:47 AM, Brian Dunbar wrote: Questions: Would it be better pause for a few weeks and upgrade to Puppet 2.7 > 3 now? If you can afford it - then absolutely. Is there consensus on the best way to avoid a yarn-ball of messy code? Use at least puppet parser validate + puppet-l

[Puppet Users] Hostname wildcards in module

2012-12-27 Thread Allan Mullan
I'm new to Puppet (yay!) and working through having a different resolv.conf for systems that contain a certain string in their hostname. I've got the following in my modules/system/files.pp: class system::files { case $hostname { /^uklab*$/: { $file = "resolv-isg.conf"

Re: [Puppet Users] module version support?

2012-12-27 Thread Throwe, Jesse
Environments would probably be a good starting point for what your after. http://docs.puppetlabs.com/guides/environment.html On Thu, Dec 27, 2012 at 8:06 AM, Schofield wrote: > Does puppet have any built in support for applying different versions of > modules to different nodes? I haven't com

[Puppet Users] Broken rsync mirroring for PuppetLabs APT repo

2012-12-27 Thread Arnaud Gomes-do-Vale
Hi, I have sent this mail to i...@puppetlabs.com and received no answer, so I'm posting here as well; I hope somebody at PuppetLabs will be able to help. I have a local mirror of apt.puppetlabs.com which has been broken for at least a few days: the apt/dists/ subdirectory only contains symlinks t

[Puppet Users] Re: in-module data with hiera

2012-12-27 Thread ZipKid
Hello, What is still needed to get this issue 'moving'? I have 2 customers where i have to start a new Puppet environment starting in January 2013 and i would really like to be able to use this functionality for those. Regards, Stefan - Zipkid - Goethals. -- You received this message because

Re: [Puppet Users] Problems building puppet 3.x for SLES

2012-12-27 Thread Darin Perusich
Working packages for SLES, and all current SuSE releases, are available in open build service. These are the packages that feed the distributions. https://build.opensuse.org/package/show?package=puppet&project=systemsmanagement%3Apuppet -- Later, Darin On Wed, Dec 26, 2012 at 10:53 PM, Jagga So

[Puppet Users] module version support?

2012-12-27 Thread Schofield
Does puppet have any built in support for applying different versions of modules to different nodes? I haven't come across any documentation describing such a feature so I assume no but wanted to verify. As a follow up question are there any best practices to do such a thing? -- You received

[Puppet Users] Re: puppetdb listening on TCP Ports 1099 and 58772

2012-12-27 Thread Michael Henry
So, nobody is able to explain to me why puppetdb is running Java RMI service on all interfaces when it's otherwise not configured to? Really, there's got to be a way to stop this aside from using iptables. $ lsof -i -n -P | grep java | grep LISTEN java 31464 puppetdb 21u IPv6 715671