Last active
August 29, 2015 14:12
-
-
Save umireon/2d45cd9d0a9d020262ca to your computer and use it in GitHub Desktop.
Install Atlassian Stash into Vagrant with Chef
This file contains hidden or 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
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "chef/centos-6.5" | |
config.vm.provision 'chef_zero' do |chef| | |
chef.cookbooks_path = 'berks-cookbooks' | |
chef.add_recipe 'java' | |
chef.add_recipe 'stash' | |
chef.json = { | |
java: { | |
jdk_version: 7 | |
}, | |
stash: { | |
database: { | |
type: 'postgresql', | |
port: 5432 | |
} | |
}, | |
postgresql: { | |
password: { | |
postgres: 'super_secret' | |
} | |
} | |
} | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment