Re: [Puppet Users] Problem with definition/classes

2012-01-07 Thread Zac Sprackett
On Sat, Jan 7, 2012 at 6:14 PM, Gabriel Filion You can check your init.pp file for syntax with the command: > > puppet --parseonly --ignoreimport > /etc/puppet/modules/snmpd/manifests/init.pp > Be advised that in recent puppet, --ignoreimport will in fact ignore the entire file and return true ev

Re: [Puppet Users] Problem with definition/classes

2012-01-07 Thread Gabriel Filion
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 if you really copy-pasted from your file, but: > class sn

[Puppet Users] Problem with definition/classes

2012-01-07 Thread Ola
Hello So i have tried to write my first custom module, its to config snmp and have different snmpd.conf depening on where the server is placed (different offices etc) I just cant get it to work all the way, i get this error: err: Could not retrieve catalog from remote server: Error 400 on SERVER: