That was totally it! I removed the @ from @bucket, and now all is well. Thanks a million.
-- *Eugene Brodsky *teehan+lax Systems Administrator p. 416.340.8666 x2650 109 Atlantic Avenue, Suite 202 Toronto, ON M6K 1X4 www.teehanlax.com On Mon, Jun 2, 2014 at 10:41 AM, jcbollinger <john.bollin...@stjude.org> wrote: > > > On Friday, May 30, 2014 5:10:57 PM UTC-5, Mike Delaney wrote: >> >> bucket and @bucket are two different variables. >> >> The main change in ERB templates between 2.7 and 3.x was deprecating the >> use of non-class variables to pass information from the calling scope into >> the template. Perhaps you got a little over-zealous prepending '@' to >> variable names while fixing deprecation warnings? >> >> > > I was about to say that no, bucket and @bucket are aliases of each other, > but indeed, that's only true for names bound to Puppet DSL variables. It > is conceivable that even for those the aliasing breaks when you assign a > value (which you absolutely should not do to names bound to DSL variables). > > So, just as Mike says, to use local variables in Ruby scriptlets within a > template you should reference them via undecorated names. > > > John > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Puppet Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/puppet-users/3a9x84NV1Uw/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > puppet-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/1eb908b3-045c-4c80-b571-c29b5888821a%40googlegroups.com > <https://groups.google.com/d/msgid/puppet-users/1eb908b3-045c-4c80-b571-c29b5888821a%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAH7hU7BkESMKGqhdyZDWHyvUTugFN89bZaUE__wFDH%2B8gn-SNg%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.