Jason Dillon
2006-Oct-29 22:00 UTC
warning: Deprecation notice: Resource references should now be capitalized?
Puppet 0.22.0 is complaining with "warning: Deprecation notice: Resource references should now be capitalized on line 22 in file /etc/ puppet/manifests/classes/snmp.pp". <snip> remotefile { "/etc/snmp/snmpd.conf": mode => 444, source => "system/snmp/snmpd.conf", notify => service[snmpd] # this is line 22 } </snip> What is wrong with this def? --jason
Martin Vuk
2006-Oct-29 22:21 UTC
Re: warning: Deprecation notice: Resource references should now be capitalized?
2006/10/29, Jason Dillon <jason@planet57.com>:> Puppet 0.22.0 is complaining with "warning: Deprecation notice: > Resource references should now be capitalized on line 22 in file /etc/ > puppet/manifests/classes/snmp.pp". > > <snip> > remotefile { > "/etc/snmp/snmpd.conf": > mode => 444, > source => "system/snmp/snmpd.conf", > notify => service[snmpd] # this is line 22 > } > </snip> > > What is wrong with this def?I like it, but as the mesage said in version => 0.20 of puppet> notify => service[snmpd] # this is line 22should be notify => Service[snmpd] There was discussion about this some time ago on dev list. Martin