In 2.7.2rc2 the '-' is now
parsed as part of the variable name.
Is this a deliberate change?

#! /usr/bin/puppet apply

$hello = "hello"
$world = "world"
$hello- = "SURPRISE"

notice("$hello-$world")
notice("${hello}-$world")


# result:
#       # ./surprise1.pp
#       notice: Scope(Class[main]): SURPRISEworld
#       notice: Scope(Class[main]): hello-world
#       notice: Finished catalog run in 0.18 seconds

--
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.

Reply via email to