John, thanks so much for your notice, yes I thought about this too, and, now I think I should spend sometime fixing them rather than suppressing. At first I was frustrated because of so many warning, but now I got it, I dont think I should stop at version < 3.2.
NN On Friday, May 24, 2013 9:10:53 PM UTC+7, jcbollinger wrote: > > > > On Thursday, May 23, 2013 11:09:51 PM UTC-5, Nam Nguyen wrote: >> >> Hey guys, >> after upgrading Puppet to version 3.2.1 I got lots of warning like this: >> >> Warning: Variable access via 'logroot' is deprecated. Use '@logroot' >> instead. >> template[/etc/puppet/modules/apache/templates/vhost-default.conf.erb]:24 >> >> I used puppet many modules which don't use @ or $ in front of reference >> variables, so I will be a pain to fix them all. >> Is there any way I can suppress (hide | disable) these warnings? >> >> > I don't know about suppressing the warnings, but unless you intend to stop > at Puppet 3.2, you really ought to fix them. Deprecation is a prelude to > feature removal, so you can expect that your templates will no longer work > with some future version of Puppet. You can put off changes until then if > you want, but I'd recommend that you do the work now. That will help you > avoid making more future work for yourself, by causing new uses of the > deprecated style to stand out. > > > John > > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users?hl=en. For more options, visit https://groups.google.com/groups/opt_out.