----- Original Message ----- > I would be very happy to see a seamless/lazy/magic approach to using > variables. Something similar to what Al quoted seems nice: I'd like > to > be able to have the option to feed values to variables in different > places (of which one will take precedence over the other, and you > preferrably add a value only in one place) and then use that variable > in the module itself. That would make reuse of modules by others so > much nicer as they wouldn't be tied to using whatever your > environment > looks like that you developed the modules for. > > I guess it would look much like facter: it just provides values, but > hides where it got the values for those variables from. As Nigel > pointed out, data needs to be moved to outside manifests, and hiera > seems like a good tool for it.
sounds like you want to use hiera http://www.devco.net/archives/2011/06/06/puppet_backend_for_hiera.php -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.