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

2010-11-03 Thread Phil Plante
I fixed it by revoking all of the old certs, thought I had already. On Nov 4, 12:15 am, Patrick wrote: > On Nov 3, 2010, at 9:39 PM, Phil Plante wrote: > > > Recently I changed the hostnames on some of our machines to make them > > more descriptive of what the machine does.  However puppet still

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

2010-11-03 Thread Patrick
On Nov 3, 2010, at 9:39 PM, Phil Plante wrote: > 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. >

[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 receiv

[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 co

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

2010-11-03 Thread Walter Heck
On Nov 4, 12:25 am, Patrick 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 url returned a

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

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 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 the Google Groups

[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 lovi

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 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 getpw/getuser. > > We do n

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 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('fo

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

2010-11-03 Thread jcbollinger
On Nov 3, 11:30 am, Patrick 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( template('foo'), templa

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 sy

[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" 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] parameterised [...]

[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 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 and it's only g

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 s

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

[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': e

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

2010-11-03 Thread erikthered
On Nov 3, 1:46 pm, Patrick Mohr wrote: > On Wed, Nov 3, 2010 at 10:37 AM, erikthered 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

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

2010-11-03 Thread Patrick Mohr
On Wed, Nov 3, 2010 at 10:37 AM, erikthered 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 put a caching pro

[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 => ["puppet:///httpd/httpd.con

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

2010-11-03 Thread theirpuppet
On Nov 3, 4:41 pm, Igal Koshevoy wrote: > On Wed, Nov 3, 2010 at 9:04 AM, theirpuppet 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/l

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 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 /var/lib/puppet/lib; no chan

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: 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 wrote: >> On Tue, Nov 2, 2010 at 4:32 PM, Patrick wrote: >> >>> On Nov 2, 2010, at 9:14 AM, Michael Gliwinski wrote: >> On Tuesday 02 Nov 2010 15:06:19 Nigel Kersten wrote: >> > Thanks. There's

[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 unsub

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

2010-11-03 Thread theirpuppet
On Nov 1, 5:57 pm, Justin Brehm 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 documented in

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

2010-11-03 Thread Alan Barrett
On Wed, 03 Nov 2010, Robert Scheer 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: No report named 'puppet_dashboard'

2010-11-03 Thread theirpuppet
On Nov 1, 5:22 pm, Patrick wrote: > > What puppetmaster version? thanks, the package is from EPEL # rpm -qi puppet-server Name: puppet-serverRelocations: (not relocatable) Version : 0.25.5Vendor: Fedora Project Release : 1.el5

[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/ syslog-ng/etc/

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

2010-11-03 Thread Nigel Kersten
On Wed, Nov 3, 2010 at 8:18 AM, windowsrefund 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 community testing with th

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 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 for getti

[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:// www.example.com/apt/k

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 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 Java, >

[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 puppet-users+unsubscr...@googleg

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

Re: [Puppet Users] fqdn vs short name

2010-11-03 Thread Jeff McCune
On Wed, Nov 3, 2010 at 6:35 AM, Rob McBroom 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.  Would having sh

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

2010-11-03 Thread Robert Scheer
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 for getting the client side config. On the other > hand, if your DN

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

2010-11-03 Thread jcbollinger
On Nov 2, 11:43 am, Nigel Kersten wrote: > On Tue, Nov 2, 2010 at 4:32 PM, Patrick wrote: > > > On Nov 2, 2010, at 9:14 AM, Michael Gliwinski wrote: > > >> On Tuesday 02 Nov 2010 15:06:19 Nigel Kersten wrote: > > >>> Thanks. There's one thing I'm not quite clear on. > > >>> This proposal means

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

[Puppet Users] Re: Inheritance

2010-11-03 Thread jcbollinger
On Nov 3, 3:27 am, Peter Meier 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 puppet-us...@googlegroups.

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'),

[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 y

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 {