Giter Club home page Giter Club logo

vagrant-puppetmaster's Introduction

vagrant-puppetmaster

I am looking for a new maintainer for this. I now use Docker for my test environments, so haven't used this for over a year. No further updates will be made by me.

This is a Vagrantfile for running a testing setup for Puppet. It includes a Puppet Master, Puppet Dashboard and PuppetDB. No idea what Vagrant is?

  • Install VirtualBox
  • Install Vagrant
  • cd to the cloned directory
  • Type in vagrant up to your terminal window
  • Profit

If you get errors about PuppetDB not starting, issue a vagrant provision.

Why?

I wanted a full Puppet test environment that I could create and destroy easily. Vagrant gives me that.

The headlines

IP Address192.168.33.10
Dashboard URLhttp://192.168.33.10:3000
Put your manifests in:puppet/manifests
Put your modules in:puppet/modules
If you are using Hiera edit:puppet/hiera.yaml
Put your Hiera data in:puppet/hieradata

A bit more detail on what’s going on

Puppet

This will set up the latest version of Puppet running as a master using the built in webbrick server. This is fine for testing, but this (amongst other reasons outlined below) makes it unsuitable for use in production.

Place your manifests and modules in puppet/manifests and puppet/modules respectively.

The server has the IP address 192.168.33.10 - if your LAN runs on this subnet, make sure you change it in the Vagrantfile.

Other tweaks have been made to the configuration to make it more suitable for testing than the standard configuration:

  • Autosigning is enabled for any host
  • Any client can revoke a certificate (useful when re-deploying a client for example)

These should be locked down to trusted hosts if using these techniques in production.

Puppet Dashboard

The Dashboard can be accessed at http://192.168.33.10:3000. This also runs using webbrick, which makes it unsuitable for a large scale deployment.

PuppetDB

PuppetDB is configured and provides the inventory service in the Dashboard.

vagrant-puppetmaster's People

Contributors

grahamgilbert avatar andersbs avatar micsi avatar sennerholm avatar bryant1410 avatar thomasleyer 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.