Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Commit

Permalink
Fixed deploy environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Rzegocki committed Apr 25, 2016
1 parent a32b410 commit bf843aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion recipes/deploy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
user node['deployer']['user'] || 'root'
group www_group
rollback_on_error true
environment framework.out[:deploy_environment]
environment application['environment'].merge(framework.out[:deploy_environment])

keep_releases deploy[:keep_releases]
create_dirs_before_symlink(
Expand Down
1 change: 1 addition & 0 deletions spec/unit/recipes/deploy_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
revision: 'master',
scm_provider: Chef::Provider::Git,
enable_submodules: false,
environment: aws_opsworks_app['environment'].merge('RAILS_ENV' => 'production'),
ssh_wrapper: '/tmp/ssh-git-wrapper.sh',
symlinks: {
'system' => 'public/system',
Expand Down

0 comments on commit bf843aa

Please sign in to comment.