Re: [Puppet Users] Separating puppetmaster file serving and catalogs

2010-12-20 Thread Felix Frank
Sorry for the late answer, my provider had a downtime this weekend. Tough call. There is no such thing as a transparent SSL proxy afaik, because without decrypting requests, the proxy cannot make any header based decisions. This may well be a dead end then. Ah. See below for a different

[Puppet Users] Re: Serving files while ignoring some (e.g. .svn)

2010-12-20 Thread Bill Proud
On Dec 20, 12:13 am, Don Jackson puppet-us...@clark- communications.com wrote: I make user of the puppet fileserving capability to serve up configs and smaller executables I need on my deployed servers. Sometimes I populate directories to be served on the puppetmaster via subversion.

[Puppet Users] foreman issue

2010-12-20 Thread walexey
Hello! I try to use foreman. It's successfuly import current nodes from puppet storeconfig. Nodes hostname stored in short form, without domain. After that, i run puppet on newly created additional 5 nodes. They shows in foreman with full fqdn. Os, environment, architecture for this nodes not

Re: [Puppet Users] Update time in template file.

2010-12-20 Thread Felix Frank
On 12/19/2010 10:16 PM, rjl wrote: Hi all, How can I put in an update time in a template file? The problem I am running it to is this... Here is my file to update the timestamp snmp.conf.erb # HEADER: [ %= Time.now.gmtime % ] Modified by puppet. defVersion 2c devCommunity

Re: [Puppet Users] Re: file: ensure =gt; present, purge =gt; true

2010-12-20 Thread Ayman Elkazzaz
CraftyTech hmmedina at gmail.com writes: I'm using puppet 0.25.5 On Dec 16, 10:26 am, CraftyTech hmmed...@gmail.com wrote: Hello All,      I'm not sure what I'm missing here, but when defining a file resource, to use as my yum repo, I can't seem to be able to purge other files

Re: [Puppet Users] erb template and variable check

2010-12-20 Thread Felix Frank
On 12/20/2010 05:03 AM, Nicolas Aizier wrote: Hi everyone, I'm actually working on implementing templates as it is a very convenient and powerfull way to configure files properly. But I'm actually meeting a little problem, not a blocking one but a strange thing. Basically my module is

[Puppet Users] puppetd stops after RH patches

2010-12-20 Thread Len Rugen
We have several RedHat systems that were patched this weekend where puppetd is quietly going away. I'm still gathering info, but all 64-bit RH 5 systems I've checked are OK, the failing systems seem to be limited to 32 bit systems but both RH4 and 5. We don't have many RH 4 systems left..

Re: [Puppet Users] foreman issue

2010-12-20 Thread Mark Stanislav
You need to run the rake again. Setup a cronjob to execute it every so often if you need new hosts regularly (e.g. Auto scaling) -Mark On Dec 20, 2010, at 6:58 AM, walexey wale...@gmail.com wrote: Hello! I try to use foreman. It's successfuly import current nodes from puppet storeconfig.

[Puppet Users] tmz repo

2010-12-20 Thread Arnau Bria
Hi all, maybe it's a little OT... anyone knows if old puppet version from tmz repos are still available somewhere? TIA, Arnau -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-us...@googlegroups.com.

[Puppet Users] [puppet-users] run without puppet master

2010-12-20 Thread aaron prayther
i'm relatively new to puppet and have not found an examples of running without a puppet master. i want to use red hat satellite server to deliver to the clients of puppet an rpm containing puppet content a a few different packages. 1 for base lockdown, in this case STIG 1 for project

[Puppet Users] Re: Difficulty Migrating to Mongrel

2010-12-20 Thread jkois
Just wanted to report to say that I have still been unsuccessful with this. Any thoughts regarding the issue would be greatly appreciated. Thanks. On Dec 14, 12:54 pm, jkois jeffrey.k...@gmail.com wrote: Hello, After running the puppetmaster on Webrick and struggling with clients dropping

[Puppet Users] Re: Update time in template file.

2010-12-20 Thread rjl
Thanks to everyone for all of your input. It was very helpful. I like Felix's suggestion about writing a plugin. rjl On Dec 20, 5:03 am, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: On 12/19/2010 10:16 PM, rjl wrote: Hi all, How can I put in an update time in a template file? The

[Puppet Users] Node syntax error

2010-12-20 Thread rjl
Hi all, I am having an issue with the syntax for a node definition. I want to use a facter variable in my definition but I get a syntax error. Here is the code node ${fqdn} { include adm } Here is the error. Could not parse for environment production: Syntax error at ''; expected '}' at

[Puppet Users] Re: Could not evaluate: 'test' is not executable

2010-12-20 Thread Rudy Gevaert
On Friday, December 10, 2010 11:34:15 AM UTC+1, luke.bigum wrote: file called 'grep'... Removing this stray file and puppet now runs fine :) Hi Luke. Yes you are right! I had a file called test in /root ! thanks! -- You received this message because you are subscribed to the

Re: [Puppet Users] Node syntax error

2010-12-20 Thread Felix Frank
On 12/20/2010 05:23 PM, rjl wrote: Hi all, I am having an issue with the syntax for a node definition. I want to use a facter variable in my definition but I get a syntax error. Here is the code node ${fqdn} { include adm } Here is the error. Could not parse for environment

[Puppet Users] Re: Node syntax error

2010-12-20 Thread rjl
I have take it out of the case statement to try to resolve the problem. Here is an example. I receive the same error from this... $tmp = deving0109.cdntools.nsatc.net node ${tmp} { include adm } But this works just fine... node deving0109.cdntools.nsatc.net { include adm } On Dec 20, 9:51 am,

Re: [Puppet Users] Re: Node syntax error

2010-12-20 Thread Felix Frank
On 12/20/2010 05:55 PM, rjl wrote: I have take it out of the case statement to try to resolve the problem. Here is an example. I receive the same error from this... $tmp = deving0109.cdntools.nsatc.net node ${tmp} { include adm } But this works just fine... node

[Puppet Users] Re: Node syntax error

2010-12-20 Thread rjl
Felix, I have made the changes base on your feedback and it works well. Thanks for your assistance...rjl On Dec 20, 10:00 am, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: On 12/20/2010 05:55 PM, rjl wrote: I have take it out of the case statement to try to resolve the problem. Here

[Puppet Users] RFC: Puppet Docs

2010-12-20 Thread James Turnbull
Hi all Some time ago we created a new project called Puppet Docs. This took our existing reference documentation (which is auto-generated from the Puppet Core source code) and added together some pages from the Wiki and some new content. That content was published at http://docs.puppetlabs.com.

Re: [Puppet Users] Appending to Variables in a global context

2010-12-20 Thread Spenser Gilliland
On Sun, Dec 19, 2010 at 4:26 PM, Daniel Pittman dan...@rimspace.net wrote: On Mon, Dec 20, 2010 at 01:34, Spenser Gilliland spenser...@gmail.com wrote: That's still ugly but I see how it works.  I think I'll give it a shot that way see how it goes I still need to do something to make sure

Re: [Puppet Users] RFC: Puppet Docs

2010-12-20 Thread Mark Stanislav
Hi James, Sounds very pragmatic and adds some aforementioned structure continuity for the project. Just wondering if there were any disadvantages thought of during the brainstorming to implement this change? I can't think of any off-hand but I'd guess you and others at Puppet Labs spent more

[Puppet Users] classes being assigned twice

2010-12-20 Thread Sukh Khehra
I am running puppet 0.25.5 on puppet client and server (still testing rollout of the newest upgrade). For all my nodes, I see all classes listed twice in the /var/lib/puppet/classes.txt on the node. Anyone know why that might be? When I run my external node classifier, I only see the classes

[Puppet Users] Enhancement for puppetmaster init script to balance puppetmaster instances across CPU cores - RFC

2010-12-20 Thread Robin Bowes
Hi all, I've been asked to get comments on this proposed patch to /etc/init.d/puppetmaster: https://projects.puppetlabs.com/issues/5465 Alex Giurgiu modified the puppetmaster init script to balance puppetmaster instances across CPU cores. I updated his modification to use facter to get the no.

[Puppet Users] Yum Repos - Best Practice?

2010-12-20 Thread Matthew Macdonald-Wallace
Hi all, I'm wondering how other people mange yum repositories using the yumrepo type. At the moment, we have a class called repos which has all of our repos defined in it. This class is included in our 'base' class which sets up things common to all servers such as puppet, mcollective, nrpe

RE: [Puppet Users] [puppet-users] run without puppet master

2010-12-20 Thread Jennings, Jared L CTR USAF AFMC 46 SK/CCI
i want to use red hat satellite server to deliver to the clients of puppet an rpm containing puppet content a a few different packages. 1 for base lockdown, in this case STIG 1 for project customization 1 for applications or something along those lines. Aaron, you should check out CLIP,

Re: [Puppet Users] Enhancement for puppetmaster init script to balance puppetmaster instances across CPU cores - RFC

2010-12-20 Thread Mohit Chawla
On Mon, Dec 20, 2010 at 11:47 PM, Robin Bowes robin-li...@robinbowes.comwrote: I updated his modification to use facter to get the no. of available cores, and to display the core used when each instance starts Using facter seems clean enough, but I was wondering if getting the information

[Puppet Users] # Only restart if we're actually running

2010-12-20 Thread Nick Moffitt
I'd like to know the best way to fix the refresh/restart behavior of Service resources without using ensure = running. I know that this is an unpopular requirement, but I do not want puppet to restart dying services before my monitoring system notices. If a service is fragile, I want to be woken

[Puppet Users] Call for talks for the Configuration Management DevRoom at fosdem 2011

2010-12-20 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 **Call for talks for the Configuration Management DevRoom at fosdem 2011** FOSDEM 2011 - http://fosdem.org/2011/ 6 February 2011, 09:00 to 17:00, Brussels, Belgium Contact: fosdem2...@puppetlabs.com We will be holding a Configuration Management

Re: [Puppet Users] # Only restart if we're actually running

2010-12-20 Thread Mark Stanislav
Nick, I would recommend using Nagios event handlers for this if you want Nagios to essentially take the reigns of this problem. That way you will get your alerts and Nagios can react by starting the service again after x number of failures. I understand you may want to do this through Puppet

Re: [Puppet Users] # Only restart if we're actually running

2010-12-20 Thread Nick Moffitt
Mark Stanislav: I would recommend using Nagios event handlers for this if you want Nagios to essentially take the reigns of this problem. That way you will get your alerts and Nagios can react by starting the service again after x number of failures. Actually, this is kind of the opposite of

Re: [Puppet Users] # Only restart if we're actually running

2010-12-20 Thread Mark Stanislav
On Dec 20, 2010, at 2:24 PM, Nick Moffitt wrote: Mark Stanislav: I would recommend using Nagios event handlers for this if you want Nagios to essentially take the reigns of this problem. That way you will get your alerts and Nagios can react by starting the service again after x number of

[Puppet Users] How to ensure at least one of possibly many prerequisites is installed?

2010-12-20 Thread michal ruzicka
Hi All, I would like to use puppet to install a tool which requires java on a linux machine. I could do that quite easily by depending on a specific java package (say OpenJDK), then I would simply do: package { java-1.6.0-openjdk: ensure = installed } ... { require =

Re: [Puppet Users] How to ensure at least one of possibly many prerequisites is installed?

2010-12-20 Thread Ohad Levy
add a fact which checks if java is installed? Ohad On Mon, Dec 20, 2010 at 10:00 PM, michal ruzicka michal.r...@gmail.comwrote: Hi All, I would like to use puppet to install a tool which requires java on a linux machine. I could do that quite easily by depending on a specific java package

[Puppet Users] Re: Difficulty Migrating to Mongrel

2010-12-20 Thread jkois
You make a good case for simply upgrading to the backport version and using passenger - I had it working flawlessly within minutes. I had considered doing the upgrade but didn't realize how big of a difference it would make. Thanks for the push required to take the leap! Just as a quick summary:

Re: [Puppet Users] # Only restart if we're actually running

2010-12-20 Thread Nick Moffitt
Mark Stanislav: Fault tolerant infrastructure should be the point. Absolutely, but the granularity of nagios and puppet (Every half hour? Every ten minutes? Every five?) is simply too coarse to qualify as fault-tolerance. Propping a broken service back on its feet at this frequency is worse

[Puppet Users] Re: Enhancement for puppetmaster init script to balance puppetmaster instances across CPU cores - RFC

2010-12-20 Thread jcbollinger
On Dec 20, 12:51 pm, Mohit Chawla mohit.chawla.bin...@gmail.com wrote: On Mon, Dec 20, 2010 at 11:47 PM, Robin Bowes robin-li...@robinbowes.comwrote: I updated his modification to use facter to get the no. of available cores, and to display the core used when each instance starts Using

[Puppet Users] Re: RFC: Puppet Docs

2010-12-20 Thread jcbollinger
On Dec 20, 11:38 am, James Turnbull ja...@puppetlabs.com wrote: We're now discussing whether it is a good idea to separate our documentation from the Puppet Core.  What we're proposing is to move all the content from Puppet Docs (barring MCollective - which will stay in the Mcollective

Re: [Puppet Users] Separating puppetmaster file serving and catalogs

2010-12-20 Thread Patrick
On Dec 20, 2010, at 2:43 AM, Felix Frank wrote: Sorry for the late answer, my provider had a downtime this weekend. Tough call. There is no such thing as a transparent SSL proxy afaik, because without decrypting requests, the proxy cannot make any header based decisions. This may well

Re: [Puppet Users] Re: Separating puppetmaster file serving and catalogs

2010-12-20 Thread Nigel Kersten
On Wed, Dec 15, 2010 at 8:36 PM, Nigel Kersten ni...@puppetlabs.com wrote: This is a backup plan, but I would like to do this automatically without needing to change the manifests. You can use a fact here in the place of the server name, then it can be automatic. If you have your own

Re: [Puppet Users] # Only restart if we're actually running

2010-12-20 Thread Nigel Kersten
On Mon, Dec 20, 2010 at 1:33 PM, Nick Moffitt n...@zork.net wrote: Mark Stanislav: Fault tolerant infrastructure should be the point. Absolutely, but the granularity of nagios and puppet (Every half hour? Every ten minutes? Every five?) is simply too coarse to qualify as fault-tolerance.

Re: [Puppet Users] Re: Node syntax error

2010-12-20 Thread Nigel Kersten
On Mon, Dec 20, 2010 at 2:43 PM, jcbollinger john.bollin...@stjude.orgwrote: On Dec 20, 11:00 am, Felix Frank felix.fr...@alumni.tu-berlin.de wrote: On 12/20/2010 05:55 PM, rjl wrote: Well, I'm stumped. Maybe variable substition is just not meant to work for node declarations. I could