GithubHelp home page GithubHelp logo

docker-puppetmaster's Introduction

Puppetmaster

Creates a Puppet Master running with Apache/Passenger, PuppetDB, Dashboard, and Redis (for Hiera).

What is this ?

This is a self-contained puppetmaster used for testing and education.

Whats inside ?

Everything is kept up-to-date during a build. The last time i refreshed mine, I got the following versions...

  • ubuntu 12.04 LTS
  • facter 1.7.4
  • hiera 1.3.1
  • puppet 3.4.2
  • puppetdb 1.6.2
  • puppet-dashboard 1.2.23
  • mysql-server 5.5.22

Using this to test your current puppet manifests and modules?

git clone your-puppet-repo/modules-and-manifests.git puppet
./up

How do i play use it ?

./up

How do i play use it ?

Build

docker build -t puppetmaster .

Example run:

CONTAINER_ID=$(docker run -h puppet -P -d puppetmaster)
chmod 0600 sshkey
PUPPET_SSHPORT=$(docker port $CONTAINER_ID 22 | cut -d: -f2)
ssh -i sshkey -p $PUPPET_SSHPORT root@localhost

Note: The sshkey and sshkey.pub are just for example. Replace with your own before using. These are used to access the SSH daemon on the container.

Once you generate new ssh keys, then you need to rebuild the container.

ssh-keygen -f sshkey

Note: you can trigger the puppetmaster to run the puppet agent is...

puppet agent -t`

Ports:

  • 22 (ssh)
  • 8140 (puppet - SSL)
  • 8080 (puppetdb - HTTP)
  • 8081 (puppetdb - HTTPS)
  • 3000 (dashboard - HTTP)

docker-puppetmaster's People

Contributors

clavisinsight avatar daniellawrence avatar ehazlett 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.