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: Could not find class snmpd for wiki.chicago.local at /etc/ puppet/manifests/nodes/wiki.chicago.local.pp:3 on node wiki.chicago.local. On the puppet server i have the stuff placed at: /etc/puppet/modules/ snmpd/manifests The init.pp looks like this: class snmpd::install { package { "net-snmpd": ensure => present, } class snmpd { include snmpd::install, snmpd::service } define snmpd::type($placement) { include snmpd file { "/etc/snmp/snmpd.conf": owner => "root", group => "root", mode => 640, source => "puppet:///snmp/snmpd-($placement).conf", require => Class["snmpd::install"], } And on the node that getting the error message i have include snmpd. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.