Re: [Puppet Users] Easiest way to create named pipes?

2010-09-16 Thread Daniel Maher
On 09/15/2010 10:11 PM, Dan Urist wrote: Can the puppet file type create named pipes (fifo's)? This doesn't seem to be an option for the ensure parameter, but there's also a type parameter, though the docs describe it as A read-only state to check the file type; not sure what that's for? Or do

[Puppet Users] Dashboard database optimization

2010-09-16 Thread Ben Tullis
Hi there, We've got a puppet (0.24.8) instance with something like a hundred nodes on it. The puppetmaster is running under passenger, we've got both stored configs and dashboard reports going to a MySQL database on the same host. The dashboard itself is now in production use as our external node

Re: [Puppet Users] Glassfish asadmin provider

2010-09-16 Thread Alan Barrett
On Wed, 15 Sep 2010, Nigel Kersten wrote: Does 'type --all asdf' do the right thing on SunOS ? According to IEEE Std 1003.1, 2004 Edition, type does not take any options. Anyway, on Solaris-5.8: for shell in /bin/sh /usr/xpg4/bin/sh /bin/ksh /usr/local/bin/bash ; do echo [$shell]; ${shell} -c

Re: [Puppet Users] Dashboard database optimization

2010-09-16 Thread qutic development
On 16.09.2010, at 11:31, Ben Tullis wrote: Are old reports purged at any time, or will they hang about for ever? Our dashboard_production.reports table now contains ~380,000 entries and consumes 814MB of disk space. Would it help to prune these to a certain time-period? Rails logs are

[Puppet Users] Re: Dashboard database optimization

2010-09-16 Thread Ben Tullis
Thanks for the response, but I think you've misunderstood the first bit. Rails logs are not rotated by default. The rails world would use a   capistrano task: http://blog.daeltar.org/logrotate-with-capistrano-generated-configura This is creating a logrotate file - which can be done with

Re: [Puppet Users] Dashboard database optimization

2010-09-16 Thread Rob McBroom
On Sep 16, 2010, at 5:31 AM, Ben Tullis wrote: Our problem is that the dashboard is just getting slower and slower as time goes by, and the database is becoming swamped. It's a concern now that it has become such a key tool. Can anyone enlighten me as to whether there is any housekeeping

[Puppet Users] Re: Dashboard database optimization

2010-09-16 Thread Oliver Hookins
On Sep 16, 12:38 pm, Ben Tullis b...@tiger-computing.co.uk wrote: Thanks for the response, but I think you've misunderstood the first bit. Rails logs are not rotated by default. The rails world would use a   capistrano task:

[Puppet Users] Re: Dashboard database optimization

2010-09-16 Thread Ben Tullis
Hi Oliver and Rob, I think I'll be implementing all of those suggestions in the near future then. Many thanks to you both. We're only on MySQL 5.0 for now, so no compressed rows, but that's a very interesting technique. I'll keep my ear to the ground for 1.0.4 as well. Ben -- You received this

[Puppet Users] Length of the name of a define

2010-09-16 Thread Luc Suryo
Hello, I do not not whatever this is a bug or somewhere in the docs (could not find it) if I define is named: define add_file_exec_bin I get the error err: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError:

Re: [Puppet Users] Glassfish asadmin provider

2010-09-16 Thread lists
Hi, Thanks for all suggestions! I finally went for Nan Liu's solution by checking the $PATH environment variable for an executable. The resulting commit is here: http://github.com/larstobi/puppet-glassfish/commit/047f82 diff --git a/lib/puppet/provider/glassfish/asadmin.rb

[Puppet Users] Installing 32bit rpms (using up2date on RHEL4) on a 64bit OS?

2010-09-16 Thread Geoff
How do you do it with puppet? I'm attempting to automate the install of an Oracle RAC and the installer requires a whole raft of 32bit rpms even on a 64bit OS. Easy enough via: up2date --arch i386 xorg-x11-deprecated-libs But I can't find any option to pass the --arch option to the up2date

[Puppet Users] 'sslv3 alert handshake failure' when using puppet load-balanced through Apache

2010-09-16 Thread Tim
I've setup a puppet load-balanced solution based on these instructions: http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Scalability I have 4 puppetmaster instances running on my puppet server and an Apache instance running on that server listening on port 8140 and round-robining the

Re: [Puppet Users] Length of the name of a define

2010-09-16 Thread James Turnbull
Luc Suryo wrote: and is there any restriction on the define name? There shouldn't be - what version is this? Regards James Turnbull -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to

Re: [Puppet Users] Length of the name of a define

2010-09-16 Thread Luc Suryo
the latest version 2.6.1 On Thu, Sep 16, 2010 at 9:50 AM, James Turnbull ja...@puppetlabs.comwrote: Luc Suryo wrote: and is there any restriction on the define name? There shouldn't be - what version is this? Regards James Turnbull -- You received this message because you are

Re: [Puppet Users] Length of the name of a define

2010-09-16 Thread James Turnbull
Luc Suryo wrote: the latest version 2.6.1 Then it's definitely a bug and can you please log it? PLease include your manifests and as much detail in the log output. Thanks James Turnbull -- You received this message because you are subscribed to the Google Groups Puppet Users group. To

Re: [Puppet Users] Length of the name of a define

2010-09-16 Thread Luc Suryo
will do can it a be a tar file ? (gz?) Thanks! On Thu, Sep 16, 2010 at 9:55 AM, James Turnbull ja...@puppetlabs.comwrote: Luc Suryo wrote: the latest version 2.6.1 Then it's definitely a bug and can you please log it? PLease include your manifests and as much detail in the log output.

[Puppet Users] Re: Tagging / Exported Resources

2010-09-16 Thread CraftyTech
does this feature work flawlessly for everyone except me? On Sep 15, 5:00 pm, CraftyTech hmmed...@gmail.com wrote: Ok, so far I've stripped down all the extra tools to make sure I can identify the issue with filtering the collection of exported hosts. Basically I took foreman out of the

Re: [Puppet Users] Installing 32bit rpms (using up2date on RHEL4) on a 64bit OS?

2010-09-16 Thread Ryan Dooley
I've not actually tried but I would think you should be able to do something like: package { foo.i386: { ensure = latest ; } } I know yum understands the syntax of: yum install foo.i386 (or foo.x86_64). Cheers, Ryan On 9/16/2010 6:05 AM, Geoff wrote: How do you do it with puppet? I'm

[Puppet Users] Chained puppet servers

2010-09-16 Thread Jewels
I think this should work - but I don't want to break production - so.. There are several firewalls involved, but I can open 8140 as needed. So if I have a master server in one subnet and a client/master in another net - here is what I am thinking. The first master is well protected, call it A

Re: [Puppet Users] cucumber-puppet and environments

2010-09-16 Thread Bruce Richardson
On Wed, Sep 15, 2010 at 09:31:19PM +0200, Alan Barrett wrote: I use an external node classifier purely for the purpose of setting the environment (and a parameter called $error_message or something, but not any classes). There are minor problems when the master and client disagree, but so far

Re: [Puppet Users] Installing 32bit rpms (using up2date on RHEL4) on a 64bit OS?

2010-09-16 Thread James Cammarata
On Thu, 16 Sep 2010 10:24:38 -0700, Ryan Dooley ryan.doo...@gmail.com wrote: I've not actually tried but I would think you should be able to do something like: package { foo.i386: { ensure = latest ; } } I know yum understands the syntax of: yum install foo.i386 (or foo.x86_64).

Re: [Puppet Users] cucumber-puppet and environments

2010-09-16 Thread Nigel Kersten
On Thu, Sep 16, 2010 at 1:15 AM, Bruce Richardson itsbr...@workshy.org wrote: On Wed, Sep 15, 2010 at 09:31:19PM +0200, Alan Barrett wrote: I use an external node classifier purely for the purpose of setting the environment (and a parameter called $error_message or something, but not any

[Puppet Users] puppet 2.6.x with rrdtool

2010-09-16 Thread Derek Yarnell
Hi, Since upgrading to 2.6.1 (previously on 0.25.x) our puppet master has been pretty constantly reporting this, puppet-master[26174]: Report rrdgraph failed: Failed to update time: unknown DS name '' In puppet.conf we just have, [master] ... reports = store,log,rrdgraph This was

Re: [Puppet Users] puppet 2.6.x with rrdtool

2010-09-16 Thread R.I.Pienaar
- Derek Yarnell de...@umiacs.umd.edu wrote: Hi, Since upgrading to 2.6.1 (previously on 0.25.x) our puppet master has been pretty constantly reporting this, puppet-master[26174]: Report rrdgraph failed: Failed to update time: unknown DS name '' I had the same, didnt have time to

[Puppet Users] vcsrepo type

2010-09-16 Thread Alaric
Hi, I've been playing with the vcsrepo type and for the most part it works pretty well, with the exception of ensure = latest/present with svn... when I ensure = present, it does what I expect, creates the working directory at whatever version the repo is currently at, and leaves it alone

[Puppet Users] Re: Wrong version in SPEC file

2010-09-16 Thread micha...@tnrglobal.com
On Jul 30, 5:56 pm, Todd Zullinger t...@pobox.com wrote: Douglas Garstang wrote: The spec file for for (whatever version this actually is), doesn't cleanly build an RPM either. SNIP     rpmbuild --rebuild --define 'dist .el5' --define 'rhel 5' \         --define 'el5 1'

Re: [Puppet Users] Re: Wrong version in SPEC file

2010-09-16 Thread R.I.Pienaar
- micha...@tnrglobal.com mich...@mapu.com wrote: On Jul 30, 5:56 pm, Todd Zullinger t...@pobox.com wrote: Douglas Garstang wrote: The spec file for for (whatever version this actually is), doesn't cleanly build an RPM either. SNIP     rpmbuild --rebuild --define 'dist .el5'

Re: [Puppet Users] Installing 32bit rpms (using up2date on RHEL4) on a 64bit OS?

2010-09-16 Thread Avi Miller
Hi Geoff, On 16/09/10 11:05 PM, Geoff wrote: I'm attempting to automate the install of an Oracle RAC and the installer requires a whole raft of 32bit rpms even on a 64bit OS. Why not use the oracle-validated[1] metapackage to pull in all the requirements? It's much simpler. Cheers, Avi

[Puppet Users] Re: Wrong version in SPEC file

2010-09-16 Thread micha...@tnrglobal.com
On Sep 16, 4:23 pm, R.I.Pienaar r...@devco.net wrote: - micha...@tnrglobal.com mich...@mapu.com wrote: On Jul 30, 5:56 pm, Todd Zullinger t...@pobox.com wrote: Douglas Garstang wrote: The spec file for for (whatever version this actually is), doesn't cleanly build an RPM

[Puppet Users] Re: [Puppet-dev] GitHub Account move - the Great Migration continues...

2010-09-16 Thread Todd Zullinger
James Turnbull wrote: For example the Puppet respository that would have been cloned like: $ git clone git://github.com/reductivelabs/puppet.git Should now be cloned like: $ git clone git://github.com/puppetlabs/puppet.git I know this came up in IRC the other day, so for anyone with a

[Puppet Users] Upgrade puppet from 2.5 to 2.6.1, module error

2010-09-16 Thread Michael K
Upon upgrading from 2.5 to 2.6.1, I am no seeing the following error, and not sure how to track the problem down: No source module metadata provided for apache at /etc/puppet/ manifests/templates.pp:5 on node puppet-test.example.com. Previously, this worked. I'll be happy to provide any

[Puppet Users] Can the require value be a function?

2010-09-16 Thread Luc Suryo
Hello I have this fly::create_dir { /usr/share/mysql-zrm/pkgs : mode = 0755, owner = bin, group = bin } == creates the directory and parents .. it just does a mkdir -p with couple test so I have file { $client_package_file : path =

Re: [Puppet Users] Can the require value be a function?

2010-09-16 Thread Nan Liu
On Thu, Sep 16, 2010 at 3:36 PM, Luc Suryo lsu...@gmail.com wrote: fly::create_dir { /usr/share/mysql-zrm/pkgs : mode = 0755, owner = bin, group = bin } file {  $client_package_file :     path = /usr/share/mysql-zrm/pkgs/$client_package_file,

Re: [Puppet Users] Can the require value be a function?

2010-09-16 Thread Luc Suryo
Thanks! Works -- Kind regards Luc Suryo - Remember No one travels faster than the speed of live On Sep 16, 2010, at 16:30, Nan Liu n...@puppetlabs.com wrote: On Thu, Sep 16, 2010 at 3:36 PM, Luc Suryo lsu...@gmail.com wrote: fly::create_dir { /usr/share/mysql-zrm/pkgs : mode = 0755,

Re: [Puppet Users] vcsrepo type

2010-09-16 Thread Michael Knox
Alaric, I've just made a fix to the svn provider (and a related tidy up to the vcsrepo type) That change is available at: http://github.com/mikeknox/puppet-vcsrepo Cheers On 17/09/10 5:44 AM, Alaric wrote: Hi, I've been playing with the vcsrepo type and for the most part it works pretty

Re: [Puppet Users] 'sslv3 alert handshake failure' when using puppet load-balanced through Apache

2010-09-16 Thread Patrick
I've found that there are three major pieces that can be going wrong in this case: 1) Getting the ca.pem file to the client. 2) Getting the Certificate sign request to the server. 3) Getting the signed certificate to the client. Test them like this: To test 1) Grab /var/lib/puppet/ssl/ca.pem

Re: [Puppet Users] Chained puppet servers

2010-09-16 Thread Patrick
On Sep 16, 2010, at 10:56 AM, Jewels wrote: I think this should work - but I don't want to break production - so.. There are several firewalls involved, but I can open 8140 as needed. So if I have a master server in one subnet and a client/master in another net - here is what I am

Re: [Puppet Users] Chained puppet servers

2010-09-16 Thread Nigel Kersten
On Thu, Sep 16, 2010 at 6:03 PM, Patrick kc7...@gmail.com wrote: On Sep 16, 2010, at 10:56 AM, Jewels wrote: I think this should work - but I don't want to break production - so.. There are several firewalls involved, but I can open 8140 as needed. So if I have a master server in one subnet

[Puppet Users] SSL Chaining puppet 2.6.1 passenger and apache

2010-09-16 Thread denmat
Hi list, have an issue which I haven't been able to find a definitive answer for after searching list. I have upgraded from 2.5 to 2.6 and problem I have existed with 2.5 so this is not related to the new release. (running on F12/Centos5.5). The puppetmaster works fine with my certificates

Re: [Puppet Users] SSL Chaining puppet 2.6.1 passenger and apache

2010-09-16 Thread Patrick
On Sep 16, 2010, at 9:11 PM, denmat wrote: Hi list, have an issue which I haven't been able to find a definitive answer for after searching list. I have upgraded from 2.5 to 2.6 and problem I have existed with 2.5 so this is not related to the new release. (running on F12/Centos5.5).

[Puppet Users] Re: SSL Chaining puppet 2.6.1 passenger and apache

2010-09-16 Thread denmat
You are correct. Many thanks Patrick. On Sep 17, 3:10 pm, Patrick kc7...@gmail.com wrote: On Sep 16, 2010, at 9:11 PM, denmat wrote: Hi list, have an issue which I haven't been able to find a definitive answer for after searching list. I have upgraded from 2.5 to 2.6 and problem I

Re: [Puppet Users] Re: SSL Chaining puppet 2.6.1 passenger and apache

2010-09-16 Thread Patrick
On Sep 16, 2010, at 10:37 PM, denmat wrote: You are correct. Many thanks Patrick. You're welcome. I'd advise you so trim down your config file right after you get it working. Yours is really unmanageable. Here's mine: [main] logdir=/var/log/puppet vardir=/var/lib/puppet