On Thu, May 5, 2011 at 6:59 AM, Nan Liu <n...@puppetlabs.com> wrote:

> On Wed, May 4, 2011 at 12:51 PM, rjl <rjlin...@gmail.com> 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 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.

Reply via email to