--
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 puppet-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/899d2bf7-ceed-4d9e-bd24-c4ba2cc93928%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
puppetdb:
container_name: puppet_db
hostname: puppetdb.peninsula.wednet.edu
dns:
- 10.0.0.7
image: puppet/puppetdb:latest
ports:
- 8087:8080
- 8088:8081
depends_on:
- puppet
links:
- puppet:puppet4.psd401.net
- puppetdbpostgres:postgres
volumes:
- ./puppet-client.conf:/etc/puppetlabs/puppet/puppet.conf
- ./puppetdb_conf:/etc/puppetlabs/puppetdb/conf.d
- ./puppetdb_ssl:/etc/puppetlabs/puppet/ssl/
networks:
puppet:
ipv4_address: 172.19.0.4
restart: always
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/fcf0c6da-82dd-4970-ab81-a60131b291f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/1015311c-0e2f-44f0-a096-6c5015d00d98%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
+ "puppet4.psd401.net" (SHA256) 1D:16:67:30:0D:62:CE:6C:2A:80:11:7E:C7:79:BA:4F:25:C6:0E:E6:90:9D:4D:9F:86:4B:5C:42:A1:6D:09:96 (alt names: "DNS:puppet", "DNS:puppet4.psd401.net")
Warning: Unable to fetch my node definition, but the agent run will continue:Warning: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [unable to get local issuer certificate for /CN=puppet4.psd401.net]Info: Retrieving pluginfactsError: /File[/opt/puppetlabs/puppet/cache/facts.d]: Failed to generate additional resources using 'eval_generate': SSL_connect returned=1 errno=0 state=error: certificate verify failed: [unable to get local issuer certificate for /CN=puppet4.psd401.net]Error: /File[/opt/puppetlabs/puppet/cache/facts.d]: Could not evaluate: Could not retrieve file metadata for puppet:///pluginfacts: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [unable to get local issuer certificate for /CN=puppet4.psd401.net]Info: Retrieving pluginError: /File[/opt/puppetlabs/puppet/cache/lib]: Failed to generate additional resources using 'eval_generate': SSL_connect returned=1 errno=0 state=error: certificate verify failed: [unable to get local issuer certificate for /CN=puppet4.psd401.net]Error: /File[/opt/puppetlabs/puppet/cache/lib]: Could not evaluate: Could not retrieve file metadata for puppet:///plugins: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [unable to get local issuer certificate for /CN=puppet4.psd401.net]Error: Could not retrieve catalog from remote server: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [unable to get local issuer certificate for /CN=puppet4.psd401.net]Error: Could not retrieve catalog; skipping runError: Could not send report: SSL_connect returned=1 errno=0 state=error: certificate verify failed: [unable to get local issuer certificate for /CN=puppet4.psd401.net]#!/bin/bash
if [ ! -d "/etc/puppetlabs/puppetdb/ssl" ]; then
set -e
/opt/puppetlabs/bin/puppet config set certname ${HOSTNAME}
if [ ! -f "/etc/puppetlabs/puppet/ssl/certs/ca.pem" ]; then
while ! nc -z puppet 8140; do
sleep 1
done
/opt/puppetlabs/bin/puppet agent --verbose --onetime --no-daemonize --waitforcert 120
fi
/opt/puppetlabs/server/bin/puppetdb ssl-setup -f
fi
exec /opt/puppetlabs/server/bin/puppetdb "$@"
puppetdb:
hostname: puppetdb
# image: puppet/puppetdb:4.4.0
build: builds/puppetdb
ports:
- 8080
- 8081
volumes:
- ./puppetdb/ssl:/etc/puppetlabs/puppet/ssl/
FROM puppet/puppetdb:4.4.0
EXPOSE 8080
EXPOSE 8081
COPY docker-entrypoint.sh /
VOLUME /etc/puppetlabs/puppet/ssl
VOLUME /etc/puppetlabs/puppetdb
ENTRYPOINT ["/docker-entrypoint.sh", "foreground"]To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/9d319859-8f13-4e6e-97c9-c2366152a4e3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.