> -----Original Message----- > From: puppet-users@googlegroups.com > [mailto:puppet-users@googlegroups.com] On Behalf Of rowan holmes > Sent: 19 April 2011 22:22 > To: Puppet Users > Subject: [Puppet Users] is it possible to take definition > parameters from a database? > > There may be thousands of lines like above. so is it possible > to store val1, val2 values in a database and do our job only > calling a line like this: > > for every $p1 and $p2 in valueTable in mypuppetDB: > apache:addvhost {"abc": param1=>$p1, param2=>$p2}
I don't know about doing it via puppet - I suspect not without custom Functions and/or outside help. I assume you know about this: http://httpd.apache.org/docs/2.0/vhosts/mass.html and deem it not suitable. -- Russell Howe rh...@moonfruit.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.