Issue #1201 has been updated by luke.

Status changed from Accepted to Ready for Checkin

Fixed in [ac7f59618a80b6a4aac777f6184e7fa6a0614079] in the tickets/0.24.x/1201 
branch in my repo.
----------------------------------------
Bug #1201: Variables defined via external node script are not same as ones 
defined in manifests
http://reductivelabs.com/redmine/issues/show/1201

Author: snemetz
Status: Ready for Checkin
Priority: Normal
Assigned to: luke
Category: unknown
Target version: 0.24.5
Keywords: 
Complexity: Easy
Patch: None
Affected version: 


In converting to an external node classifier script all my if statements in 
templates started failing. While a variable created either via the script or a 
manifest would print the same they do not test the same.

The problem is that variables defined in a manifest are of class 'String', but 
variables defined via an external script are of class '!TrueClass'. This breaks 
all comparisons, since TrueClass needs to be converted to a string before you 
can run string comparisons on it.


----------------------------------------
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://reductivelabs.com/redmine/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
-~----------~----~----~----~------~----~------~--~---

Reply via email to