Chris, thanks very much for the pull requests to fix the modules. I'll work up a fix for the docs; it looks like in particular the second bullet at http://docs.puppetlabs.com/guides/templating.html#referencing-variables needs to reflect the deprecation and, as you note, the second half still uses the bareword.
As an aside it's totally awesome that people are picking up on all the new stuff in the 3.2 release. Keep 'em coming! eric0 On Friday, May 24, 2013 7:13:49 AM UTC-7, Christopher Rutter wrote: > > I am in the same boat here. For example there are a few puppetlabs modules > that currently don't have a stable release that fixes this: > > - https://github.com/puppetlabs/puppetlabs-mysql - tag 0.6.1 (pull > request <https://github.com/puppetlabs/puppetlabs-mysql/pull/185>) > - https://github.com/puppetlabs/puppetlabs-apache - tag 0.6.0 (fixed > in master branch) > - https://github.com/puppetlabs/puppetlabs-apt - tag 1.1.0 (pull > request <https://github.com/puppetlabs/puppetlabs-apt/pull/116>) > > And this isn't even all of them, only the ones that I use... > Sure this issue is addressed in the master branch of these modules (or > pending pull requests, that I just submitted today) but I don't feel > comfortable running 'master' in production. > > Heck, even the > documentation<http://docs.puppetlabs.com/guides/templating.html> ("iteration" > section and below) breaks down halfway down the page and stops using the > '@'. > I feel like this new "warning" might have been a bit premature, then > again, I suppose this will force people to fix the problem. > -Chris > > > On Friday, May 24, 2013 12:09:51 AM UTC-4, 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? >> >> NN. >> >> -- 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.