summaryrefslogtreecommitdiff
path: root/attributes
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2015-05-02 22:04:22 -0600
committermo khan <mo@mokhan.ca>2015-05-02 22:04:22 -0600
commit065372b3a59cac7b3cac294ac47cc9db90709ac7 (patch)
treec4aa92831001a6a7fd070323cb95798ebf88af63 /attributes
parent97b041d0db1028e8c9df9beb5413b777313056f5 (diff)
add defaults for delayed_job recipe.
Diffstat (limited to 'attributes')
-rw-r--r--attributes/default.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/attributes/default.rb b/attributes/default.rb
index e4e54c4..c85b791 100644
--- a/attributes/default.rb
+++ b/attributes/default.rb
@@ -41,4 +41,8 @@ default['capistrano']['env'] = {
},
newrelic_key: '',
}
-default['delayed_job']['username'] = default['user']['username']
+default['delayed_job'] = {
+ username: default['user']['username'],
+ current_path: "#{default['capistrano']['root_path']}/current",
+ rails_env: node.chef_environment,
+}