diff options
-rw-r--r-- | Vagrantfile | 15 | ||||
-rw-r--r-- | manifests/vagrant.pp | 5 | ||||
-rwxr-xr-x | misc/mrconfig.sh (renamed from mrconfig.sh) | 2 | ||||
l--------- | puppet | 1 |
4 files changed, 22 insertions, 1 deletions
diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 0000000..ecf1c91 --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,15 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +Vagrant::Config.run do |config| + # Every Vagrant virtual environment requires a box to build off of. + config.vm.box = "wheezy" + + # Enable provisioning with Puppet stand alone. + config.vm.provision :puppet do |puppet| + puppet.manifest_file = "vagrant.pp" + puppet.manifests_path = "puppet/manifests" + puppet.module_path = "puppet/modules" + puppet.pp_path = "/etc/puppet" + end +end diff --git a/manifests/vagrant.pp b/manifests/vagrant.pp new file mode 100644 index 0000000..61bbc28 --- /dev/null +++ b/manifests/vagrant.pp @@ -0,0 +1,5 @@ +# Import main module +import "nodo" + +# Vagrant classes +include nodo::role::vagrant diff --git a/mrconfig.sh b/misc/mrconfig.sh index 3ea3646..043ea74 100755 --- a/mrconfig.sh +++ b/misc/mrconfig.sh @@ -7,7 +7,7 @@ GIT="git.sarava.org" URL="https://$GIT/?a=project_index" CWD="`pwd`" -WORK="`dirname $0`" +WORK="`dirname $0`/.." # Create a new config cd $WORK @@ -0,0 +1 @@ +.
\ No newline at end of file |