[Puppet Users] Re: How puppetmasterd manage libraries?

2011-07-06 Thread alan bover
The version of puppet is 2.6.8. If I try to run the agent on the server side, I get the modules. But there is any way to do that without running the client in the server? root@elminster /etc/puppet# puppet agent --no-daemonize --environment development --verbose --onetime info: Retrieving plugin n

[Puppet Users] Re: How puppetmasterd manage libraries?

2011-07-06 Thread alan bover
The version of puppet is 2.6.8. If I try to run the agent on the server side, I get the modules. But there is any way to do that without running the client in the server? root@ /etc/puppet# puppet agent --no-daemonize --environment development --verbose --onetime info: Retrieving plugin notice: /Fi

[Puppet Users] Importing RPM private signing keys

2011-07-06 Thread Jonathan Gazeley
Hi all, I'm not sure about the best way to tackle this - perhaps someone can help :) I've got some manifests that set up a server to be a build server, to compile sources and create RPM packages. There is a couple of things that I can't see how to do: 1. Each user needs an ~/.rpmmacros file

[Puppet Users] Dashboard resurrecting deleted nodes

2011-07-06 Thread Chris Phillips
Hi, I was just searching for all systems where "selinux is true" on Dashboard and firstly I got no results, despite there being some (any clues?) but that search also seems to have resurrected some nodes I deleted a few weeks ago. 7 systems instantly appeared under "Never reported". I just deleted

Re: [Puppet Users] Moving config to an ENC

2011-07-06 Thread Justin Lambert
This looks exactly like what I was looking for, thank you. This might be worth mentioning on the ENC page so people like myself can find it easier. On Tue, Jul 5, 2011 at 10:42 PM, Dan Bode wrote: > Hi J, > > The create resources function was created to serve this exact use case (the > README a

[Puppet Users] Dynamic including in templates

2011-07-06 Thread Jonathan Gazeley
I have a puppet class called dhcp which sets up the daemon and installs a base dhcpd.conf. I have also have subclasses like dhcp::pool1, dhcp::pool2 which install other files with DHCP code snippets to provide DHCP to different subnets with different address pools. The manifest for these looks

Re: [Puppet Users] Problems Syncing Home Directories

2011-07-06 Thread Kyle Hall
Thanks! All the files in /etc/puppet are owned by root, so I assumed those files should be as well. Re-owned the files to puppet and now it works great! Thanks again for the help. Kyle http://www.kylehall.info Mill Run Technology Solutions ( http://millruntech.com ) Crawford County Federated Libr

Re: [Puppet Users] Dynamic including in templates

2011-07-06 Thread Ken Barber
Try: <% if includernw == 1 %> include "/etc/dhcp/dhcpd.rnw";<% end %> Note the '==' :-). ken. On Wed, Jul 6, 2011 at 2:45 PM, Jonathan Gazeley wrote: > I have a puppet class called dhcp which sets up the daemon and installs a > base dhcpd.conf. > > I have also have subclasses like dhcp::pool1,

Re: [Puppet Users] Dashboard resurrecting deleted nodes

2011-07-06 Thread Nick Lewis
On Wed, Jul 6, 2011 at 4:20 AM, Chris Phillips wrote: > Hi, > I was just searching for all systems where "selinux is true" on Dashboard > and firstly I got no results, despite there being some (any clues?) but that > search also seems to have resurrected some nodes I deleted a few weeks ago. > 7 s

Re: [Puppet Users] Dynamic including in templates

2011-07-06 Thread Jonathan Gazeley
Thanks Ken. Adding the '==' now makes my template syntactically valid, which is always nice. Next problem - as the $includernw variable is defined in a subclass, it is out-of-scope when the main dhcpd.conf template is called from the top class. I see in the docs there's a function called sco

Re: [Puppet Users] Dashboard - Could not retrieve facts from inventory service

2011-07-06 Thread Craig White
Yes, 'auth any' was the secret decoder ring. I would have thought 'auth no' was sufficient but evidently not. Thanks Craig On Jul 5, 2011, at 8:31 PM, Justin Lambert wrote: > I actually set this up today, if you set it up like: > > path /facts > method find > auth any > allow * > > does that

Re: [Puppet Users] Dashboard - Could not retrieve facts from inventory service

2011-07-06 Thread Nick Lewis
On Wed, Jul 6, 2011 at 8:15 AM, Craig White wrote: > Yes, 'auth any' was the secret decoder ring. I would have thought 'auth no' > was sufficient but evidently not. > Just to clear this up, since it's definitely a point of some confusion.. The Dashboard makes authenticated requests. "auth no" is

Re: [Puppet Users] Dynamic including in templates

2011-07-06 Thread James Fryman
Hi Jonathan. You should be able to use a similar syntax as illustrated below. For instance… <% if scope.lookupvar('dhcp::includernw') == 1 %> include "/etc/dhcp/dhcpd.rnw";<% end %> <% is a marker for ruby code, whereas <%= is actually a ruby expression that outputs the result of a value or ex

[Puppet Users] Large scale puppet deployments

2011-07-06 Thread Tim Bell
I am looking for - an estimate on the number of machines that Puppet can manage - a pointer to how these large scale configurations can be set up Any pointers are welcome, Tim -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this gr

Re: [Puppet Users] Large scale puppet deployments

2011-07-06 Thread Charles Johnson
At Vanderbilt University, we have a compute cluster with about 700 machines total, all under puppet. The machines are broken into 3 groups: compute nodes, gateways, and infrastructure. The puppet server is a dual-quad core box with 16GB ram, using apache and passenger. All 700 boxes check in once p

[Puppet Users] Issue with puppet file serving api not parsing yaml content correctly

2011-07-06 Thread Derek
I am working on building a facter tag based node classifier similar to https://github.com/jordansissel/puppet-examples/tree/master/nodeless-puppet/. However, I have run into an issue where I cannot use puppet's require file ability to push the yaml file containing the facts file to the client becau

Re: [Puppet Users] AIX clients

2011-07-06 Thread Michael Stahnke
On Thu, Jun 30, 2011 at 6:12 AM, Rob McBroom wrote: > On Jun 29, 2011, at 3:28 PM, Kinzel, David wrote: > >> Can you point to where/how you got ruby working? Last attempt openssl >> was refusing to function properly for me. > > I built it from source, but the SSL module wasn’t working for me eithe

[Puppet Users] Announce: Puppet 2.7.2rc1

2011-07-06 Thread Michael Stahnke
This a bug-fix release in the 2.7.x branch. This merges up all changes in the 2.6.9 release that were unable to be merged into 2.7.{0,1} due to 2.7 being frozen in release candidate state. This release is available for download at: http://puppetlabs.com/downloads/puppet/puppet-2.7.2rc1.tar.gz

Re: [Puppet Users] Large scale puppet deployments

2011-07-06 Thread James Turnbull
Tim Bell wrote: I am looking for - an estimate on the number of machines that Puppet can manage - a pointer to how these large scale configurations can be set up Largest install I am aware of is 100K machines but I suspect they probably have more now. I know of multiple 50K to 100K installa