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

Commit

Permalink
use environment from node instead of hardcoding it
Browse files Browse the repository at this point in the history
  • Loading branch information
dwradcliffe committed Aug 13, 2014
1 parent 5ca83bc commit b493564
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Berksfile.lock
Expand Up @@ -251,7 +251,7 @@ GRAPH
rubygems-logging (0.0.5)
chef-vault (>= 0.0.0)
rsyslog (>= 0.0.0)
rubygems-metrics (0.0.6)
rubygems-metrics (0.0.7)
chef-vault (>= 0.0.0)
collectd (>= 0.0.0)
collectd-librato (>= 0.0.0)
Expand Down
2 changes: 1 addition & 1 deletion cookbooks/rubygems-metrics/metadata.rb
@@ -1,7 +1,7 @@
name 'rubygems-metrics'
maintainer 'RubyGems.org ops team'

version '0.0.6'
version '0.0.7'

depends 'chef-vault'
depends 'collectd'
Expand Down
Expand Up @@ -9,7 +9,7 @@ LoadPlugin postgresql
ValuesFrom count
</Result>
</Query>
<Database rubygems_production>
<Database rubygems_<%= node.chef_environment %>>
Host "localhost"
User "postgres"
Password "<%= @password %>"
Expand Down

0 comments on commit b493564

Please sign in to comment.