[Puppet Users] Manage but don't create resource

2012-06-01 Thread GriffaA10
Hi, I have certain situations where I want to manage user attributes, if the user already exists on a system, but not actually create them if they are missing. Is there a way to do this? I tried removing the explicit "ensure => present", but this seems to have no effect (i.e. missing users sti

Re: [Puppet Users] Manage but don't create resource

2012-06-01 Thread GriffaA10
m wrote: > > Hi Alan, > > > > What OS / provider? At first guess I'd say it's a side affect of the > > commands the provider is using to change user attributes (useradd > > instead of usermod?). If you run puppet with --debug you might get > > output fr

Re: [Puppet Users] Manage but don't create resource

2012-06-01 Thread GriffaA10
that none of it has tried to contact us.” > Bill Waterson (Calvin & Hobbes) > > - GriffaA10 wrote: > > I'm on Centos 5 - which I assume would behave the same as Fedora. From > my > > testing it would seem that the default behaviour for user type is to >

[Puppet Users] Optional template files?

2012-06-29 Thread GriffaA10
Hi, I'm trying get Puppet to manage my snmpd instances. I have a "base" snmpd.conf constructed from a template, but some hosts require additional config. My plan was to have something like snmpd.conf.$hostname.erb in the templates directory and concatenate this with the base template. However,

Re: [Puppet Users] Optional template files?

2012-06-29 Thread GriffaA10
arren Chamberlain wrote: > > > * GriffaA10 [2012/06/29 05:35]: > > I'm trying get Puppet to manage my snmpd instances. I have a > > "base" snmpd.conf constructed from a template, but some hosts > > require additional config. My plan was to have something like