forked from osulp/Room-Reservation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ValleyFile
47 lines (47 loc) · 1.48 KB
/
ValleyFile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
config.vm.box = "Ubuntu Server 12.04 Chef"
config.vm.box_url = "https://dl.dropbox.com/u/1543052/Boxes/UbuntuServer12.04amd64.box"
config.vm.forward_port 8000,80
config.vm.forward_port 9000,9000
chefjson = {
"mysql" => {
"server_root_password" => "vagrant",
"server_repl_password" => "vagrant",
"server_debian_password" => "vagrant"
},
:project => {
:name => "roomreservation",
:environment => {
"ROOMRES_DB_PREFIX" => "roomreservation",
"ROOMRES_DB_USERNAME" => "root",
"ROOMRES_DB_PASSWORD" => "vagrant",
"ROOMRES_DB_HOST" => "localhost",
"SPRING_TMP_PATH" => "/tmp"
},
#Relative to /vagrant.
:docroot => "/public",
:railsenv => "development",
:packages => %w{libyaml-dev libxml2 libxml2-dev libxslt1.1 libxslt1-dev libicu-dev nodejs memcached redis-server}
},
"rvm" => {
"default_ruby" => "ruby-2.0.0-p247",
"user_default_ruby" => "ruby-2.0.0-p247",
"rvmrc" => {
"rvm_gemset_create_on_use_flag" => 1,
"rvm_install_on_use_flag" => 1,
"rvm_trust_rvmrcs_flag" => 1
}
},
:passenger => {
:rvm_ruby_version => "ruby-2.0.0-p247",
:version => "4.0.19",
:max_pool_size => 1,
:module_path => "/usr/local/rvm/gems/ruby-2.0.0-p247@global/gems/passenger-4.0.19/buildout/apache2/mod_passenger.so"
},
"phantomjs" => {
"version" => "1.9.0"
},
"apache" => {
"listen_ports" => ["80","8000"]
}
}
recipes = ["apt","phantomjs","main","mariadb::server","main::sendmail","main::rails"]