diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2020-10-01 15:02:47 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2020-10-01 15:02:47 -0300 |
commit | 765ca2bd25384c3d33d243a5b2f0aa419edcd8fa (patch) | |
tree | b59aa15319607ea45ba83516628539b420d8841b /puppet/Vagrantfile | |
parent | b0d7b1d90860f858578455c5cf695c062c0ade07 (diff) | |
parent | c212514035cffd38acbfac1413064937b28685b6 (diff) | |
download | semanticscuttle-765ca2bd25384c3d33d243a5b2f0aa419edcd8fa.tar.gz semanticscuttle-765ca2bd25384c3d33d243a5b2f0aa419edcd8fa.tar.bz2 |
Merge commit 'c212514035cffd38acbfac1413064937b28685b6' as 'puppet'
Diffstat (limited to 'puppet/Vagrantfile')
-rw-r--r-- | puppet/Vagrantfile | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/puppet/Vagrantfile b/puppet/Vagrantfile new file mode 100644 index 0000000..b5cd7f6 --- /dev/null +++ b/puppet/Vagrantfile @@ -0,0 +1,29 @@ +# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! +VAGRANTFILE_API_VERSION = "2" + +Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| + # Every Vagrant virtual environment requires a box to build off of. + config.vm.box = "jessie" + + # Hostname + config.vm.hostname = "box.example.org" + + # Shell provisioner to setup basic environment. + config.vm.provision :shell, :inline => "/vagrant/puppet/bin/provision" + + # Enable provisioning with Puppet stand alone. + config.vm.provision :puppet do |puppet| + puppet.manifest_file = "bootstrap/vagrant.pp" + puppet.manifests_path = "puppet/manifests" + puppet.module_path = "puppet/modules" + puppet.hiera_config_path = "puppet/hiera.yaml" + puppet.temp_dir = "/etc/puppet" + puppet.working_directory = "/etc/puppet" + end + + # Share hiera configuration. + config.vm.synced_folder "puppet/config", "/etc/puppet/config" + + # Forwarded ports + #config.vm.network "forwarded_port", guest: 80, host: 8081 +end |