3 ms·
The comments about the difficulty of sharing modules rings true. I think the puppet developers made a mistake by not having a way to separate data from the "cod
by sciurus 15y ago
The comments about the difficulty of sharing modules rings true. I think the puppet developers made a mistake by not having a way to separate data from the "code" as a core, recommended feature early on. Full-heartedly embracing extlookup a couple years ago might have helped, but that didn't happen either (see http://groups.google.com/group/puppet-users/browse_thread/thread/34e4dfb4828a2835/ http://groups.google.com/group/puppet-users/browse_thread/th... for their reasoning).
- nigelk 15y agoI absolutely agree. Not being able to externalize data has had a huge effect upon sharing modules. Our plan for the next major release of Puppet this year is to integrate Hiera deeply into Puppet in a more native manner. http://projects.puppetlabs.com/projects/hiera http://projects.puppetlabs.com/projects/hiera We're still building out the plan, and will be sending it out to the community soon for comment, but the basic idea is that parameterized class parameter lookup will automatically consult a hierarchical store like Hiera if values are not supplied directly. Much like Hiera has now, there will also be an easy function to grab arbitrary data values outside of class parameters.