Puppet scripts for hdo-site
Puppet Ruby Shell
Pull request Compare This branch is 898 commits behind holderdeord:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
puppet
.gitignore
.gitmodules
README
Vagrantfile
test.sh

README

To test the configuration:

$ git checkout https://github.com/holderdeord/hdo-site.git ../hdo-site
$ [sudo] gem install vagrant
$ git submodule update --init
$ vagrant up
$ ssh -p 2222 vagrant@localhost "sudo mkdir /home/hdo/.ssh"
$ cat ~/.ssh/id_dsa.pub | ssh -p 2222 vagrant@localhost "sudo cat >> /home/hdo/.ssh/authorized_keys"
$ cd ../hdo-site
$ bundle install
$ VAGRANT=1 cap deploy

On the server as root:

$ apt-get install puppet git-core
$ git clone git://github.com/holderdeord/hdo-puppet.git
$ cd hdo-puppet
$ git submodule update --init
$ FACTER_mysql_root_password=t0ps3cret FACTER_mysql_hdo_password=s3cr3t puppet apply --modulepath=puppet/modules puppet/base.pp