diff --git a/README.md b/README.md index 0bd02284..5baad8a9 100644 --- a/README.md +++ b/README.md @@ -93,6 +93,12 @@ Installs and configures [Consul][1]. Domain for service lookup dns queries .consul + + ['consul']['enable_syslog'] + Boolean + enables logging to syslog + nil + ['consul']['log_level'] String diff --git a/metadata.rb b/metadata.rb index 19d6307a..227171c0 100644 --- a/metadata.rb +++ b/metadata.rb @@ -4,7 +4,7 @@ license 'Apache v2.0' description 'Installs/Configures consul' long_description 'Installs/Configures consul' -version '0.4.3' +version '0.4.4' recipe 'consul', 'Installs and starts consul service.' recipe 'consul::install_binary', 'Installs consul service from binary.' diff --git a/recipes/_service.rb b/recipes/_service.rb index f6e757c9..b85ffb8b 100644 --- a/recipes/_service.rb +++ b/recipes/_service.rb @@ -110,7 +110,7 @@ end copy_params = [ - :bind_addr, :datacenter, :domain, :log_level, :node_name, :advertise_addr + :bind_addr, :datacenter, :domain, :log_level, :node_name, :advertise_addr, :enable_syslog ] copy_params.each do |key| if node['consul'][key]