Re: [Puppet Users] Proposal to remove redundant info in source => parameters

2010-09-27 Thread Patrick
On Sep 27, 2010, at 10:08 PM, Luke Kanies wrote: > On Sep 27, 2010, at 7:04 AM, Brice Figureau wrote: > >> Hi, >> >> It looks like I missed your original e-mail to puppet-dev. >> >> On Fri, 2010-09-24 at 11:20 -0700, Nigel Kersten wrote: >>> [cross-posting as I'd like to know whether my intuit

Re: [Puppet Users] Proposal to remove redundant info in source => parameters

2010-09-27 Thread Luke Kanies
On Sep 27, 2010, at 7:04 AM, Brice Figureau wrote: > Hi, > > It looks like I missed your original e-mail to puppet-dev. > > On Fri, 2010-09-24 at 11:20 -0700, Nigel Kersten wrote: >> [cross-posting as I'd like to know whether my intuition about this >> being the most common case is correct] >>

Re: [Puppet Users] Determining if puppet ran ok.

2010-09-27 Thread Nigel Kersten
On Mon, Sep 27, 2010 at 5:34 PM, Douglas Garstang wrote: > Just tried to use reports for the first time, and I'm getting this on the > puppetmaster for the first run of each node: > Sep 28 00:28:28 s_...@prov01.pax.livegamer.com puppet-master[13116]: > (/File[/var/lib/puppet/reports/name02.den.li

Re: [Puppet Users] Determining if puppet ran ok.

2010-09-27 Thread Douglas Garstang
On Mon, Sep 27, 2010 at 5:29 PM, Nigel Kersten wrote: > On Mon, Sep 27, 2010 at 5:22 PM, Douglas Garstang > wrote: > > On Mon, Sep 27, 2010 at 5:17 PM, Nigel Kersten > wrote: > >> > >> On Mon, Sep 27, 2010 at 5:09 PM, Douglas Garstang > >> wrote: > >> > On Mon, Sep 27, 2010 at 4:58 PM, Nigel K

Re: [Puppet Users] Determining if puppet ran ok.

2010-09-27 Thread Douglas Garstang
On Mon, Sep 27, 2010 at 5:22 PM, Douglas Garstang wrote: > On Mon, Sep 27, 2010 at 5:17 PM, Nigel Kersten wrote: > >> On Mon, Sep 27, 2010 at 5:09 PM, Douglas Garstang >> wrote: >> > On Mon, Sep 27, 2010 at 4:58 PM, Nigel Kersten >> wrote: >> >> >> >> On Mon, Sep 27, 2010 at 4:50 PM, Douglas Ga

Re: [Puppet Users] Determining if puppet ran ok.

2010-09-27 Thread Nigel Kersten
On Mon, Sep 27, 2010 at 5:22 PM, Douglas Garstang wrote: > On Mon, Sep 27, 2010 at 5:17 PM, Nigel Kersten wrote: >> >> On Mon, Sep 27, 2010 at 5:09 PM, Douglas Garstang >> wrote: >> > On Mon, Sep 27, 2010 at 4:58 PM, Nigel Kersten >> > wrote: >> >> >> >> On Mon, Sep 27, 2010 at 4:50 PM, Douglas

Re: [Puppet Users] Determining if puppet ran ok.

2010-09-27 Thread Douglas Garstang
On Mon, Sep 27, 2010 at 5:17 PM, Nigel Kersten wrote: > On Mon, Sep 27, 2010 at 5:09 PM, Douglas Garstang > wrote: > > On Mon, Sep 27, 2010 at 4:58 PM, Nigel Kersten > wrote: > >> > >> On Mon, Sep 27, 2010 at 4:50 PM, Douglas Garstang > >> wrote: > >> > I'm trying to find a programmatic way to

Re: [Puppet Users] Determining if puppet ran ok.

2010-09-27 Thread Nigel Kersten
On Mon, Sep 27, 2010 at 5:09 PM, Douglas Garstang wrote: > On Mon, Sep 27, 2010 at 4:58 PM, Nigel Kersten wrote: >> >> On Mon, Sep 27, 2010 at 4:50 PM, Douglas Garstang >> wrote: >> > I'm trying to find a programmatic way to determine if the result of a >> > puppetrun was ok. Rather than scrapin

Re: [Puppet Users] Determining if puppet ran ok.

2010-09-27 Thread Douglas Garstang
On Mon, Sep 27, 2010 at 4:58 PM, Nigel Kersten wrote: > On Mon, Sep 27, 2010 at 4:50 PM, Douglas Garstang > wrote: > > I'm trying to find a programmatic way to determine if the result of a > > puppetrun was ok. Rather than scraping /var/log/messages, is there > another > > way to determine that

Re: [Puppet Users] Determining if puppet ran ok.

2010-09-27 Thread Nigel Kersten
On Mon, Sep 27, 2010 at 4:50 PM, Douglas Garstang wrote: > I'm trying to find a programmatic way to determine if the result of a > puppetrun was ok. Rather than scraping /var/log/messages, is there another > way to determine that a puppet run completed with errors and how long it > took to run? Is

[Puppet Users] Determining if puppet ran ok.

2010-09-27 Thread Douglas Garstang
I'm trying to find a programmatic way to determine if the result of a puppetrun was ok. Rather than scraping /var/log/messages, is there another way to determine that a puppet run completed with errors and how long it took to run? Is that state maintained on the client's disk somewhere? Doug. --

Re: [Puppet Users] noop "Out of sync" reporting

2010-09-27 Thread Alan Barrett
On Mon, 27 Sep 2010, James Turnbull wrote: > I apologise - I thought it was in the Release Notes. There was a > lot of content in 2.6.0 and this one must have been missed. > > It is now: > > http://projects.puppetlabs.com/projects/puppet/wiki/Release_Notes#Audit+Metaparameter Thanks. --apb (Al

Re: [Puppet Users] noop "Out of sync" reporting

2010-09-27 Thread James Turnbull
R.I.Pienaar wrote: - "James Turnbull" wrote: do not mention "audit". The metaparameters documentation at does not mention "audit". No sure why it's not showing up in the documentation. I will take a look today. the 'l

Re: [Puppet Users] why does puppet shuffle its ‘ph ases’ and how can I stop this?

2010-09-27 Thread Richard Crowley
> The code above works (still learning the syntax though!), but what's > bothering me is that parts of this code (let me call them 'phases') > keep on running in different order: With very few exceptions (that are all made for time savings so you can ignore them safely) all resources (what you wer

Re: [Puppet Users] why does puppet shuffle its ‘ph ases’ and how can I stop this?

2010-09-27 Thread Richard Crowley
> With very few exceptions (that are all made for time savings so you > can ignore them safely) all resources (what you were calling phases) > must explicitly declare their dependencies on other resources using > before and require [1] [2]. s/before and require/before or require/ -- You received

Re: [Puppet Users] noop "Out of sync" reporting

2010-09-27 Thread R.I.Pienaar
- "James Turnbull" wrote: > > do not mention "audit". The metaparameters documentation at > > > does > > not mention "audit". > > No sure why it's not showing up in the documentation. I will take a > look today. the 'lat

Re: [Puppet Users] noop "Out of sync" reporting

2010-09-27 Thread James Turnbull
Alan Barrett wrote: On Sun, 26 Sep 2010, James Turnbull wrote: Have you also seen the pseudo-Tripwire audit capability introduced in 2.6.0? http://www.puppetlabs.com/blog/all-about-auditing-with-puppet/ It would have been nice if this had been documented somewhere. The release notes for puppe

Re: [Puppet Users] why does puppet shuffle its ‘ph ases’ and how can I stop this?

2010-09-27 Thread Felix Frank
On 09/27/2010 03:08 PM, D.N. van der Meijden wrote: > Hi all, > > ... > Sorry for the lengthy e-mail, but I was hoping someone could perhaps > shed a light on this issue :-) Hi, it's expected behaviour. If you want Puppet to do something before something else, use a "before" parameter in the for

[Puppet Users] why does puppet shuffle its ‘phases ’ and how can I stop this?

2010-09-27 Thread D.N. van der Meijden
Hi all, class zabbix { file { "/etc/zabbix/": ensure=> directory, recurse => true, purge => false, force => false, owner => "root", group => "root", mode => 0755, source=> $operatingsystem ? { solaris => "

Re: [Puppet Users] Proposal to remove redundant info in source => parameters

2010-09-27 Thread Alan Barrett
On Mon, 27 Sep 2010, Brice Figureau wrote: > What about a new URI scheme (ie module) which would do the same: > > class foo { >file { "/etc/foo.conf": > source => "module://foo.conf", >} > } If you go this way, please do not include "://" in the URI. The presence of "://" implies

Re: [Puppet Users] Proposal to remove redundant info in source => parameters

2010-09-27 Thread Nigel Kersten
On Mon, Sep 27, 2010 at 7:04 AM, Brice Figureau wrote: > Hi, > > It looks like I missed your original e-mail to puppet-dev. > > On Fri, 2010-09-24 at 11:20 -0700, Nigel Kersten wrote: >> [cross-posting as I'd like to know whether my intuition about this >> being the most common case is correct] >>

Re: [Puppet Users] Proposal to remove redundant info in source => parameters

2010-09-27 Thread Brice Figureau
Hi, It looks like I missed your original e-mail to puppet-dev. On Fri, 2010-09-24 at 11:20 -0700, Nigel Kersten wrote: > [cross-posting as I'd like to know whether my intuition about this > being the most common case is correct] > > > class foo { > > file { "/etc/foo.conf": > source => "

[Puppet Users] Re: Best practice using puppet and SVN in a production environment

2010-09-27 Thread Christian
Thanks for answering... Sorry for beeing not precise enough. In our environment we are working in a multidicipline domain. Infrastructure staff and engineers are working in the same team. Users of the system are engieers (not software engineers) able to understand the pricipal and the basic usage

[Puppet Users] exporting file contents without facts?

2010-09-27 Thread lluis
Hi, I was wondering if there is no way to export the contents of a file on a node to other nodes, without using facts In particular we must export the DSA public keys of some users from one node to other nodes. We are currently doing this with facts, and including them on a template, but number of