From b656fc0024214bc852ebbde68724e8ecff3bda83 Mon Sep 17 00:00:00 2001 From: Jordi Prats Date: Mon, 5 Aug 2019 14:24:47 +0200 Subject: [PATCH 1/2] typo --- templates/autobanner.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/autobanner.erb b/templates/autobanner.erb index e0bd545..dfd2892 100644 --- a/templates/autobanner.erb +++ b/templates/autobanner.erb @@ -36,7 +36,7 @@ conditions stated in this warning. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% <% end -%> <% end -%> -<% if @include_puppet_managed -%> +<% if @include_puppet_managed_server -%> ******************************************************************************** puppet managed server From e779c4e3243ef91645e6ba4f8fe108026c0f24aa Mon Sep 17 00:00:00 2001 From: Jordi Prats Date: Mon, 5 Aug 2019 14:26:07 +0200 Subject: [PATCH 2/2] bugfix --- CHANGELOG.md | 4 ++++ metadata.json | 2 +- spec/acceptance/base_spec.rb | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d3030a5..a1fbb12 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # CHANGELOG +## 0.1.19 + +* bugfix **eyplib::autobanner** + ## 0.1.18 * added fact **eypconf_description** diff --git a/metadata.json b/metadata.json index d120a53..62b5e7b 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "eyp-eyplib", - "version": "0.1.18", + "version": "0.1.19", "author": "eyp", "summary": "Utility functions for puppet modules", "license": "Apache-2.0", diff --git a/spec/acceptance/base_spec.rb b/spec/acceptance/base_spec.rb index fe251a5..599484c 100644 --- a/spec/acceptance/base_spec.rb +++ b/spec/acceptance/base_spec.rb @@ -31,6 +31,7 @@ class { 'eyplib::autobanner': } describe file('/opt/eypconf/autobanner') do it { should be_file } its(:content) { should match 'ACCEPTANCE TESTING' } + its(:content) { should match 'puppet managed server' } end end context 'legal setup' do