Git Product home page Git Product logo

docker_puppet's Introduction

ARCHIVED

This repo has been archived. All new work will be done at the linked repo above.


docker_puppet

Requirements

Install each of the dependencies below:

Quickstart


Get pupperware

  • git clone https://github.com/puppetlabs/pupperware
  • cd pupperware

Note: All commands below are expected to be run from inside the pupperware directory.


Install customizations from this repo

  • export QS_REPO=https://github.com/andylytical/docker_puppet
  • #export QS_GIT_BRANCH=branch_name (optional - specify a branch other than master)
  • curl https://raw.githubusercontent.com/andylytical/quickstart/master/quickstart.sh | bash

Review .env settings

  • vim .env

Start puppetserver

  • docker-compose up -d
  • Ensure all containers are started and healthy
    • watch "docker-compose ps"
      • Press Ctl-c to exit "watch" when all containers are healthy

Sample output when all containers are started and healthy:

       Name                       Command                  State               Ports
------------------------------------------------------------------------------------------------
pupperware_postgres_1   docker-entrypoint.sh postgres    Up (healthy)   5432/tcp
pupperware_puppet_1     dumb-init /docker-entrypoi ...   Up (healthy)   0.0.0.0:8140->8140/tcp
pupperware_puppetdb_1   dumb-init /docker-entrypoi ...   Up (healthy)   0.0.0.0:32779->8080/tcp,
                                                                        0.0.0.0:32778->8081/tcp

Configure ENC

  • Review enc table layout
    • vim server/enc/tables.yaml
  • Review enc config
    • vim server/enc/config.ini
  • Install enc in the container
    • server/enc/setup.sh
  • Verify enc setup
    • bin/enc_adm -l
    • bin/enc_adm --help

See also: ncsa/puppetserver-enc


Configure R10K

  • Review r10k configuration
    • vim server/r10k/r10k.yaml
  • Review r10k wrapper configuration
    • vim server/r10k/config.ini
  • Apply r10k config in the container
    • server/r10k/setup.sh
  • Verify r10k can access all the repos in it's config
  • Run R10K
    • bin/r10k
    • No output means successful run. In the case of errors, view latest log file with:
      • bin/r10k_log

Other Actions

docker_puppet's People

Contributors

andylytical avatar billglick avatar nicosingh avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

docker_puppet's Issues

Add HOME/pupperware/bin to PATH

Might want to create a pupperware.sh script to be "source"'d

During setup.sh:

  • put it in .bashrc.d
  • Ensure .bashrc.d is invoked from .bashrc

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.