roles
This commit is contained in:
11
Vagrantfile
vendored
11
Vagrantfile
vendored
@ -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
|
||||
|
Reference in New Issue
Block a user