On Tue, Jul 26, 2011 at 7:52 AM, vagn scott <vagnsc...@gmail.com> wrote:
> On 07/26/2011 10:32 AM, Nigel Kersten wrote: > >> >> Allowing a trailing hyphen doesn't seem like the most optimal solution >> though.... >> > That doesn't matter so much. But, expanding the character set for > variables without even mentioning it in the release notes has caused me some > pain. Oh totally. This is something that needs to be called out in a much more visible manner. > > >> You really should be using curlies with any interpolated string like >> above. >> > > That is current wisdom. I have classes that were written before curlies > were strongly recommended. Those classes just broke. So, a trip through > the modules for that, and another trip for dynamic scopes. C'est la vie. I guess it's just a case of being a defensive shell programmer, but I've always considered curlies-with-double-quotes to be essential with all interpolated strings. -- Nigel Kersten Product Manager, Puppet Labs *Join us for **PuppetConf * <http://www.bit.ly/puppetconfsig> Sept 22/23 Portland, Oregon, USA. * * -- 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.