Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
Vagrant::Config.run do |config| | ||
# All Vagrant configuration is done here. The most common configuration | ||
# options are documented and commented below. For a complete reference, | ||
# please see the online documentation at vagrantup.com. | ||
|
||
# Every Vagrant virtual environment requires a box to build off of. | ||
config.vm.box = "precise32" | ||
config.vm.box_url = "http://files.vagrantup.com/precise32.box" | ||
|
||
# Share an additional folder to the guest VM. The first argument is | ||
# an identifier, the second is the path on the guest to mount the | ||
# folder, and the third is the path on the host to the actual folder. | ||
config.vm.share_folder "git", "git", ".." | ||
|
||
config.vm.provision :chef_solo do |chef| | ||
chef.cookbooks_path = "cookbooks" | ||
chef.roles_path = "roles" | ||
chef.data_bags_path = "data_bags" | ||
chef.add_role "base" | ||
# chef.json = { :mysql_password => "foo" } | ||
end | ||
end | ||
# vi: set ft=ruby : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "base", | ||
"chef_type": "role", | ||
"json_class": "Chef::Role", | ||
"description": "Base role", | ||
"run_list": [ | ||
"recipe[build-essential]", | ||
"recipe[apt]", | ||
"recipe[vim]", | ||
"recipe[git]" | ||
] | ||
} |