From 88ef0eeb7e2689c267ba1f4c2f184845d894bc64 Mon Sep 17 00:00:00 2001 From: James DeFelice Date: Tue, 14 Oct 2014 20:35:04 +0000 Subject: [PATCH 1/5] add support for enable_syslog parameter --- recipes/_service.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] From b5f45f3a555ad78c1b9b382d85818299897d51c8 Mon Sep 17 00:00:00 2001 From: James DeFelice Date: Tue, 14 Oct 2014 21:00:10 +0000 Subject: [PATCH 2/5] bumped version to 0.4.4 --- metadata.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.' From 575c11e1a5bc9e632f5a51dfe267e1a6883b946d Mon Sep 17 00:00:00 2001 From: James DeFelice Date: Tue, 14 Oct 2014 21:23:03 +0000 Subject: [PATCH 3/5] changed source to berkshelf since i am making local changes and do not want to pull this from supermarket --- Berksfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Berksfile b/Berksfile index ab60e37a..6f96d7e5 100644 --- a/Berksfile +++ b/Berksfile @@ -1,3 +1,4 @@ -source 'https://supermarket.getchef.com' +#source 'https://supermarket.getchef.com' +source 'https://api.berkshelf.com' metadata From 09140dbc18f2317a3ed32ed69e72642856bc9152 Mon Sep 17 00:00:00 2001 From: James DeFelice Date: Tue, 14 Oct 2014 22:00:16 +0000 Subject: [PATCH 4/5] added enable_syslog docs --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) 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 From ff95176dc7fa28403f494c28658bfcf50446be75 Mon Sep 17 00:00:00 2001 From: James DeFelice Date: Tue, 14 Oct 2014 22:02:22 +0000 Subject: [PATCH 5/5] reverted unneeded change to source --- Berksfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Berksfile b/Berksfile index 6f96d7e5..ab60e37a 100644 --- a/Berksfile +++ b/Berksfile @@ -1,4 +1,3 @@ -#source 'https://supermarket.getchef.com' -source 'https://api.berkshelf.com' +source 'https://supermarket.getchef.com' metadata