#1201: Variables defined via external node script are not same as ones defined 
in
manifests
--------------------------------------------+-------------------------------
Reporter:  snemetz                          |        Owner:  community 
    Type:  defect                           |       Status:  new       
Priority:  normal                           |    Component:  server    
 Version:  0.24.4                           |     Severity:  normal    
Keywords:  variable external node template  |        Stage:  Unreviewed
   Patch:  None                             |   Complexity:  Unknown   
--------------------------------------------+-------------------------------
 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.

-- 
Ticket URL: <http://reductivelabs.com/trac/puppet/ticket/1201>
puppet <http://reductivelabs.com>
Puppet - Portable System Automation
--~--~---------~--~----~------------~-------~--~----~
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