[Puppet Users] Re: Package conditional statement

2009-02-05 Thread Kenneth Holter
If this is not possible to achieve, then can the following be done with puppet: Make sure that the rsyslog service is NOT running, regardless of the package is installed or not. Using the service resource type to stop/disable a service gives an error if the init script doesn't exists. And I don't

[Puppet Users] Re: Package conditional statement

2009-02-05 Thread Peter Meier
Hi > If this is not possible to achieve, then can the following be done with > puppet: > > Make sure that the rsyslog service is NOT running, regardless of the package > is installed or not. Using the service resource type to stop/disable a > service gives an error if the init script doesn't exis

[Puppet Users] Re: shorewall module

2009-02-05 Thread Peter Meier
Hi > Does anyone have the source for a *working* shorewall module? I've > searched the list and the interwebs and it looks like a few other are > having the same problems. Namely: > > Configuration could not be instantiated: Could not find dependent Exec > [concat_/var/lib/puppet/modules/shorewal

[Puppet Users] Overriding files specified in modules

2009-02-05 Thread Keith Edmunds
Can I override files specified in a module on a per-client basis? Suppose I have a module that is to be installed on a large number of clients, and one of the files it provides is /x/y/z. One a very small number of clients, that file needs to be slightly modified. What I want to do in the module,

[Puppet Users] Re: Overriding files specified in modules

2009-02-05 Thread Peter Meier
Hi > Can I override files specified in a module on a per-client basis? > > Suppose I have a module that is to be installed on a large number of > clients, and one of the files it provides is /x/y/z. One a very small > number of clients, that file needs to be slightly modified. What I want to > do

[Puppet Users] "Scope" / Tags / Classes

2009-02-05 Thread Calimero
Hi, I've stumbled across the following behavior which I don't really understand: classes that are automatically "imported" (thanks to modulepath, ...) are not "really/fully" included. If I iterate over the classes and tags variables in a template: <% classes.each do |c| -%> Class: <%= c %> <% en

[Puppet Users] Re: what about kinial ?

2009-02-05 Thread Benoit Decherf
On 02/05/2009 06:03 AM, Luke Kanies wrote: > On Feb 4, 2009, at 1:20 PM, benoit wrote: > > >> Hi, >> >> I was looking for a solution to change the value of a variable using >> include (http://reductivelabs.com/trac/puppet/wiki/ >> CommonMisconceptions), and found an interesting solution on the

[Puppet Users] Re: Puppet Proposal (what problems will puppet solve)

2009-02-05 Thread Ryan Duff
Zach, Chris Moates did an interesting presentation on Puppet during CPOSC a few months back. I was actually looking at his slides for a refresher the other day. You might find something useful in there as far as reasons to use Puppet. He lists quite a few and why its beneficial. You can grab a P

[Puppet Users] Re: what about kinial ?

2009-02-05 Thread Luke Kanies
On Feb 5, 2009, at 4:49 AM, Benoit Decherf wrote: > On 02/05/2009 06:03 AM, Luke Kanies wrote: >> >> On Feb 4, 2009, at 1:20 PM, benoit wrote: >> >> >>> Hi, >>> >>> I was looking for a solution to change the value of a variable using >>> include (http://reductivelabs.com/trac/puppet/wiki/ >>> Com

[Puppet Users] Re: Merging Directories

2009-02-05 Thread Luke Kanies
On Jan 29, 2009, at 4:15 PM, chakkerz wrote: > > Hello there > > I'm deploying a program which has generic and OS specific (as well as > architecture, but that's a minor issue). So in essence i'm deploying > from blah_generic/etc recursive and then blah_linux/etc . I need the > files from both ope

[Puppet Users] Re: what about kinial ?

2009-02-05 Thread Trevor Vaughan
Benoit, If you want to globally change the value of a variable something that may either be a feature or a bug(?) is to pass it through an ERB and use a '!' ruby statement. It changes it in memory until the puppetmaster is restarted. I.e. $myvar = 'foo' define bar ($stupidvar = "nil" ) { s

[Puppet Users] Re: Log rotation and puppet clients dying

2009-02-05 Thread Luke Kanies
On Feb 3, 2009, at 1:01 PM, Ian Burrell wrote: > > We are having a problem with some of the puppet clients dying during > the weekly log rotation reload. We are using Centos 4 with puppet > 0.24.6. It seems to be a race condition with clients that reload when > the puppetmaster is restarting ex

[Puppet Users] Re: mailalias ... not doing anything???

2009-02-05 Thread Luke Kanies
On Feb 3, 2009, at 10:14 PM, chakkerz wrote: > > G'day > > my module's init.pp: > > class mailaliases > { >if ($skip_mailaliases != "true") >{ >mailalias >{ "root": > #ensure => absent, >ensure => pres

[Puppet Users] Re: Puppet && OMA-DM interoperability

2009-02-05 Thread Luke Kanies
On Feb 4, 2009, at 11:17 PM, Tom D. Davidson wrote: > > I'd never seen this before, so at this point Puppet definitely can't > speak OMA-DM. > > I could see the ability to do so, but someone who was an expert on > OMA- > DM would need to do the connecting. You'd probably need to push the > con

[Puppet Users] Re: "Scope" / Tags / Classes

2009-02-05 Thread Luke Kanies
On Feb 5, 2009, at 6:50 AM, Calimero wrote: > > Hi, > > I've stumbled across the following behavior which I don't really > understand: classes that are automatically "imported" (thanks to > modulepath, ...) are not "really/fully" included. > > If I iterate over the classes and tags variables in a

[Puppet Users] Re: what about kinial ?

2009-02-05 Thread Luke Kanies
On Feb 5, 2009, at 9:45 AM, Trevor Vaughan wrote: > > Benoit, > > If you want to globally change the value of a variable something that > may either be a feature or a bug(?) is to pass it through an ERB and > use a '!' ruby statement. > > It changes it in memory until the puppetmaster is restarte

[Puppet Users] Re: what about kinial ?

2009-02-05 Thread Trevor Vaughan
So, can we officially call it a feature? I've been avoiding using it because I thought that it was a problem but it does get around the "can't change a variable" issue. You just have to be *really* careful about changing it. Trevor On Thu, Feb 5, 2009 at 10:55, Luke Kanies wrote: > > On Feb 5

[Puppet Users] Re: what about kinial ?

2009-02-05 Thread Luke Kanies
On Feb 5, 2009, at 9:56 AM, Trevor Vaughan wrote: > > So, can we officially call it a feature? > > I've been avoiding using it because I thought that it was a problem > but it does get around the "can't change a variable" issue. You just > have to be *really* careful about changing it. Um, sure

[Puppet Users] Re: what about kinial ?

2009-02-05 Thread Benoit Decherf
Ok. About the external nodes, why doesn't it possible to use definition ? I use definition to create an instance of tomcat for exemple. So I'd like to be able to create a node with 2 or more instances. Why there is this limitation ? >> What are the 10% missing ? >> Does ldap node implements mu

[Puppet Users] Thoughts: Advantages of having a puppetmaster ?

2009-02-05 Thread Nigel Kersten
So we've been tossing around the idea of rsyncing our puppet manifests onto our laptop clients and always running puppet locally. This is primarily due to having conditional puppet manifests that depend upon facts that may change when the clients are offline, so the compiled catalog doesn't chang

[Puppet Users] Re: Facter - the future - your input needed

2009-02-05 Thread Nigel Kersten
On Wed, Feb 4, 2009 at 10:08 PM, Luke Kanies wrote: > There are basically three choices here, from what I see: > > * A file containing a simple value > > * An executable file that produces a value > > * A yaml/json/xml/foo-encoded file that describes metadata necessary > to determine a value. T

[Puppet Users] Re: shorewall module

2009-02-05 Thread Scott Beardsley
>> [4] https://git.puppet.immerda.ch/?p=module-shorewall;a=summary > > as I'm involved in 1,2 and 4 I try to answer: > 1 and 4 should be nearly identical, 1 is more or less just a mirror of 4. > However 4 is the one which should be more uptodate. OK, I've just tried the common and shorewall modul

[Puppet Users] Re: Problem with some of my puppet clients running

2009-02-05 Thread Steven Nemetz
> On Feb 4, 2009, at 6:49 PM, Steven Nemetz wrote: > > > All my puppet clients were running ok. > > Then 2 things happened yesterday: > > 1) I had puppet upgrade facter to 1.5.3 everywhere. Most were > > running 1.3.8 prior. > > 2) We had network problem, causing one of our datacente

[Puppet Users] Re: what about kinial ?

2009-02-05 Thread Luke Kanies
On Feb 5, 2009, at 10:36 AM, Benoit Decherf wrote: > Ok. > > About the external nodes, why doesn't it possible to use definition ? > I use definition to create an instance of tomcat for exemple. So I'd > like to be able to create a node with 2 or more instances. > Why there is this limitation ?

[Puppet Users] Re: Thoughts: Advantages of having a puppetmaster ?

2009-02-05 Thread Crawford Kyle
On Feb 5, 2009, at 11:53 AM, Nigel Kersten wrote: > > So we've been tossing around the idea of rsyncing our puppet manifests > onto our laptop clients and always running puppet locally. > > This is primarily due to having conditional puppet manifests that > depend upon facts that may change when

[Puppet Users] Re: Log rotation and puppet clients dying

2009-02-05 Thread Ian Burrell
On Thu, Feb 5, 2009 at 7:47 AM, Luke Kanies wrote: > On Feb 3, 2009, at 1:01 PM, Ian Burrell wrote: >> >> We are having a problem with some of the puppet clients dying during >> the weekly log rotation reload. We are using Centos 4 with puppet >> 0.24.6. It seems to be a race condition with cli

[Puppet Users] Re: mailalias ... not doing anything???

2009-02-05 Thread chakkerz
yeah ... "ensure => present" helped, i must have misunderstood the doco... Also, the name does not need to be there Thanks for the help chakkerz --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group

[Puppet Users] Integrating puppet with etckeeper and similar tools.

2009-02-05 Thread Daniel Pittman
G'day. We are currently looking to integrate etckeeper[1] into our puppet managed hosts, especially the legacy hosts that are still partially under manual control. etckeeper is, essentially, a wrapper around a VCS for /etc, tracking changes in file content. When I say "integrate" I mean, specif