Re: [Puppet Users] Puppet environment can't be used in extlookup (precedence)

2011-09-19 Thread Marcello de Sousa
w the code. Any nice tips anyone ? On Fri, Apr 22, 2011 at 1:08 PM, Marcello de Sousa wrote: > Tested with 2.6.7-1 > > I'll try to reproduce it with 2.6.6 > > On Fri, Apr 22, 2011 at 12:22 PM, R.I.Pienaar wrote: >> >> >> - Original Message - >>

Re: [Puppet Users] Puppet environment can't be used in extlookup (precedence)

2011-04-22 Thread Marcello de Sousa
Tested with 2.6.7-1 I'll try to reproduce it with 2.6.6 On Fri, Apr 22, 2011 at 12:22 PM, R.I.Pienaar wrote: > > > - Original Message - >> This is bugging me for a couple of days now as I don't seem to find a >> reasonable explanation for the different behavior on the 2 puppet >> variabl

Re: [Puppet Users] Puppet environment can't be used in extlookup (precedence)

2011-04-22 Thread Marcello de Sousa
This is bugging me for a couple of days now as I don't seem to find a reasonable explanation for the different behavior on the 2 puppet variables. Not sure if it's a puppet issue or an extlookup issue (or maybe my own issue). Help ? :) On Wed, Apr 20, 2011 at 12:25 AM, Marcello de So

Re: [Puppet Users] ssh_authorized_key fails when home directory doesn't exist

2011-04-21 Thread Marcello de Sousa
Btw, you can probably let puppet manage the .k5login as well... It's just an extra small hassle. On Fri, Apr 22, 2011 at 2:10 AM, Marcello de Sousa wrote: > I have the same issue (using Likewise Open) and even remember > discussing this briefly with Jeff (Puppetcamp in Belgium). I st

Re: [Puppet Users] ssh_authorized_key fails when home directory doesn't exist

2011-04-21 Thread Marcello de Sousa
I have the same issue (using Likewise Open) and even remember discussing this briefly with Jeff (Puppetcamp in Belgium). I still could not find a perfect solution. Likewise open takes care of k5login kerberos file when creating the homedir. If the folder already exists because puppet created it, L

[Puppet Users] Puppet environment can't be used in extlookup (precedence)

2011-04-19 Thread Marcello de Sousa
Anyone able to explain why "$fqdn" works and "$environment" doesn't in: $extlookup_precedence=["%{fqdn}","%{environment}","common"] How to reproduce it: - - In "/etc/puppet/manifests/site.pp" : $extlookup_datadir = "/etc/puppet/manifests/extdata" $extlookup_precedenc

RE: [Puppet Users] Foreman environments vs. Puppet Environments

2010-02-26 Thread Marcello de Sousa
t; > Foreman can scan your existing modules assigning the right classes to > the relevant environments. > > there is another environment settings in foreman (e.g. if you start the > server in the command line) - this is rails environment and is not > related to puppet at all. >

[Puppet Users] Foreman environments vs. Puppet Environments

2010-02-26 Thread Marcello de Sousa
Does anybody know or have a Howto on how to use "Foreman environments" and their relationship and interaction with "puppet environments" ? If they are not related, is there a way to assign a machine to a "puppet environment" via Foreman's interface ? Cheers, Marcello -- You received this messag

RE: [Puppet Users] ssh::auth server dependency on ~/.ssh and a scoping question

2010-02-26 Thread Marcello de Sousa
Sent: vrijdag 26 februari 2010 11:32 > To: puppet-users@googlegroups.com > Cc: Alan Barrett > Subject: Re: [Puppet Users] ssh::auth server dependency on ~/.ssh and a > scoping question > > On Friday 26 Feb 2010 09:37:28 Alan Barrett wrote: > > On Thu, 25 Feb 2010, Marcello

RE: [Puppet Users] ssh::auth server dependency on ~/.ssh and a scoping question

2010-02-25 Thread Marcello de Sousa
t Users] ssh::auth server dependency on ~/.ssh and a > scoping question > > On Thu, Feb 25, 2010 at 12:52 PM, Patrick wrote: > > > > On Feb 25, 2010, at 11:23 AM, Marcello de Sousa wrote: > > > Patrick, > > > > If you do that you

RE: [Puppet Users] ssh::auth server dependency on ~/.ssh and a scoping question

2010-02-25 Thread Marcello de Sousa
about deploying the keys to /etc/skel? Would that be enough for > what you want? > > > On Feb 25, 2010, at 8:47 AM, Marcello de Sousa wrote: > > > Hi Andrew, > > > >>> "IF homedir exists => deploy .ssh/authorized_keys , else do > nothing"

RE: [Puppet Users] ssh::auth server dependency on ~/.ssh and a scoping question

2010-02-25 Thread Marcello de Sousa
Hi Andrew, > > "IF homedir exists => deploy .ssh/authorized_keys , else do nothing" > > As far as I know this is not possible with puppet. > > Marcello, I want to understand your use case. AD and LDAP seem to be > fairly common in Puppet installations, and I'd like for ssh::auth to > work well w

RE: [Puppet Users] ssh::auth server dependency on ~/.ssh and a scoping question

2010-02-25 Thread Marcello de Sousa
I also manage users using AD (and likewise-open deployed with puppet), and I've had a similar issue. I couldn't find an elegant way to deploy ssh public keys "only if" the home dir exists. I do NOT want the user homedir to be created by puppet! (It must be created by likewise-open if the user log

RE: [Puppet Users] Cascaded conditionals possible ?

2010-02-17 Thread Marcello de Sousa
m > Subject: Re: [Puppet Users] Cascaded conditionals possible ? > > On Mon, 15 Feb 2010, Marcello de Sousa wrote: > > I've been trying to use a resolv_conf recipe to setup the DNS servers > based > > on $domain and $location (a custom fact). > > So I cascade the 2

RE: [Puppet Users] vmwaretools

2010-02-17 Thread Marcello de Sousa
I've recently deployed on (via puppet) the following script to deal automatically with kernel updates: --- #Automatically updates VMWare tools (to be called from /etc/rc.local) if [ ! -e /lib/modules/`uname -r`/.vmware_installed ]; then /usr/bin/vmware-config-tools.p

RE: [Puppet Users] Cascaded conditionals possible ?

2010-02-16 Thread Marcello de Sousa
ssed them down into a template. > > Sent from my iPhone > > On Feb 16, 2010, at 7:05 AM, Trevor Vaughan > wrote: > > > I haven't tried it that way, but it would seem that that wouldn't > > work to me. > > > > It does work with nested if/else sta

[Puppet Users] Cascaded conditionals possible ?

2010-02-15 Thread Marcello de Sousa
I've been trying to use a resolv_conf recipe to setup the DNS servers based on $domain and $location (a custom fact). So I cascade the 2 conditionals, but it's not working. Is it supposed to work ? Or should I look for an alternative ? -- resolv_conf { "l