Skip to content
This repository has been archived by the owner on Jan 27, 2019. It is now read-only.

Commit

Permalink
Rename revision attribute to reference
Browse files Browse the repository at this point in the history
  • Loading branch information
russellcardullo committed Aug 26, 2013
1 parent f05c5c5 commit 8b85eaa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Installs and configures StatsD.
* `node["statsd"]["dir"]` - Directory to install into.
* `node["statsd"]["conf_dir"]` - Directory for StatsD configuration.
* `node["statsd"]["repository"]` - Reference to a StatsD repository.
* `node["statsd"]["revision"]` - Revision of repository to checkout.
* `node["statsd"]["reference"]` - Revision of repository to checkout.
* `node["statsd"]["log_file"]` - Path to the StatsD log file.
* `node["statsd"]["flush_interval"]` - Flush interval in milliseconds.
* `node["statsd"]["percent_threshold"]` - Nth percentile value(s). Single value or array.
Expand Down
2 changes: 1 addition & 1 deletion attributes/default.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
default["statsd"]["dir"] = "/usr/share/statsd"
default["statsd"]["conf_dir"] = "/etc/statsd"
default["statsd"]["repository"] = "http://github.com/etsy/statsd.git"
default["statsd"]["revision"] = "master"
default["statsd"]["reference"] = "master"
default["statsd"]["flush_interval"] = 10000
default["statsd"]["percent_threshold"] = 90
default["statsd"]["address"] = "0.0.0.0"
Expand Down
2 changes: 1 addition & 1 deletion recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

git node["statsd"]["dir"] do
repository node["statsd"]["repository"]
reference node["statsd"]["revision"]
reference node["statsd"]["reference"]
action :sync
notifies :restart, "runit_service[statsd]"
end
Expand Down

0 comments on commit 8b85eaa

Please sign in to comment.