Vagrant files to automatically build a Puppet 3 + PuppetDB environment for testing and development
Puppet
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
puppetmaster
.gitmodules
README.md
Vagrantfile

README.md

Puppet environment for Vagrant

This Vagrant environment automatically install a Puppet 3 master in load balance mode, PuppetDB, Puppet Dashboard and MCollective.

Setup

  1. Install VirtualBox: https://www.virtualbox.org

  2. Download VirtualBox Guest Additions

    mkdir -p ~/vagrant/VBoxGuestAdditions && cd ~/vagrant/VBoxGuestAdditions
    wget http://dlc.sun.com.edgesuite.net/virtualbox/4.2.4/VBoxGuestAdditions_4.2.4.iso 
  3. Install Vagrant: http://vagrantup.com If you are on Vagrant 1.0.5 apply this fix https://github.com/mitchellh/vagrant/issues/1169)

  4. Clone the repository and install Vagrant plugins

    git clone git@github.com:fsalum/vagrant-puppet.git ~/vagrant/puppet
    vagrant gem install vagrant-hostmaster  
    vagrant gem install vagrant-vbguest
  5. Add the Base Boxes Download them from vagrant-basebox.

    vagrant box add 'squeeze64' squeeze64.box  
    vagrant box add 'centos63' centos63.box  
  6. Start the Puppet VM

    cd ~/vagrant/puppet  
    git submodule update --init  
    vagrant up
  7. Connect to the VM. (user/password: vagrant/vagrant)

    ssh vagrant@puppet1.puppet.test
    sudo tail -f /var/log/daemon.log

URLs

Dashboard: http://puppet1.puppet.test:8080
PuppetDB: http://puppetdb1.puppet.test:8080

Author

Felipe Salum fsalum@gmail.com