We have interpolations like "$name-tomcat" all over our manifests. It's possible to adjust them all to "${name}-tomcat" but it's not going to be fun :)
On Oct 6, 1:19 am, Evgeny <eokole...@gmail.com> wrote: > perhaps you should enclose the variables in quotes to something like > this: > > "http://${yumserver}/repos/vmware-${esxversion-rhel6-64}" > > On Oct 5, 8:46 pm, Steve Snodgrass <phe...@gmail.com> wrote: > > > > > > > > > While testingpuppet2.7, I found that one of my manifests broke > > because of the following quoted string: > > > "http://$yumserver/repos/vmware-$esxversion-rhel6-64" > > > Everything in the resulting string after "vmware-" was blank. After > > some experiments I found thatpuppet2.7allowsdashes invariable > >names, and was interpreting "$esxversion-rhel6-64" as one big > >variable. Of course adding curly braces fixes the problem, but that > > seems like a significant change. Was it intended? > > > Results of applying a simple test manifest: > > > notice("Dashtest: $fqdn-is-my-hostname") > > >Puppet2.6.11: > > > notice: Scope(Class[main]): Dashtest: foobar.example.com-is-my- > > hostname > > >Puppet2.7.5: > > > notice: Scope(Class[main]): Dashtest: > > > -Steve -- 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.