Giter Club home page Giter Club logo

docker-puppetdb's Introduction

PuppetDB

Run a PuppetDB Server out of docker

requirements and assumptions

This container has a couple of assumptions and requirements.

  • You need a Postgres Server running. This server can be another container, a RDS end point or a physical DB somewhere
  • Puppet Master server running. The Puppetlabs/puppetdb module uses ssl certs created during your nodes inital puppet runs so you will need at least a token puppet master running that the container(s) can connect to to initialze the certs.

To test against another container you can link the two containers. To Run a puppet master run something like this:

docker run -it -d -h puppet --name puppet -h puppet tfhartmann/puppetserver

Then Link PuppetDB to the master:

docker run --link puppet:puppet -P -it -d tfhartmann/puppetdb

Examples

Run PuppetDB

docker run --link puppet:puppet -it --rm tfhartmann/puppetdb

docker run --link puppet:puppet -P -it -d tfhartmann/puppetdb

environment variables

DBHOST

You *MUST Pass a DB host into the container, otherwise puppetdb will have no idea what to connect to as it doesn't run a local db.

DBUSER

The Postgres user that has access to the puppetdb database on your postgres server. Defaults to 'puppetdb'

-e DBUSER='puppetdb'

DBPASS

The Postgres password for the above user. Defaults to 'puppetdb'

-e DBPASS='puppetdb'

SSL

Use SSL to connect to the postgres DB Defaults to false

-e SSL=true/false

JAVA_ARGS

Pass Java args

-e JAVA_ARGS=''

NODE_TTL

NODE_PURGE_TTL

docker-puppetdb's People

Contributors

tfhartmann avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.