Re: [Puppet Users] Re: Inheritance

2010-11-03 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/02/2010 06:35 PM, Douglas Garstang wrote: Apart from the obvious typo. Should be include class_2. Still doesn't work though. Puppet class inheritance black art... Works for me(TM): $ cat foo.pp class class_1 { file {

[Puppet Users] pkgutil package provider (solaris)

2010-11-03 Thread Rudy Gevaert
Dear group, Those who are running Solaris might be interested that there is some movement to create a pkgutil provider so you can install packages from opencsw. Those who are interested, please see: http://projects.puppetlabs.com/issues/4258 Thanks! Rudy -- You received this message because

Re: [Puppet Users] Re: RFC: Make file content specification methods consistent.

2010-11-03 Thread Michael Gliwinski
On Tuesday 02 Nov 2010 16:43:25 Nigel Kersten wrote: I believe that was by either passing an array or multiple arguments, no? E.g.: find-first-existing: file('foo', 'bar') template('foo.erb', 'bar.erb') concatenation: concat(file('foo'), file('bar'))

[Puppet Users] Re: Inheritance

2010-11-03 Thread jcbollinger
On Nov 3, 3:27 am, Peter Meier peter.me...@immerda.ch wrote: Works for me(TM): Works for me, too. I'm still on Puppet 0.24.8. What does the log say? -- 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] fqdn vs short name

2010-11-03 Thread Rob McBroom
On Nov 2, 2010, at 10:32 AM, CraftyTech wrote: Question: Does anyone uses puppet with shortnames for hostname on the client nodes as opposed to fqdn? I noticed that the ssl cert needs to be a fqdn in order to work. Would having shortname for hostname, and using fqdn just as an alias in DNS,

Re: [Puppet Users] fqdn vs short name

2010-11-03 Thread Jeff McCune
On Wed, Nov 3, 2010 at 6:35 AM, Rob McBroom mailingli...@skurfer.com wrote: On Nov 2, 2010, at 10:32 AM, CraftyTech wrote: Question: Does anyone uses puppet with shortnames for hostname on the client nodes as opposed to fqdn?  I noticed that the ssl cert needs to be a fqdn in order to work.  

Re: [Puppet Users] Does puppetmaster knows its own configuration parameters?

2010-11-03 Thread Robert Scheer
On Tue, Nov 02, 2010 at 14:03 +0200, Alan Barrett wrote: In version 0.25, you can say $server = inline_template(%= Puppet.settings[:server] %). Thanks! Puppet.settings[:server] is exactly what I was looking for. I had tried variations of server, puppet.server and search(), but failed. Do

[Puppet Users] Re: pkgutil package provider (solaris)

2010-11-03 Thread windowsrefund
Are there any plans to retrofit this into 0.25.x? -- 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 unsubscribe from this group, send email to

Re: [Puppet Users] Puppet Application Server Deployment

2010-11-03 Thread jwa
On Oct 27, 2010, at 5:02 PM, Douglas Garstang wrote: On Mon, Oct 25, 2010 at 1:21 AM, James Turnbull ja...@puppetlabs.com wrote: ajinkya prabhune wrote: Hi, So what do u thing is good and better than Puppet ? thanks I second Nigel's question. I know a number of people who deploy

[Puppet Users] apt gpg key class + define not working

2010-11-03 Thread Walter Heck
Hi all, I'm writing a recipe for mariadb. It all works (I think, if you see any mistakes other then my question, feel free to point them out ;) ), except for the gpg key adding. Can anyone tell me what I'm doing wrong? define debian::apt::key($ensure, $apt_key_url = http://

Re: [Puppet Users] Does puppetmaster knows its own configuration parameters?

2010-11-03 Thread Nigel Kersten
On Wed, Nov 3, 2010 at 7:32 AM, Robert Scheer r...@xs4all.net wrote: On Tue, Nov 02, 2010 at 09:21 -0700, Patrick wrote: Actually, I seem to have it backwards.  Looks like $servername is the server-side config variable which is why you can't find it.  Alan Barrett seems to have a solution

Re: [Puppet Users] Re: pkgutil package provider (solaris)

2010-11-03 Thread Nigel Kersten
On Wed, Nov 3, 2010 at 8:18 AM, windowsrefund windowsref...@gmail.com wrote: Are there any plans to retrofit this into 0.25.x? I haven't looked at the actual provider yet, but you should be able to distribute it yourself with pluginsync to 0.25.x clients once it's been sorted. We really need

[Puppet Users] ERROR RuntimeError: Client disconnected before connection could be established

2010-11-03 Thread Tim
I have the reporting enabled on puppet and am seeing several errors per day from random clients. The errors on the client are always 'cannot retrieve file metadata' errors, for example (from a client machine's syslog): puppetd[22451]: (//syslog-ng/Config-file[syslogngconf]/File[/opt/

[Puppet Users] Re: No report named 'puppet_dashboard'

2010-11-03 Thread theirpuppet
On Nov 1, 5:57 pm, Justin Brehm jhbr...@gmail.com wrote: You might want to check your paths again.  The example that you sent has two libdir set under the [puppetd] section.  That could be overwriting your original setting and making the path not valid. -- Justin The libdir issue was

[Puppet Users] Re: No report named 'puppet_dashboard'

2010-11-03 Thread theirpuppet
I even tried moving the symlink for puppet_dashboard.rb from /var/lib/ puppet/reports to /var/lib/puppet/lib; no change. -- 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

Re: [Puppet Users] Re: RFC: Make file content specification methods consistent.

2010-11-03 Thread Patrick
On Nov 3, 2010, at 6:38 AM, jcbollinger wrote: On Nov 2, 11:43 am, Nigel Kersten ni...@puppetlabs.com wrote: On Tue, Nov 2, 2010 at 4:32 PM, Patrick kc7...@gmail.com wrote: On Nov 2, 2010, at 9:14 AM, Michael Gliwinski wrote: On Tuesday 02 Nov 2010 15:06:19 Nigel Kersten wrote:

Re: [Puppet Users] apt gpg key class + define not working

2010-11-03 Thread Patrick
On Nov 3, 2010, at 12:23 AM, Walter Heck wrote: Hi all, I'm writing a recipe for mariadb. It all works (I think, if you see any mistakes other then my question, feel free to point them out ;) ), except for the gpg key adding. Can anyone tell me what I'm doing wrong? What happens?

Re: [Puppet Users] Re: No report named 'puppet_dashboard'

2010-11-03 Thread Igal Koshevoy
On Wed, Nov 3, 2010 at 9:04 AM, theirpuppet theirpup...@gmail.com wrote: I'm unable to integrate puppet dashboard as I keep getting the following error: No report named 'puppet_dashboard' [...] I even tried moving the symlink for puppet_dashboard.rb from /var/lib/ puppet/reports to

[Puppet Users] Re: No report named 'puppet_dashboard'

2010-11-03 Thread theirpuppet
On Nov 3, 4:41 pm, Igal Koshevoy i...@pragmaticraft.com wrote: On Wed, Nov 3, 2010 at 9:04 AM, theirpuppet theirpup...@gmail.com wrote: I'm unable to integrate puppet dashboard as I keep getting the following error: No report named 'puppet_dashboard' [...] I even tried moving the symlink

[Puppet Users] (RHEL) RHN banning require package

2010-11-03 Thread erikthered
I'm looking to get around a bit of a problem I've run into with Puppet. On my puppet master, I have this definition: class httpd { package { httpd: ensure = installed } file { /etc/httpd/conf/httpd.conf: source =

Re: [Puppet Users] (RHEL) RHN banning require package

2010-11-03 Thread Patrick Mohr
On Wed, Nov 3, 2010 at 10:37 AM, erikthered j.e.redd...@gmail.com wrote: I'm looking to get around a bit of a problem I've run into with Puppet. On my puppet master, I have this definition: Would that be the best way to handle this issue? Any opinions? I think they best way would be to

[Puppet Users] Re: (RHEL) RHN banning require package

2010-11-03 Thread erikthered
On Nov 3, 1:46 pm, Patrick Mohr kc7...@gmail.com wrote: On Wed, Nov 3, 2010 at 10:37 AM, erikthered j.e.redd...@gmail.com wrote: I'm looking to get around a bit of a problem I've run into with Puppet.   On my puppet master, I have this definition: Would that be the best way to handle

[Puppet Users] How to use a resource name in its own definition?

2010-11-03 Thread Steve Shipway
Hi, I'm trying to set up Puppet here for the first time and have run into some problems. To set up our users, I'm trying to define many users at once as virtual resources for later realisation in sets. However, I'd like to have it properly create the home directory: @user { 'foo':

RE: [Puppet Users] Puppet Application Server Deployment

2010-11-03 Thread Steve Shipway
I'm just starting with puppet, but how about this as a solution to the precedence and single-restart problem 1. Define some stages stage { pre: before = Stage[main] } stage { post: require = Stage[main] } 2. Define a jvm class with the stages associated with the pre and

Re: [Puppet Users] ANNOUNCE: Puppet 2.6.3 - Release Candidate 1 available!

2010-11-03 Thread James Turnbull
John Warburton wrote:. I just realised Iad been doing my testing on clients that were upgraded from 0.25.5 and not a fresh 2.6.x install I seem to have hit http://projects.puppetlabs.com/issues/4867 with 2.6.3rc2 when trying to build a puppet server, but not any other class of server. I

[Puppet Users] Re: Puppet jobs - Jr. SysAdmin in San Francisco

2010-11-03 Thread dmangot
This position is still open if anyone is interested. -Dave On Sep 8, 9:43 am, dmangot dman...@tagged.com wrote: I guess if this list is good for job posting, might as well throw ours into the mix.  We just posted this for an opening at Tagged.   We have a good sized Puppet deployment already

[Puppet Users] Re: How to use a resource name in its own definition?

2010-11-03 Thread jcbollinger
On Nov 3, 4:43 pm, Steve Shipway s.ship...@auckland.ac.nz wrote: To set up our users, I'm trying to define many users at once as virtual resources for later realisation in sets.  However, I'd like to have it properly create the home directory [... and] I want to [...] make the [username]

Re: [Puppet Users] Help with LDAP, Users, and Puppet..

2010-11-03 Thread Matt Wise
We use nsscache because nscd is so unreliable. Nsscache is simple enough that it works, and it works pretty well. As Michael said, without it your system is sending LDAP queries for almost every operation that uses getpw/getuser. We do not see random LDAP failures from other processes on our

[Puppet Users] Re: RFC: Make file content specification methods consistent.

2010-11-03 Thread jcbollinger
On Nov 3, 11:30 am, Patrick kc7...@gmail.com wrote: This is what I wanted except reversed.  I was assuming that find_first() can't open or find files.  It can only look at what it returned to it, so the syntax would be: find_first( file('foo'), file('bar') ) or find_first(

Re: [Puppet Users] Re: RFC: Make file content specification methods consistent.

2010-11-03 Thread Patrick
On Nov 3, 2010, at 3:47 PM, jcbollinger wrote: On Nov 3, 11:30 am, Patrick kc7...@gmail.com wrote: This is what I wanted except reversed. I was assuming that find_first() can't open or find files. It can only look at what it returned to it, so the syntax would be: find_first(

Re: [Puppet Users] Help with LDAP, Users, and Puppet..

2010-11-03 Thread Nigel Kersten
On Wed, Nov 3, 2010 at 3:38 PM, Matt Wise w...@wiredgeek.net wrote: We use nsscache because nscd is so unreliable. Nsscache is simple enough that it works, and it works pretty well. As Michael said, without it your system is sending LDAP queries for almost every operation that uses

[Puppet Users] Re: [Puppet-dev] Graph explosion and workaround technique with stages.

2010-11-03 Thread Luke Kanies
On Nov 3, 2010, at 10:02 AM, Trevor Vaughan wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm cross-posting this to both the users and dev groups so that the users can use the workaround technique to reduce graph churn and the devs can hopefully fix the issue. So, I'm loving

Re: [Puppet Users] ANNOUNCE: Puppet 2.6.3 - Release Candidate 1 available!

2010-11-03 Thread John Warburton
On 4 November 2010 08:47, James Turnbull ja...@puppetlabs.com wrote: There is a trial patch available if you could try that: http://projects.puppetlabs.com/issues/4867 Thanks James - tried and still failing. Ticket updated John -- You received this message because you are subscribed to

RE: [Puppet Users] Re: How to use a resource name in its own definition?

2010-11-03 Thread Steve Shipway
A Puppet define is not a macro. Roughly speaking, your User resources do not belong to class users, but rather to instances of your define, users::addVirt, which is why a subclass of users cannot override their properties. You could try nesting the define inside class users, but I don't

[Puppet Users] Re: apt gpg key class + define not working

2010-11-03 Thread Walter Heck
On Nov 4, 12:25 am, Patrick kc7...@gmail.com wrote: What happens?  Error message?  Silently fails? This has been fixed. There were two silly mistakes. First: debian::apt::key is called with a url of http://ourdelta.org/deb/ ourdelta.gpg, but the code adds $name behind that. Because of that the

[Puppet Users] certdnsnames question

2010-11-03 Thread John Warburton
Hi All Apologies if this is obvious, but I'm a bit flaky around SSL certificates. NB puppet version 0.25.5 We use the brilliant feature of certificates where you can have Alternate DNS names for a certificate which is manifested in the puppet master config file as certdnsnames. All our clients

[Puppet Users] Changed hostname, puppet still uses old one

2010-11-03 Thread Phil Plante
Recently I changed the hostnames on some of our machines to make them more descriptive of what the machine does. However puppet still uses the old hostnames when executing and sending reports back. We went from: mongo0-14 to posts0-14. How can I get puppet to use these new names? -- You