Giter Club home page Giter Club logo

vagrant-puppet6-clientserver's Introduction

vagrant-puppet6-clientserver

Vagrant file and provisioning scripts for a Puppet 6 server and client

Intended purpose

These scripts configure a local Puppet 6 server VM and a VM running the Puppet 6 agent. These VMs can be used for local testing of Puppet modules. PuppetDB and Puppetboard are also installed on the puppet master. The default Puppetboard URL is: http://192.168.2.6:5000

The provisioning script for the puppet master is not suitable for configuring a publically accessible server, because of settings that would be insecure on a nonlocal environment. For example, the puppet master is configured with autosigning enabled, and access to Puppetboard is not secured.

System requirements

This Vagrantfile has been tested with Vagrant 2.0.2. It requires the vagrant-env plugin, which can be installed with: vagrant plugin install vagrant-env

Vagrant requires approximately 4 to 5 GB of memory for the basic configuration. By default, the server VM is assigned up to 4 GB and the client VM is assigned up to 2 GB. If you're testing an application stack on the client VM, you might have to increase the amount of assigned memory in the .env file.

Supported client distributions

  • CentOS 6
  • CentOS 7
  • Ubuntu 16.04 LTS
  • Ubuntu 18.04 LTS

Usage

  • Optionally customize the configuration in the .env file
  • vagrant up

Scripts provided

On the host:

  • redeploy-client: destroys and re-deploys the client VM. Useful for redeploying the client VM after changes in the .env file.

On the server:

  • vldt : validates Puppet DSL, Hiera YAML and ERB files

On the client:

  • puprun: performs a puppet agent run (shorthand for: sudo /opt/puppetlabs/bin/puppet agent -t)

vagrant-puppet6-clientserver's People

Contributors

stsnel avatar

Watchers

 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.