[Puppet Users] noop "Out of sync" reporting

2010-09-21 Thread John Warburton
Hi All I am looking to report on all servers that are "Out of sync". Currently we run puppet in noop mode hourly, and so we get reports saying there are X resources Out of sync. Unfortunately, because it is a noop, puppet reports those X resources out of date as successfully applied, which makes

Re: [Puppet Users] Undefined method 'closed?' for nil:NilClass

2010-09-21 Thread Patrick
On Sep 21, 2010, at 11:45 AM, Kikanny wrote: > Hi all > > I started researching on puppet and decided I'll try it out on Vmware > Workstation using Ubuntu 10.04. So I'm trying to do the simplest > puppet install pattern as outlined in > http://projects.puppetlabs.com/projects/puppet/wiki/Simples

Re: [Puppet Users] A question about synchronization

2010-09-21 Thread Nigel Kersten
On Tue, Sep 21, 2010 at 12:49 PM, 2ead3bcd wrote: > Hi, > > Suppose I have 3 nodes, and I want puppet to perform a set of steps on > them in a different order: > Apply step A on each of them, then step B on each of them, then step C > on each of them, and so on. > I'm wondering if puppet supports

Re: [Puppet Users] Undefined method 'closed?' for nil:NilClass

2010-09-21 Thread James Turnbull
Kikanny wrote: > Hi all > > I started researching on puppet and decided I'll try it out on Vmware > Workstation using Ubuntu 10.04. So I'm trying to do the simplest > puppet install pattern as outlined in > http://projects.puppetlabs.com/projects/puppet/wiki/Simplest_Puppet_Install_Pattern. > For

Re: [Puppet Users] Windows Puppet testing

2010-09-21 Thread James Turnbull
Nigel Sollars wrote: > I see from my ticket that my issue is a replication of a previous bug > logged. Is this one likely to be fixed by the next release / any idea ( > vague eta is good ) on when this one would be released around?. It's targeted for 2.6.2 - which is the next maintenance release

Re: [Puppet Users] certificate verify failed on files.

2010-09-21 Thread Douglas Garstang
On Tue, Sep 21, 2010 at 3:02 PM, James Cammarata wrote: > > On Tue, 21 Sep 2010 13:52:23 -0700, Douglas Garstang > wrote: > > I'm seeing this sporadically. What does it mean? > > > > Sep 21 14:48:35 solr01 puppet-agent[3423]: > > (/Stage[main]/Openldap::Client/File[/etc/pam.d/sudo]) Could not ev

Re: [Puppet Users] certificate verify failed on files.

2010-09-21 Thread James Cammarata
On Tue, 21 Sep 2010 13:52:23 -0700, Douglas Garstang wrote: > I'm seeing this sporadically. What does it mean? > > Sep 21 14:48:35 solr01 puppet-agent[3423]: > (/Stage[main]/Openldap::Client/File[/etc/pam.d/sudo]) Could not evaluate: > certificate verify failed Could not retrieve file metadata f

[Puppet Users] Puppet Developer training in SFO

2010-09-21 Thread James Turnbull
Hi all Just after Puppet Camp we're holding a Puppet developer training. If you want to extend, hack on or customize Puppet or write your own facts, types/providers or reports this is the place to learn how to do that. The details are: Rare Puppet Master Developer training (only held 1-2 times a

Re: [Puppet Users] A question about synchronization

2010-09-21 Thread Richard Crowley
> Suppose I have 3 nodes, and I want puppet to perform a set of steps on > them in a different order: > Apply step A on each of them, then step B on each of them, then step C > on each of them, and so on. > I'm wondering if puppet supports this scenario. Thanks. In other words, you want to guarant

[Puppet Users] Undefined method 'closed?' for nil:NilClass

2010-09-21 Thread Kikanny
Hi all I started researching on puppet and decided I'll try it out on Vmware Workstation using Ubuntu 10.04. So I'm trying to do the simplest puppet install pattern as outlined in http://projects.puppetlabs.com/projects/puppet/wiki/Simplest_Puppet_Install_Pattern. For now, I'm trying to test puppe

[Puppet Users] certificate verify failed on files.

2010-09-21 Thread Douglas Garstang
I'm seeing this sporadically. What does it mean? Sep 21 14:48:35 solr01 puppet-agent[3423]: (/Stage[main]/Openldap::Client/File[/etc/pam.d/sudo]) Could not evaluate: certificate verify failed Could not retrieve file metadata for puppet:///modules/openldap/client/etc/pam.d/sudo: certificate verify

Re: [Puppet Users] A question about synchronization

2010-09-21 Thread Patrick Mohr
On Tue, Sep 21, 2010 at 12:49 PM, 2ead3bcd wrote: > Hi, > > Suppose I have 3 nodes, and I want puppet to perform a set of steps on > them in a different order: > Apply step A on each of them, then step B on each of them, then step C > on each of them, and so on. > I'm wondering if puppet supports

[Puppet Users] A question about synchronization

2010-09-21 Thread 2ead3bcd
Hi, Suppose I have 3 nodes, and I want puppet to perform a set of steps on them in a different order: Apply step A on each of them, then step B on each of them, then step C on each of them, and so on. I'm wondering if puppet supports this scenario. Thanks. -- You received this message because yo

[Puppet Users] Re: FreeBSD Puppet 2.6.1 odd core-dump

2010-09-21 Thread FreddieB
Splendid! The time was off by months. Apparently FreeBSD's ntpd doesn't handle this to well (it just quits) so an initial "ntpdate -b" got it back on track, and after that both nptd and puppet works fine. I think this i a trap easy to fall in to, so I'll make a suggestion to the developers to add

Re: [Puppet Users] Windows Puppet testing

2010-09-21 Thread Nigel Sollars
I see from my ticket that my issue is a replication of a previous bug logged. Is this one likely to be fixed by the next release / any idea ( vague eta is good ) on when this one would be released around?. On Tue, Sep 21, 2010 at 1:49 PM, Nigel Sollars wrote: > Ok cool, I have the puppet gem i

Re: [Puppet Users] Re: Exported resource Host[fqdn] cannot override local resource

2010-09-21 Thread Jeff McCune
On Tue, Sep 21, 2010 at 11:54 AM, CraftyTech wrote: [snip] > also very strange.. the collection goes through twice ! Even thought I > have it setup once.. > i.e, > debug: Scope(Class[basics]): Collected 2 Host resources in 0.01 > seconds > debug: Scope(Class[basics]): Collected 0 Host resources in

[Puppet Users] Re: Exported resource Host[fqdn] cannot override local resource

2010-09-21 Thread CraftyTech
client ~ $ facter fqdn; facter hostname; facter ipaddress client.dev.domain.com client 172.20.19.191 server ad # facter fqdn; facter hostname; facter ipaddress server.dev.domain.com server 172.17.19.175 also very strange.. the collection goes through twice ! Even thought I have it setup once.. i

Re: [Puppet Users] Re: Exported resource Host[fqdn] cannot override local resource

2010-09-21 Thread Jeff McCune
On Tue, Sep 21, 2010 at 10:17 AM, CraftyTech wrote: [snip] > This is what the host file looks like: > # HEADER: This file was autogenerated at Tue Sep 21 12:51:18 -0400 > 2010 > # HEADER: by puppet.  While it can still be managed manually, it > # HEADER: is definitely not recommended. > 127.0.0.1

Re: [Puppet Users] Windows Puppet testing

2010-09-21 Thread Nigel Sollars
Ok cool, I have the puppet gem installed already but have found issues and was not 100% that was the right course of action. On Tue, Sep 21, 2010 at 1:42 PM, James Turnbull wrote: > Nigel Sollars wrote: > >> Hi >> >> >> This Wiki: >> >> http://projects.puppetlabs.com/projects/1/wiki/Puppet_Windo

Re: [Puppet Users] Windows Puppet testing

2010-09-21 Thread James Turnbull
Nigel Sollars wrote: Hi This Wiki: http://projects.puppetlabs.com/projects/1/wiki/Puppet_Windows and the clone of puppet from there, trying ti run anything from in here brings require errors and such puppet/util/command_line and puppet/application/agent. perhaps I missed something ( open to

Re: [Puppet Users] Windows Puppet testing

2010-09-21 Thread Nigel Sollars
Hi This Wiki: http://projects.puppetlabs.com/projects/1/wiki/Puppet_Windows and the clone of puppet from there, trying ti run anything from in here brings require errors and such puppet/util/command_line and puppet/application/agent. perhaps I missed something ( open to idea's ) Regards Nige

[Puppet Users] Re: Exported resource Host[fqdn] cannot override local resource

2010-09-21 Thread CraftyTech
Hello Jeff, This is the "only" class(s) I'm running on this host: class basics{ include basics::collect @@host { "$fqdn": ip => $ipaddress, host_aliases => $hostname, tag => "${application}"} class basics::collect { require basics Host<<| tag == "${application}" |>>

Re: [Puppet Users] Re: FreeBSD Puppet 2.6.1 odd core-dump

2010-09-21 Thread Jeff McCune
On Tue, Sep 21, 2010 at 7:35 AM, FreddieB wrote: [snip[ >> debug: OpenSSL: Error(9): certificate is not yet valid >> debug: OpenSSL: Cert: /CN=deploy01 >> /usr/local/lib/ruby/site_ruby/1.8/puppet/network/http_pool.rb:68: >> [BUG] Bus Error >> ruby 1.8.7 (2009-12-24 patchlevel 248) [amd64-freebsd8]

Re: [Puppet Users] Windows Puppet testing

2010-09-21 Thread James Turnbull
Nigel Sollars wrote: HI all, I have factor working ( gives good results ) .. is there a Windows branch in github? cause right now the Wiki and clone does not match. Any information would be appreciated Thanks in Advance. Nigel Which wiki page and which clone? Regards James Turnbull -- Y

Re: [Puppet Users] Exported resource Host[fqdn] cannot override local resource

2010-09-21 Thread Jeff McCune
On Tue, Sep 21, 2010 at 7:04 AM, CraftyTech wrote: [snip] > Why am I getting exported resource conflict?  fqdn is unique to each > host, so there are no duplicates... Are you absolutely sure? What host is complaining about the duplicate? Do you have any "plain" host type declarations outside of

[Puppet Users] Windows Puppet testing

2010-09-21 Thread Nigel Sollars
HI all, I have factor working ( gives good results ) .. is there a Windows branch in github? cause right now the Wiki and clone does not match. Any information would be appreciated Thanks in Advance. -- You received this message because you are subscribed to the Google Groups "Puppet Users" g

[Puppet Users] Windows Puppet testing

2010-09-21 Thread Nigel Sollars
Hi all, I have a requirement and decided to test puppet on the win32 platform to see if it would work for me. I have facter running great ( gives all the system information / platform etc etc ). Now the problem I see is if I use the github clone and try to run anything I get puppet/bin/puppet:3

[Puppet Users] Re: Exported resource Host[fqdn] cannot override local resource

2010-09-21 Thread CraftyTech
Thanks for your response, but host_aliases is part of the host type. See below: http://docs.puppetlabs.com/references/0.25.5/type.html#host : host Installs and manages host entries. For most systems, these entries will just be in /etc/hosts, but some systems (notably OS X) will have different sol

Re: [Puppet Users] Exported resource Host[fqdn] cannot override local resource

2010-09-21 Thread Patrick
On Sep 21, 2010, at 7:04 AM, CraftyTech wrote: > Hello All, > > So, I realize this is a common issue, but still can't identify > the problem here. Even after reading similar posts... Essentially, > I'm exporting / collecting hosts via stored configs.. > Here's my export class: > > class b

[Puppet Users] Re: FreeBSD Puppet 2.6.1 odd core-dump

2010-09-21 Thread FreddieB
Additional information: I have auto-sign turned on and the certificates are signed (at lease they show up in "puppet cert --list --all"). /Freddie On Sep 21, 4:19 pm, FreddieB wrote: > Hi, > I have a couple of FreeBSD-servers that I try to manage using puppet. > I'm just trying it out at the mom

[Puppet Users] FreeBSD Puppet 2.6.1 odd core-dump

2010-09-21 Thread FreddieB
Hi, I have a couple of FreeBSD-servers that I try to manage using puppet. I'm just trying it out at the moment and have just deployed 5 new boxes (from PXE and scripted installation so supposedly they are all identical except for the name and ip-addresses). On two of the servers I get the error-mes

[Puppet Users] Exported resource Host[fqdn] cannot override local resource

2010-09-21 Thread CraftyTech
Hello All, So, I realize this is a common issue, but still can't identify the problem here. Even after reading similar posts... Essentially, I'm exporting / collecting hosts via stored configs.. Here's my export class: class basic::export{ @@host { $fqdn: ip => $ipaddress, host_alias