From 9b7ec933b095754a89166f4a181b94bf33b1f25c Mon Sep 17 00:00:00 2001 From: Florent Poinsaut Date: Thu, 3 May 2018 10:24:32 +0200 Subject: [PATCH] New Release v1.3.0 --- CHANGELOG.md | 8 ++++++++ {tests => examples}/check.pp | 0 {tests => examples}/init.pp | 0 metadata.json | 2 +- spec/spec.opts | 6 ------ spec/spec_helper.rb | 10 ++++++---- 6 files changed, 15 insertions(+), 11 deletions(-) rename {tests => examples}/check.pp (100%) rename {tests => examples}/init.pp (100%) delete mode 100644 spec/spec.opts diff --git a/CHANGELOG.md b/CHANGELOG.md index c525b71..ba98447 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## 2018-05-03 - Release 1.3.0 +### Summary + +This release adds support to Ubuntu Bionic and uses PDK 1.5.0. + +#### Features +- Added support to Ubuntu Bionic + ## 2018-01-26 - Release 1.2.0 ### Summary diff --git a/tests/check.pp b/examples/check.pp similarity index 100% rename from tests/check.pp rename to examples/check.pp diff --git a/tests/init.pp b/examples/init.pp similarity index 100% rename from tests/init.pp rename to examples/init.pp diff --git a/metadata.json b/metadata.json index a0bd638..93e11cf 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "soli-monit", - "version": "1.2.0", + "version": "1.3.0", "author": "Solution Libre SAS", "summary": "Puppet module to manage monit installation and configuration", "license": "Apache-2.0", diff --git a/spec/spec.opts b/spec/spec.opts deleted file mode 100644 index 91cd642..0000000 --- a/spec/spec.opts +++ /dev/null @@ -1,6 +0,0 @@ ---format -s ---colour ---loadby -mtime ---backtrace diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index e117192..c4c2ad5 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -28,9 +28,11 @@ RSpec.configure do |c| c.default_facts = default_facts - c.before :each do - # set to strictest setting for testing - # by default Puppet runs at warning level - Puppet.settings[:strict] = :warning + if Puppet.version.split('.').first.to_i > 3 + c.before :each do + # set to strictest setting for testing + # by default Puppet runs at warning level + Puppet.settings[:strict] = :warning + end end end