Skip to content
This repository has been archived by the owner on Jul 11, 2020. It is now read-only.

Commit

Permalink
move config files to config dir
Browse files Browse the repository at this point in the history
dwradcliffe committed May 18, 2015
1 parent cfaef46 commit d5d22ae
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Berksfile.lock
Original file line number Diff line number Diff line change
@@ -232,7 +232,7 @@ GRAPH
rubygems-sensu (>= 0.0.0)
rubygems-ssh (>= 0.0.0)
rubygems-utility (>= 0.0.0)
rubygems-app (0.0.48)
rubygems-app (0.0.49)
apt (>= 0.0.0)
chef-vault (>= 0.0.0)
datadog (>= 0.0.0)
2 changes: 1 addition & 1 deletion cookbooks/rubygems-app/metadata.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name 'rubygems-app'

version '0.0.48'
version '0.0.49'

depends 'apt'
depends 'chef-vault'
4 changes: 2 additions & 2 deletions cookbooks/rubygems-app/recipes/config.rb
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@
secrets = chef_vault_item('rubygems', node.chef_environment)
db_host = search(:node, "name:#{dbhost}.#{node.chef_environment}.rubygems.org")[0]

template '/applications/rubygems/shared/database.yml' do
template '/applications/rubygems/shared/config/database.yml' do
source 'database.yml.erb'
owner 'deploy'
group 'deploy'
@@ -25,7 +25,7 @@
)
end

template '/applications/rubygems/shared/secret.rb' do
template '/applications/rubygems/shared/config/secret.rb' do
source 'secret.rb.erb'
owner 'deploy'
group 'deploy'

0 comments on commit d5d22ae

Please sign in to comment.