Skip to content

Instantly share code, notes, and snippets.

@umireon
Last active August 29, 2015 14:12
Show Gist options
  • Save umireon/2d45cd9d0a9d020262ca to your computer and use it in GitHub Desktop.
Save umireon/2d45cd9d0a9d020262ca to your computer and use it in GitHub Desktop.
Install Atlassian Stash into Vagrant with Chef
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