diff options
| author | mo khan <mo@mokhan.ca> | 2015-05-02 22:04:22 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2015-05-02 22:04:22 -0600 |
| commit | 065372b3a59cac7b3cac294ac47cc9db90709ac7 (patch) | |
| tree | c4aa92831001a6a7fd070323cb95798ebf88af63 /attributes | |
| parent | 97b041d0db1028e8c9df9beb5413b777313056f5 (diff) | |
add defaults for delayed_job recipe.
Diffstat (limited to 'attributes')
| -rw-r--r-- | attributes/default.rb | 6 |
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, +} |
