Skip to content

padrien33/tse-demo-vagrant-stack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vagrant Puppet Enterprise Stack

Table of Contents

  1. Overview
  2. Prerequisites
  3. Puppet Master Setup

Overview

This project provides a demo environment for running a Puppet master and several agents.

Prerequisites

This tool is built on top of a few different technologies, mainly VirtualBox and Vagrant, so you'll need to ensure that those are present before you continue. You'll also need to have the Git tools installed to checkout the repository.

  1. Install Virtual Box.
  2. Install Vagrant.
  3. Install the required Vagrant plugins:
  • $ vagrant plugin install oscar
  • $ vagrant plugin install vagrant-hosts
  • $ vagrant pluing install vagrant-reload
  • $ vagrant plugin install vagrant-multiprovider-snap (optional, but you won't have snapshot functionality if you don't install it)

In addition, keep in mind the raw cpu and memory requirements. The master is 2CPU and 8G of memory.

Puppet Master Setup

Quickstart

After getting the pre-reqs setup, run scripts/init.sh. This will stand up the master and all configured agents. For all agents, the will be snapshotted after provisioning and then shutdown. The master will be left running. To complete the setup run vagrant hosts list and update your hosts file.

The new master is already fully deployed, running with a hostname of master.inf.puppet.vm. In additon, an internal Git server is running on the new master.

Links

Credentials

SSH:

  • vagrant ssh /master/

Enterprise Console:

  • user: admin
  • password: puppetlabs

Git Server:

  • user: puppet
  • password: puppetlabs

Next Steps

Once the master is up and running, you'll need to add your license key to the master. Optionally, login to the Git server (here) and update the puppet users ssh keys with your own public so that you can make updates to the control-repo. Code manager deployments will not work successfully until you add a license key because there are some PE only modules in use.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 56.4%
  • PowerShell 43.6%