diff --git a/README.md b/README.md index a88822ff..f88ddb20 100644 --- a/README.md +++ b/README.md @@ -248,6 +248,12 @@ Installs and configures [Consul][1] client, server and UI. /etc/consul.d/cert.pem + + ['consul']['statsd_addr'] + String + This provides the address of a statsd instance (UDP). + nil + ### Databag Attributes (optional) diff --git a/recipes/_service.rb b/recipes/_service.rb index ce27353e..b41b5242 100644 --- a/recipes/_service.rb +++ b/recipes/_service.rb @@ -116,7 +116,7 @@ end copy_params = [ - :bind_addr, :datacenter, :domain, :log_level, :node_name, :advertise_addr, :ports, :enable_syslog + :bind_addr, :datacenter, :domain, :log_level, :node_name, :advertise_addr, :ports, :enable_syslog, :statsd_addr ] copy_params.each do |key| if node['consul'][key]