Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.35 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.35 KB

Razor-vagrant-puppet-puppetdb-demo

Original Idea

This demo is based on [razor-vagrant-demo] (https://github.com/benburkert/razor-vagrant-demo/).

Step 1: Setup

First install virtual box

Then ensure that the the extension pack is installed:

http://download.virtualbox.org/virtualbox/4.1.18/Oracle_VM_VirtualBox_Extension_Pack-4.1.18-78361.vbox-extpacks

It is unlikely that your virtualbox virtual machines will be able to PXE boot if the extension pack is not installed.

Step 2: Gems

Install the following gems

  • Vagrant
  • librarian-puppet

Step 3: Launch the machines

Start the virtual machines this will take a long time the first time.

  • For just razor
    • cd env/razor && rake setup && vagrant up
  • For razor / puppet / puppetdb
    • cd env/full-noosimage && rake setup && vagrant up
  • For razor / puppet / puppetdb and ubuntu razor policy and image
    • cd env/full-ubuntu-image && rake setup && vagrant up
    • Root password for the newly installed machines will be "puppet"

Step 5: Update puppet manifest

The provision.pp only contains information for master, create your own site.pp and include what you need for the clients.

Step 6: Os images

Once the virtual machines have booted they will be ready to install. Add the razor os images and polices you need. [razor-howto] (https://github.com/puppetlabs/Razor/wiki/)