Like, the postgresql database? First, I have to ask: why you want to go 
poking around in there?

Anyway, assuming you set it up with user: puppetdb, databasename: puppetdb 
and the recommended potgresql settings, you can use the psql client, like 
so:

psql -h 127.0.0.1 puppetdb puppetdb

On Wednesday, August 21, 2013 2:14:21 PM UTC-7, mike wrote:
>
> Hello,
> I have configured puppet and puppetdb (storeconfig) with postgresql and 
> the service run and the collecting  are good for example:
>
> I can make query with the next command and responds ok .
> [.........................]
> [root@master]# curl -X GET -H 'Accept: application/json' 
> http://127.0.0.1:8080/v2/facts --data-urlencode 'query=["=", "name", 
> "operatingsystem"]'
> [ {
>   "certname" : "master.example.com",
>   "name" : "operatingsystem",
>   "value" : "CentOS"
> }, {
>   "certname" : "node1.example.com",
>   "name" : "operatingsystem",
>   "value" : "CentOS"
> }, {
>   "certname" : "node2.example.com",
>   "name" : "operatingsystem",
>   "value" : "CentOS"
> } ]
> [.........................]
>
> My confusion is ¿How I can connect to database from shell and view the 
> database structure?
>
>
> Thanks.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to