From f09f6c9510bc115aec421ba04ee8fa111e178573 Mon Sep 17 00:00:00 2001 From: Eric Kuiper Date: Sat, 2 May 2020 20:18:38 +0200 Subject: [PATCH 1/2] Removing the v in the version --- libraries/helpers.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/helpers.rb b/libraries/helpers.rb index 4d4903e..9e047f0 100644 --- a/libraries/helpers.rb +++ b/libraries/helpers.rb @@ -17,7 +17,7 @@ def telegraf_installed_version query = '' end - matches = /^Telegraf v(?(\d+\.)?(\d+\.)?(\*|\d+)).*/.match(query) + matches = /^Telegraf (?(\d+\.)?(\d+\.)?(\*|\d+)).*/.match(query) matches ? Gem::Version.new(matches[:version]) : Gem::Version.new('0.0.0') end end From 34727dc88d99df1d3395e8b8e887dedacf021c89 Mon Sep 17 00:00:00 2001 From: Eric Kuiper Date: Mon, 4 May 2020 15:32:15 +0200 Subject: [PATCH 2/2] bump version --- metadata.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metadata.rb b/metadata.rb index 225519b..44a2443 100644 --- a/metadata.rb +++ b/metadata.rb @@ -4,7 +4,7 @@ license 'Apache-2.0' description 'Installs/Configures telegraf' long_description 'Installs/Configures telegraf' -version '0.12.0' +version '0.12.1002' source_url 'https://github.com/NorthPage/telegraf-cookbook' issues_url 'https://github.com/NorthPage/telegraf-cookbook/issues'