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

Commit aa05aed

Browse files
authored
Update Vagrantfile (#6)
Signed-off-by: Ada-Codina <[email protected]>
1 parent 1a3d878 commit aa05aed

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

Vagrantfile

+8-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
11
Vagrant.configure("2") do |config|
22
config.vm.box = "ubuntu/focal64"
33
config.vm.network "forwarded_port", guest: 80, host: 8080
4-
5-
config.vm.provision "shell", inline: "sudo apt-get update && sudo apt-get install -y puppet"
6-
4+
config.vm.provision "shell", inline: <<-'SHELL'
5+
wget https://apt.puppet.com/puppet7-release-focal.deb
6+
sudo dpkg -i puppet7-release-focal.deb
7+
sudo apt-get update
8+
sudo apt-get install puppetserver -y
9+
SHELL
710
config.vm.provision "puppet" do |puppet|
8-
puppet.manifests_path = "puppet/manifests"
11+
puppet.manifests_path = "manifests"
912
puppet.manifest_file = "site.pp"
10-
end
13+
end
1114
end

0 commit comments

Comments
 (0)