Issue #2140 has been updated by volcane.
Just throwing in somethig here that I added feature wise for my own data lookup
tool.
Inside a data file I found I needed a way to reference variables that's in
scope at run time, for example.
I have data files for hosts, countries, locations etc, but I also need a
fallback, example:
common.csv:resolver_search,%{domain}
or
common.csv:ntpservers,1.%{country}.pool.ntp.org,2.%{country}.pool.ntp.org,3.%{country}.pool.ntp.org
where $country and $domain are facts available at compile time.
Would be important if this external data sources has a similar ability
----------------------------------------
Feature #2140: Add support for external data files
http://projects.reductivelabs.com/issues/2140
Author: luke
Status: Accepted
Priority: Normal
Assigned to: luke
Category: plumbing
Target version: 0.26.0
Complexity: Unknown
Affected version: 0.24.7
Keywords:
See
http://groups.google.com/group/puppet-users/browse_thread/thread/b439cd34803ed5a1
We would support a data file for any given class, stored in the module, and
this data file would get loaded automatically when a class was loaded.
This requires #2139 to be fully-functional, and definitely should support data
files in multiple module directories.
--
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
-~----------~----~----~----~------~----~------~--~---