This commit is contained in:
2019-05-14 17:53:35 -04:00
parent db1ddf6f47
commit 87f1cc3c24
5 changed files with 19 additions and 43 deletions

11
Vagrantfile vendored
View File

@ -23,7 +23,7 @@ Vagrant.configure("2") do |config|
# within the machine from a port on the host machine. In the example below,
# accessing "localhost:8080" will access port 80 on the guest machine.
# NOTE: This will enable public access to the opened port
# config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.network "forwarded_port", guest: 3000, host: 8080
# Create a forwarded port mapping which allows access to a specific port
# within the machine from a port on the host machine and only allow access
@ -69,7 +69,12 @@ Vagrant.configure("2") do |config|
# SHELL
config.vm.provision "chef_solo" do |chef|
chef.cookbooks_path = "/vagrant/cookbooks/"
chef.add_recipe "hosting::user"
chef.version = "14.12.3" # version 14.12.9 fails to run
chef.cookbooks_path = "cookbooks/"
chef.roles_path = "roles"
chef.add_role("gitea")
# chef.add_recipe "hosting::user"
# chef.add_recipe "hosting::mkdir"
# chef.add_recipe "hosting::postgress"
end
end