[Puppet Users] Re: London Training Sept 29th - Oct 3rd

2008-09-10 Thread Teyo Tyree
Mike Pountney wrote: > Hi Teyo, > > Is this an ideal time to arrange a London Puppeteers meetup? It would > be great to meet you, if you have time, and I think it's been a while > since the last one. > > Sounds great. > How about the weds evening? This would allow for anyone on the just >

[Puppet Users] Re: Just the Facts

2008-09-10 Thread Jeff
On Sep 10, 1:26 pm, Jeff <[EMAIL PROTECTED]> wrote: > On Sep 10, 11:48 am, Dean Wilson <[EMAIL PROTECTED]> wrote: > > > On Wed, Sep 10, 2008 at 05:27:58AM -0700, Jeff wrote: > > > I was hoping to get some guidance on my first fact. I'd like to create > > > a global configuration file that contai

[Puppet Users] Re: Just the Facts

2008-09-10 Thread Jeff
On Sep 10, 11:48 am, Dean Wilson <[EMAIL PROTECTED]> wrote: > On Wed, Sep 10, 2008 at 05:27:58AM -0700, Jeff wrote: > > I was hoping to get some guidance on my first fact. I'd like to create > > a global configuration file that contains default values that I can > > reference in multiple classes.

[Puppet Users] Re: Just the Facts

2008-09-10 Thread Dean Wilson
On Wed, Sep 10, 2008 at 05:27:58AM -0700, Jeff wrote: > I was hoping to get some guidance on my first fact. I'd like to create > a global configuration file that contains default values that I can > reference in multiple classes. Does this help? http://www.unixdaemon.net/facter_scripts/facterfil

[Puppet Users] Re: Ensuring a process is NOT running

2008-09-10 Thread Bjørn Dyre Dyresen
You can use ensure => stopped to ensure it is not running. Regards 2008/9/10 Jewels <[EMAIL PROTECTED]> > > Hi, > > here is an interesting problem. I don't want to remove sendmail from a > system, BUT, it should never be running unless an admin starts it (and > shuts it down) so I was wondering

[Puppet Users] Re: template question

2008-09-10 Thread Andrew Shafer
It is fixed in the head of the 0.24.x branch to use @foo. You could work around for now defining all the foo_varX = false at a higher scope, then set them to true where appropriate. Then do <% if foo_var1 %> On Wed, Sep 10, 2008 at 6:45 AM, Grumpus <[EMAIL PROTECTED]> wrote: > > On Tue, Sep

[Puppet Users] Re: Ensuring a process is NOT running

2008-09-10 Thread Peter Meier
Hi > here is an interesting problem. I don't want to remove sendmail from a > system, BUT, it should never be running unless an admin starts it (and > shuts it down) so I was wondering if there might be a way to use > "ensure" to make sure a process is NOT running.. service{'sendmail':

[Puppet Users] Re: Just the Facts

2008-09-10 Thread Jeff
On Sep 10, 9:30 am, Jeff <[EMAIL PROTECTED]> wrote: > On Sep 10, 8:27 am, Jeff <[EMAIL PROTECTED]> wrote: > > > > > I was hoping to get some guidance on my first fact. I'd like to create > > a global configuration file that contains default values that I can > > reference in multiple classes. In

[Puppet Users] Ensuring a process is NOT running

2008-09-10 Thread Jewels
Hi, here is an interesting problem. I don't want to remove sendmail from a system, BUT, it should never be running unless an admin starts it (and shuts it down) so I was wondering if there might be a way to use "ensure" to make sure a process is NOT running.. Any ideas? thanks ~J~ --~--~---

[Puppet Users] Re: Just the Facts

2008-09-10 Thread Jeff
On Sep 10, 8:27 am, Jeff <[EMAIL PROTECTED]> wrote: > I was hoping to get some guidance on my first fact. I'd like to create > a global configuration file that contains default values that I can > reference in multiple classes. In other words, I'd like one source > for, say, JAVA_HOME but I'd like

[Puppet Users] Re: Question about redundant includes.

2008-09-10 Thread Peter Meier
Hi > Does anyone know if there is any adverse side effect to including a > class multiple times in different places? > > I.e. > > class foo { ... } > > class bar { include "foo" } > > node bob { > include "foo" > include "bar" > } > > There doesn't *seem* to be any problem, but I'd like

[Puppet Users] Re: Question about redundant includes.

2008-09-10 Thread Trevor Vaughan
Pete, That's what I thought, I was just a little nervous about the 'essentially' language. I'll assume the best and move along! Thanks, Trevor On Wed, Sep 10, 2008 at 9:10 AM, Peter Meier <[EMAIL PROTECTED]> wrote: > > Hi > >> Does anyone know if there is any adverse side effect to including

[Puppet Users] Re: template question

2008-09-10 Thread Grumpus
On Tue, Sep 09, 2008 at 09:31:05PM -0600, Andrew Shafer wrote: > > try > > <% if defined? @foo_var1 %> > > note the @ > That didn't seem to make a difference. And I'm using puppet 0.24.5. --~--~-~--~~~---~--~~ You received this message because you are subscri

[Puppet Users] Question about redundant includes.

2008-09-10 Thread Trevor Vaughan
All, Does anyone know if there is any adverse side effect to including a class multiple times in different places? I.e. class foo { ... } class bar { include "foo" } node bob { include "foo" include "bar" } There doesn't *seem* to be any problem, but I'd like to make sure I'm not exploit

[Puppet Users] Just the Facts

2008-09-10 Thread Jeff
I was hoping to get some guidance on my first fact. I'd like to create a global configuration file that contains default values that I can reference in multiple classes. In other words, I'd like one source for, say, JAVA_HOME but I'd like to reference it in my java and profile classes. The config

[Puppet Users] Re: Managing SSH keys

2008-09-10 Thread Peter Meier
Hi > I'd like to have Puppet distributing one of your server's (public) SSH > keys, effectively doing the same as the ssh-copy-id command. > > Is there a build in puppet resource type for managing SSH keys. We're > running version 0.24.4 of puppet. you mean something like that: http://reductiv

[Puppet Users] Managing SSH keys

2008-09-10 Thread kenneho
Hello all, I'd like to have Puppet distributing one of your server's (public) SSH keys, effectively doing the same as the ssh-copy-id command. Is there a build in puppet resource type for managing SSH keys. We're running version 0.24.4 of puppet. Regards, Kenneth Holter --~--~-~--~---