[Puppet Users] Re: Problem with definition/classes

2012-01-08 Thread bel
With regards to this line: source => "puppet:///snmp/snmpd-($placement).conf", I have two minor suggestions. First, it's probably neater to do this: source => "puppet:///snmp/snmpd-${placement}.conf", And then, for $placement = 'foo', the file would be: modules/snmp/files/placement-foo.con

[Puppet Users] Re: Problem with definition/classes

2012-01-07 Thread Ola
On 8 Jan, 00:14, Gabriel Filion wrote: > On 12-01-07 12:55 PM, Ola wrote: > > > On the puppet server i have the stuff placed at: /etc/puppet/modules/ > > snmpd/manifests > > The init.pp looks like this: > > hmm it mostly looks okay, but I don't know if it was a typing mistake > when copying or i