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 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