Thanks Ohad and Nan. Your responses were helpful On May 5, 12:37 am, Ohad Levy <[email protected]> wrote: > On Thu, May 5, 2011 at 6:59 AM, Nan Liu <[email protected]> wrote: > > On Wed, May 4, 2011 at 12:51 PM, rjl <[email protected]> wrote: > > > Hi all, > > > Presently, I am managing my external data via CSV files. These files > > > are manually changed as required. > > > Are you using extlookup function to retrieve the CSV configuration data? > > > > I would like to have a UI that updates a database (probably postgres) > > > and then have puppet retrieve its external data directly from the > > > database. > > > You will need to write either a custom function that performs data > > lookup. Something along the line of: > > # connect to postgres > > # sql query using lookup criteria (typically certname) > > # return data hash > > > Or you can write a custom external node classifier (ENC): > >http://docs.puppetlabs.com/guides/external_nodes.html > > > or you can use one for the common one (foreman, dashbord) foreman does > > support postgres as well... > > Ohad
-- You received this message because you are subscribed to the Google Groups "Puppet Users" 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-users?hl=en.
