diff options
| author | mo khan <mo@mokhan.ca> | 2015-05-02 22:51:03 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2015-05-02 22:51:03 -0600 |
| commit | 2eacf29ca2b13178a7a7ab61a75ac9ad59b03568 (patch) | |
| tree | e854a99bede1290adda131605f168d3d70e4b555 /attributes | |
| parent | 60d5f4bdeb4b44c7b01dca7bfaf2c76bace17b95 (diff) | |
test out unicorn recipe with test-kitchen.
Diffstat (limited to 'attributes')
| -rw-r--r-- | attributes/default.rb | 11 |
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 |
