Title: Message Title
Henrik Lindberg commented on an issue
Puppet / Bug PUP-1762
Puppet compiler does not bat an eye at variables that are missing a dollar sign
{noformat}
Notice: Finished catalog run in 0.03 seconds
antarus@goats5 /tmp $ cat foo.pp
$foo = ::puppetversion ? {
  '3.2.4' => 'broken',
  default => 'goats'
}

notice($::puppetversion)
notice($foo)

antarus@goats5 /tmp $ puppet apply foo.pp
Notice: Scope(Class[main]): 3.2.4
Notice: Scope(Class[main]): goats
Notice: Finished catalog run in...

--
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.

Reply via email to