On Tue, Apr 19, 2011 at 02:21:39PM -0700, rowan holmes wrote: > I really wonder that can we use a database for our definition calls. > assume that we have a definition which is used for adding virtual > hosts to apache configuration file like below:
You can, quite happily, but you have to write it yourself I'm afraid. You could use an ENC (External Node Classifier), and have that output all your node and thus parameter data from your database. See http://docs.puppetlabs.com/guides/external_nodes.html Or write a parser function, such as extlookup but talking to a database back end. http://www.devco.net/archives/2009/08/31/complex_data_and_puppet.php -- Ben Hughes || http://www.puppetlabs.com/ -- 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.