Skip to content
This repository has been archived by the owner on Sep 15, 2022. It is now read-only.

Commit

Permalink
Update Vagrantfile (#6)
Browse files Browse the repository at this point in the history
Signed-off-by: Ada-Codina <[email protected]>
  • Loading branch information
outzhu authored Nov 3, 2021
1 parent 1a3d878 commit aa05aed
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions Vagrantfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/focal64"
config.vm.network "forwarded_port", guest: 80, host: 8080

config.vm.provision "shell", inline: "sudo apt-get update && sudo apt-get install -y puppet"

config.vm.provision "shell", inline: <<-'SHELL'
wget https://apt.puppet.com/puppet7-release-focal.deb
sudo dpkg -i puppet7-release-focal.deb
sudo apt-get update
sudo apt-get install puppetserver -y
SHELL
config.vm.provision "puppet" do |puppet|
puppet.manifests_path = "puppet/manifests"
puppet.manifests_path = "manifests"
puppet.manifest_file = "site.pp"
end
end
end

0 comments on commit aa05aed

Please sign in to comment.