Hello puppeteers,
We are in the process of upgrading to 0.25.4 and I've discovered an
issue. I have a global class called global that looks like this:
class globals {
$java = "/usr/bin/java"
$javac = "/usr/bin/javac"
$java_home = "/usr/java/jdk1.5.0_15"
$dynamo_home = "/usr/local/ATG/ATG2007.1/home"
$jboss_home = "/usr/local/jboss"
$jboss_release = "4.0.5.GA"
$atg_release = "2007.1"
$ant_home = "/opt/apache-ant-1.7.1"
}
If I include it in a node and try to access $java_home, I get no
value:
node 'homer.simpson.com' {
include globals
notify { "globalchk" : message => "Here's my java_home:
($java_home)" }
}
Here's the output:
notice: Here's my java_home: ()
notice: //Node[homer.simpson.com]/Notify[globalchk]/message: defined
'message' as 'Here's my java_home: ()'
Did something change since 0.24.4?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" 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-users?hl=en.