I was hoping to get some guidance on my first fact. I'd like to create
a global configuration file that contains default values that I can
reference in multiple classes. In other words, I'd like one source
for, say, JAVA_HOME but I'd like to reference it in my java and
profile classes.

The configuration file would look like this:

java_home=/usr/java/jdk1.5.0_15
jboss_home=/usr/local/jboss

[etc]

I'd like the fact to read the file and assign the value to a variable
with the same name as the key, i.e.,

$java_home = "/usr/java/jdk1.5.0_15"
$jboss_home = "/usr/local/jboss"

[etc]

Does anybody have a comparable example from which I can work? I'd
really appreciate it.

Cheers,
Jeff
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to