[Puppet Users] Wacky environment column in puppet.hosts

2010-08-06 Thread Jason Koppe
I installed puppet 2.6 on my master and increased dbconnections in hopes that it would get me past some 0.25.5 hurdles (one described in http://groups.google.com/group/puppet-users/browse_thread/thread/7ac829c7cb3b2d18/a58f9c8472f2dd8f) -- the upgrade definitely helped because puppetmasterd is

Re: [Puppet Users] Wacky environment column in puppet.hosts

2010-08-06 Thread James Turnbull
Jason Koppe wrote: I installed puppet 2.6 on my master and increased dbconnections in hopes that it would get me past some 0.25.5 hurdles (one described in http://groups.google.com/group/puppet-users/browse_thread/thread/7ac829c7cb3b2d18/a58f9c8472f2dd8f) -- the upgrade definitely helped

Re: [Puppet Users] Wacky environment column in puppet.hosts

2010-08-06 Thread Jason Koppe
http://projects.puppetlabs.com/issues/4487 On Fri, Aug 6, 2010 at 3:44 AM, James Turnbull ja...@puppetlabs.com wrote: Jason Koppe wrote: I installed puppet 2.6 on my master and increased dbconnections in hopes that it would get me past some 0.25.5 hurdles (one described in

[Puppet Users] First report run fails

2010-08-06 Thread ScubaDude
Hi Guys, I'm getting the following error from syslog the first time a node tries to send a report to puppet-master: Report store failed: Got 1 failure(s) while initializing: change from absent to directory failed: Failed to set owner to '0': Operation not permitted -

[Puppet Users] ensure = running an init script that isn't actually a service ?

2010-08-06 Thread Daniel Maher
Hello all, Based on this post from July : http://www.mailinglistarchive.com/html/puppet-users@googlegroups.com/2010-07/msg00124.html The OP has this snippet running on an RHEL system : file { network: ... notify = Service[network] } service { network:

Re: [Puppet Users] ensure = running an init script that isn't actually a service ?

2010-08-06 Thread Rob McBroom
On Aug 6, 2010, at 6:56 AM, Daniel Maher wrote: Which is what we want, but i'm curious as to _why_ this is so, given (again) that we're talking about an init script, and not a particular service that sits in memory. Granted, the effects of the script can be known - is puppet smart enough

[Puppet Users] RHEL4 puppet-dashboard 1.0.3

2010-08-06 Thread ScubaDude
Has anyone got dashborad-1.03 working on RHEL 4? I'm struggling to find the ruby / rubygem RPMs for RHEL4... Thanks -- 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. To

[Puppet Users] using puppet ssl certs for other applications

2010-08-06 Thread Bob Belnap
Hello, As I've been building up my puppet infrastructure, I've started using puppet certs for all of my services that require ssl. Usually this is in the form of links: file { /opt/syslog-ng/etc/ca.d/b2457b50.0: require = Package[syslog-ng], ensure = link,

Re: [Puppet Users] using puppet ssl certs for other applications

2010-08-06 Thread Joe McDonagh
On 08/06/2010 10:47 AM, Bob Belnap wrote: Hello, As I've been building up my puppet infrastructure, I've started using puppet certs for all of my services that require ssl. Usually this is in the form of links: Bob, you're absolutely right it's a big win. I didn't even use links, I just

Re: [Puppet Users] using puppet ssl certs for other applications

2010-08-06 Thread mohit chawla
I would also like to know the same, are there any drawbacks of doing this ? On Fri, Aug 6, 2010 at 8:41 PM, Joe McDonagh joseph.e.mcdon...@gmail.comwrote: On 08/06/2010 10:47 AM, Bob Belnap wrote: Hello, As I've been building up my puppet infrastructure, I've started using puppet certs for

[Puppet Users] Module/Class Naming/Organization Best Practices

2010-08-06 Thread Marc Zampetti
All, Can anyone point me to some best practices for how one should name/organize classes and modules. I know that I should use modules for everything, and that I can references classes in one module from another class in another module. And I know about the class inheritance stuff. What

Re: [Puppet Users] using puppet ssl certs for other applications

2010-08-06 Thread David Schmitt
On 8/6/2010 4:47 PM, Bob Belnap wrote: Is anyone else doing this? Is it a good idea? What are the potential pitfalls? me too. An important consideration is that if you distribute secrets (db passwords etc) with puppet, every application using puppet's key can also access them. Another

[Puppet Users] Re: ERB / Tagging...

2010-08-06 Thread CraftyTech
Sounds pretty interesting, specially since I always had store configs running... I'm now able to circle back to this issue and re-focus on automatically generating my /etc/hosts file. So, should the exporting of the necessary values be done in the same class as the collection, or should I just

[Puppet Users] Re: ANNOUNCE: Puppet Dashboard 1.0.3 released

2010-08-06 Thread Ben Tullis
Hi there, All previous versions of Dashboard needed write access to the db, log and tmp directories. Writing to the public directory is new to this version. I can report that it now also needs write access to the config directory. Our dashboard has just been updated and the database

Re: [Puppet Users] Puppet + OpenVZ

2010-08-06 Thread Matt Robinson
There's a Google Summer of Code student working on a libvirt module for us right now. It's currently alpha stage and only supports Xen and KVM right now, not OpenVZ, but might be worth following the progress or contributing to the code or providing feedback.

Re: [Puppet Users] RHEL4 puppet-dashboard 1.0.3

2010-08-06 Thread Rein Henrichs
Excerpts from ScubaDude's message of Fri Aug 06 06:59:21 -0700 2010: Has anyone got dashborad-1.03 working on RHEL 4? I'm struggling to find the ruby / rubygem RPMs for RHEL4... Thanks The packages you need should be in EPEL. Have you tried the instructions for CentOS 5.5 in the

Re: [Puppet Users] using puppet ssl certs for other applications

2010-08-06 Thread Tony G.
Hi Bob, Doing the same for LDAP+TLS, it gives me the advantage of not creating another set of cert/key per machine, besides they are distributed with puppet, at the beginning I was tempted to use only symlnks to them but later I decided to make a copy of them and I've started to use like that

Re: [Puppet Users] using puppet ssl certs for other applications

2010-08-06 Thread Richard Crowley
I use Puppet's certs to setup stunnels and do all other private communication through those. I also reference them directly rather than copying them around. I haven't gone through the whole firedrill yet but this at least seems like it won't make moving services between hosts more painful. Rich

Re: [Puppet Users] Puppet + OpenVZ

2010-08-06 Thread Rein Henrichs
Excerpts from Matthew Cluver's message of Thu Aug 05 21:48:21 -0700 2010: Hi Everyone, I'm working on developing what would be an openly available module for puppet, to allow for the development and manipulation of virtual containers on OpenVZ host nodes. Here it is on google code:

[Puppet Users] purging a managed directory and exported resources

2010-08-06 Thread seph
I'm trying to use puppet to manage a directory full of files. Files are each a collected resource. In my case, they're part of nagios. But I can't really get it to work. The purge on the directory doesn't take into account the collected resources, so they end up racing. My code is basically:

[Puppet Users] Re: Nagios allowed hosts, how would you do it?

2010-08-06 Thread seph
FWIW When I hit this awhile ago I opened a bug (http://projects.puppetlabs.com/issues/3720). Annoying, it was rejected. seph Tore tore.lo...@gmail.com writes: I just realized that this wont work, since the variable allready is defined. The variable must also be defined before the include,

[Puppet Users] Re: purging a managed directory and exported resources

2010-08-06 Thread seph
Oh, this is 0.25.4 seph seph s...@directionless.org writes: I'm trying to use puppet to manage a directory full of files. Files are each a collected resource. In my case, they're part of nagios. But I can't really get it to work. The purge on the directory doesn't take into account the

[Puppet Users] A lens for mucking with puppet content / modules

2010-08-06 Thread Aaron Lippold
Hi All, I had a thought - while I was saying that I would like for all my modules to be 'taged' x - does augeas have a lens that would allow me to say. Use CASE: If I have comments where I have 'tagged' my modules, could I loop though, look at the comments, if I find pattern, add the label to

[Puppet Users] define help

2010-08-06 Thread Douglas Wilson
I'm trying to create a simple CPAN type and started with the code from this page: http://www.windley.com/archives/2008/10/using_puppet_and_cpan.shtml I've tried all versions of code from that page, and what I'd like to do is: class perl { define install-cpan () { exec { cpan_load_${name}:

[Puppet Users] Re: RHEL4 puppet-dashboard 1.0.3

2010-08-06 Thread George Bobeck
On Aug 6, 8:59 am, ScubaDude brett.ma...@googlemail.com wrote: Has anyone got dashborad-1.03 working on RHEL 4?   I'm struggling to find the ruby / rubygem RPMs for RHEL4... Thanks While not exactly the newest versions, I was getting my Ruby RPMs from http://rubyworks.rubyforge.org/redhat/

Re: [Puppet Users] Module/Class Naming/Organization Best Practices

2010-08-06 Thread Douglas Garstang
On Fri, Aug 6, 2010 at 8:16 AM, Marc Zampetti marc.zampe...@gmail.com wrote:  All, Can anyone point me to some best practices for how one should name/organize classes and modules. I know that I should use modules for everything, and that I can references classes in one module from another

Re: [Puppet Users] ANNOUNCE: Puppet 2.6.0 - Final release!

2010-08-06 Thread Douglas Garstang
On Mon, Jul 19, 2010 at 10:23 PM, James Turnbull ja...@puppetlabs.com wrote: The journey was long and arduous and many fell along the way but Puppet Labs is proud to announce the 2.6.0 release! The 2.6.0 release is a major feature release and includes a huge variety of new features, fixes,

Re: [Puppet Users] Re: Problems with require inside a definition

2010-08-06 Thread Jason Koppe
I'm having similar problems, should it be: class inittab { define conf ( $id, $runlevels = '123456', $action = 'respawn', $process ) { $require { $require }

Re: [Puppet Users] Re: Problems with require inside a definition

2010-08-06 Thread Jason Koppe
If you just mean this: 1 # generic class to allow /etc/inittab management 2 class inittab { 3 define conf ( 4 $id, 5 $runlevels = '123456', 6 $action = 'respawn', 7 $process 8 ) { 9

Re: [Puppet Users] Re: Problems with require inside a definition

2010-08-06 Thread Jason Koppe
I ended up getting this syntax to work: Here is the class calling the define: 2 class supervisor { ... 13 exec{install supervisor: ... 32 33 # running 'init a' will start supervisord -- should be called at the end of /etc/init.d/Indeed to start tomcats after slaving/caching

Re: [Puppet Users] using puppet ssl certs for other applications

2010-08-06 Thread mohit chawla
Also, I have something like this for creating the certificates, works just about fine, and helps in not being paranoid about drawbacks of using puppet's certs: class certs{ package {openssl: ensure=present, }

Re: [Puppet Users] using puppet ssl certs for other applications

2010-08-06 Thread mohit chawla
oops, nano. In the above code, creates=[/etc/ldap/server.crt,/etc/ldap/server.key,/etc/ldap/server.pem] On Sat, Aug 7, 2010 at 9:22 AM, mohit chawla mohit.chawla.bin...@gmail.comwrote: Also, I have something like this for creating the certificates, works just about fine, and helps in not

[Puppet Users] Re: ERB / Tagging...

2010-08-06 Thread CraftyTech
Can anyone share how they do their /etc/hosts population from storeconfigs? Thanks, On Aug 6, 11:50 am, CraftyTech hmmed...@gmail.com wrote: Sounds pretty interesting, specially since I always had store configs running...  I'm now able to circle back to this issue and re-focus on

[Puppet Users] Re: puppet 2.6.0 vs apache/mod_passenger

2010-08-06 Thread Rustler
Ok - What am I missing... I applied the patch referenced above to the 2.6.1rc1 and did an install over 2.6.0 (which was not working) Server - RH5 64Bit puppet 2.6.1rc1 ruby 1.8.5 passenger 2.2.15 rack 1.2.1 [Fri Aug 06 22:03:22 2010] [notice] Apache/2.2.3 (Red Hat) configured -- resuming normal