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

Commit b493564

Browse files
committedAug 13, 2014
use environment from node instead of hardcoding it
1 parent 5ca83bc commit b493564

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
 

‎Berksfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ GRAPH
251251
rubygems-logging (0.0.5)
252252
chef-vault (>= 0.0.0)
253253
rsyslog (>= 0.0.0)
254-
rubygems-metrics (0.0.6)
254+
rubygems-metrics (0.0.7)
255255
chef-vault (>= 0.0.0)
256256
collectd (>= 0.0.0)
257257
collectd-librato (>= 0.0.0)

‎cookbooks/rubygems-metrics/metadata.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name 'rubygems-metrics'
22
maintainer 'RubyGems.org ops team'
33

4-
version '0.0.6'
4+
version '0.0.7'
55

66
depends 'chef-vault'
77
depends 'collectd'

‎cookbooks/rubygems-metrics/templates/default/postgresql.conf.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ LoadPlugin postgresql
99
ValuesFrom count
1010
</Result>
1111
</Query>
12-
<Database rubygems_production>
12+
<Database rubygems_<%= node.chef_environment %>>
1313
Host "localhost"
1414
User "postgres"
1515
Password "<%= @password %>"

0 commit comments

Comments
 (0)