[Puppet Users] Help! Templates, definitions, and arrays, oh my!

2009-07-09 Thread Gajillion
Hi all, This little exercise is pointing out huge gaps in my Puppet/Ruby knowledge and I'm not sure how to get around it. I'm working on a module for writing interface files and everything works fine except for my "vlan" interface creation. Here's the snippet that's passed to my definition:

[Puppet Users] Re: Help! Templates, definitions, and arrays, oh my!

2009-07-09 Thread Gajillion
ork). Now, how do I map my IP addresses? Do I have to create some internal map inside the array? On Jul 9, 10:23 am, Gajillion wrote: > Hi all, > This little exercise is pointing out huge gaps in my Puppet/Ruby > knowledge and I'm not sure how to get around it.  I'm working

[Puppet Users] Users without shadow

2009-08-28 Thread Gajillion
All, We use LDAP authentication against Active Directory on our Linux systems. If a user is not in AD, they don't get into authenticated. We remove all AD authenticated user's shadow entry to keep the shadow expirations from interfering with authentication. However, the "user" type in puppet ins

[Puppet Users] Re: Users without shadow

2009-08-31 Thread Gajillion
CentOS-5. > > Michael > > On Friday 28 August 2009 15:29:38 Gajillion wrote: > > > > > All, > > We use LDAP authentication against Active Directory on our Linux > > systems.  If a user is not in AD, they don't get into authenticated. > > We remove al

[Puppet Users] Mount point permissions

2009-09-17 Thread Gajillion
All, I'm surprised I haven't seen this here since I can't be the only one experiencing this. We have a class that uses the file type to create a mount point, an exec to create a file system, and then uses the mount type to mount it up. The problem is, with most Unix file systems, the permissions

[Puppet Users] A couple of questions about dashboard (r 0.2.1)

2009-12-29 Thread Gajillion
Hi all, Groups and classes: Am I missing something or is there no way to associate a class with a group using the dashboard? In the group summary it shows "Params", "Classes", and "Nodes", but when you go to edit it, you only have the option to add nodes or parameters. Groups and precedence: It ap

[Puppet Users] HP PSP installation

2008-10-31 Thread Gajillion
Hi, I'm a newb to puppet but have a good deal of experience with CFEngine. We want to replace CFEngine in our environment because of its monolithic nature. As a proof of concept, I'd like to duplicate a particular function we've always had trouble with in CFEngine - installing HP PSP on our Redh

[Puppet Users] Re: HP PSP installation

2008-11-01 Thread Gajillion
> puppet is a steady-state management system, where you specify the target > and puppet works out how to get there. Installing and removing packages > in a single step doesn't fit into that model at all. I've actually been thinking about doing this in a multistage fashion using the current state

[Puppet Users] imports from default node called when default node not used?

2009-03-19 Thread Gajillion
All, My understanding was that the default node was only used when a node did not match any other way. This appears to be correct for anything included via "include", however, it appears that anything included via "import" is pulled in regardless of whether the default node is matched or not. An

[Puppet Users] Re: Experiences with RHN Satellite?

2009-03-19 Thread Gajillion
Thought I'd chime in here since most of these comments seem to be negative. This is the second organization I've worked at using Satellite. It has some issues, but it has also saved me countless hours of work. It is NOT a configuration management tool, that was never its intent. There is a cob

[Puppet Users] Re: Experiences with RHN Satellite?

2009-03-19 Thread Gajillion
Gah! Just noticed you said you've got 50 servers. Don't bother. It's not worth the expense or the hassle. 500 servers? 5,000 servers? Completely different story. Gajillion wrote: > Thought I'd chime in here since most of these comments seem to be > negative. This

[Puppet Users] Generic fragment module?

2009-05-31 Thread Gajillion
Hello, I've run across this several times now and I was wondering how other people handle this. I would like to manage one or more fragments of code or data in a file that has no real form to it. For instance, I have about four or five different bits of code that go into /etc/ rc.local depending

[Puppet Users] does puppet+augeas actually work? limits.conf busticated

2009-06-03 Thread Gajillion
All, I've tried several lenses and several iterations and have never been able to get augeas and puppet to work together. My latest attempt: augeas {"memlock": changes => [ "ins domain after /files/etc/security/limits.conf/domain [last()]", "set /files/etc/sec

[Puppet Users] Re: does puppet+augeas actually work? limits.conf busticated

2009-06-04 Thread Gajillion
t tests]# On Jun 3, 3:25 pm, Rob McBroom wrote: > On 2009-Jun-3, at 3:56 PM, Gajillion wrote: > > > Fails: wombat::setup/Augeas[memlock]/returns: change from need_to_run > > to 0 failed: Save failed with return code fals > > This is the same error I just said I wasn&#x

[Puppet Users] Re: does puppet+augeas actually work? limits.conf busticated

2009-06-04 Thread Gajillion
t it appears to be failing and is just returning nothing. On Jun 3, 3:25 pm, Rob McBroom wrote: > On 2009-Jun-3, at 3:56 PM, Gajillion wrote: > > > Fails: wombat::setup/Augeas[memlock]/returns: change from need_to_run > > to 0 failed: Save failed with return code fals > > This

[Puppet Users] Re: does puppet+augeas actually work? limits.conf busticated

2009-06-04 Thread Gajillion
it and returns a fail code. On Jun 4, 8:54 am, Bryan Kearney wrote: > Gajillion wrote: > > So, a quick question then. I ran a very verbose strace on puppet > > while it was going through this change. What I see is this. > > > > You need to differentiate the plugin and aug

[Puppet Users] Re: does puppet+augeas actually work? limits.conf busticated

2009-06-04 Thread Gajillion
cadevhardnofile 8192 # Arca QA @arcaqa softnproc 2048 @arcaqa hardnproc 8192 @arcaqa softnofile 2048 @arcqa hardnofile 8192 On Jun 4, 8:50 am, Bryan Kearney wrote: > Gajillion wrote: > &

[Puppet Users] Re: does puppet+augeas actually work? limits.conf busticated

2009-06-04 Thread Gajillion
For whatever it's worth, I've been able to trace this to put_store (which is being called from create_lens) being called with NULL for state->value. This happens as Augeas is parsing the existing file and gets to the last value. For some reason, it just keeps going. I'm afraid this is as far as

[Puppet Users] Re: does puppet+augeas actually work? limits.conf busticated

2009-06-05 Thread Gajillion
ing command 'set' with params ["/files/etc/security/limits.conf/files/etc/security/ limits.conf/domain[last()]/value", "unlimited"] err: //Node[buildtest]/wombat::setup/Augeas[memlock]/returns: change from need_to_run to 0 failed: Save failed with return code false On

[Puppet Users] Re: does puppet+augeas actually work? limits.conf busticated

2009-06-05 Thread Gajillion
y and reinstalled and it works as advertised. And David - you were right. It does fail with the trailing slash :) Thanks again, Mark On Jun 5, 12:56 pm, David Lutterkort wrote: > On Fri, 2009-06-05 at 06:02 -0700, Gajillion wrote: > > That didn't work either: > > And I