summaryrefslogtreecommitdiff
path: root/attributes
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2015-05-02 22:51:03 -0600
committermo khan <mo@mokhan.ca>2015-05-02 22:51:03 -0600
commit2eacf29ca2b13178a7a7ab61a75ac9ad59b03568 (patch)
treee854a99bede1290adda131605f168d3d70e4b555 /attributes
parent60d5f4bdeb4b44c7b01dca7bfaf2c76bace17b95 (diff)
test out unicorn recipe with test-kitchen.
Diffstat (limited to 'attributes')
-rw-r--r--attributes/default.rb11
1 files changed, 6 insertions, 5 deletions
diff --git a/attributes/default.rb b/attributes/default.rb
index 60b3950..de5cb16 100644
--- a/attributes/default.rb
+++ b/attributes/default.rb
@@ -41,11 +41,12 @@ default['capistrano']['env'] = {
},
newrelic_key: '',
}
-default['delayed_job'] = {
- username: node['user']['username'],
- current_path: "#{node['capistrano']['root_path']}/current",
- rails_env: node.chef_environment,
-}
+default[:delayed_job][:username] = node['user']['username']
+default[:delayed_job][:current_path] = "#{node['capistrano']['root_path']}/current"
+default[:delayed_job][:rails_env] = node.chef_environment
default[:nginx][:domain] = 'www.example.com'
default[:nginx][:current_path] = "#{node['capistrano']['root_path']}/current"
default[:nginx][:shared_path] = "#{node['capistrano']['root_path']}/shared_path"
+default[:unicorn][:username] = node['user']['username']
+default[:unicorn][:current_path] = "#{node['capistrano']['root_path']}/current"
+default[:unicorn][:rails_env] = node.chef_environment