Hello,

I have used puppetdb module (https://forge.puppet.com/puppetlabs/puppetdb), 
installation went clean no errors. (rhel 7.3).Installed puppetdb separately 
(not on the puppet server) 

*Puppetdb server*

# lsof -i :8081
COMMAND   PID     USER   FD   TYPE  DEVICE SIZE/OFF NODE NAME
java    27043 puppetdb   28u  IPv6 1481441      0t0  TCP *:tproxy (LISTEN)

# lsof -i :8080
COMMAND   PID     USER   FD   TYPE  DEVICE SIZE/OFF NODE NAME
java    27043 puppetdb   19u  IPv6 1481433      0t0  TCP localhost:webcache 
(LISTEN)


# netstat -ltnp | grep postgres
tcp        0      0 127.0.0.1:5432          0.0.0.0:*               LISTEN 
     26760/postgres
tcp6       0      0 ::1:5432                :::*                    LISTEN 
     26760/postgres

iptables/firewall - off


*Puppet server*

below notice while executing puppetdb module on puppet server.

Notice: Unable to connect to puppetdb server 
(https://puppetdb.example.com:8081): [503] Service Unavailable
Notice: Failed to connect to puppetdb; sleeping 2 seconds before retry

*manifest *

node puppetserver.example.com {
class { 'puppetdb::master::config':
puppetdb_server => 'puppetdb.example.com',
}
}
node puppetdb.example.com {
class { 'puppetdb::database::postgresql':
listen_addresses => localhost,
}
class { 'puppetdb::server':
database_host => 'puppetdb.example.com',
}
}

*Puppetdb error logs*

http://pastebin.com/RpeCJHPf

Thank you 


-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/9c093e1e-dc7f-42e9-8cd3-f22d4794348d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to