Issue #4786 has been reported by Patrick Mohr.
----------------------------------------
Bug #4786: Regression: Define $name variable is now downcased
http://projects.puppetlabs.com/issues/4786
Author: Patrick Mohr
Status: Unreviewed
Priority: Normal
Assignee:
Category:
Target version:
Affected version: 2.6.0
Keywords:
Branch:
If you run the following code with "puppet apply", the $name variable is
downcased. This didn't used to happen in 0.25.4. This looks like a bug. If
it's working as designed, it should probably be mentioned in the release notes.
define define_printer() {
alert("Test: $name")
}
define_printer { "Brother-HL-2170W":
}
**Expected output (happens in 0.25.4):
alert: Scope(Define_printer[Brother-HL-2170W]): Test: Brother-HL-2170W
**Actual output (happens in 2.6.1~rc4-0ubuntu1):
alert: Scope(Define_printer[Brother-HL-2170W]): Test: brother-hl-2170w
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.