Skip to content

Latest commit

 

History

History
61 lines (43 loc) · 1.46 KB

README.md

File metadata and controls

61 lines (43 loc) · 1.46 KB

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 hashicorp/vagrant#1169)

  4. Clone the repository and install Vagrant plugins

    git clone [email protected]: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 [email protected]
    sudo tail -f /var/log/daemon.log

URLs

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

Author

Felipe Salum [email protected]