From 6232cd01964ced8436892dc854769f0aa836aeb9 Mon Sep 17 00:00:00 2001 From: Jan Vansteenkiste Date: Thu, 27 Feb 2020 10:12:36 +0100 Subject: [PATCH 1/2] Explicitly unset the ipaddress6 fact Not sure when this behavior changed... --- spec/classes/init_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/classes/init_spec.rb b/spec/classes/init_spec.rb index 5ca3914..3b1ebf1 100644 --- a/spec/classes/init_spec.rb +++ b/spec/classes/init_spec.rb @@ -6,6 +6,7 @@ describe 'ssh' do :fqdn => 'monkey.example.com', :hostname => 'monkey', :ipaddress => '127.0.0.1', + :ipaddress6 => nil, :lsbmajdistrelease => '6', :operatingsystemrelease => '6.7', :osfamily => 'RedHat', From 07ec93fc919a6fd882ac8db67c67b1662503b378 Mon Sep 17 00:00:00 2001 From: Jan Vansteenkiste Date: Thu, 27 Feb 2020 14:13:38 +0100 Subject: [PATCH 2/2] Stay with the old relative includes for now --- Rakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Rakefile b/Rakefile index 93b6400..d49cd0b 100644 --- a/Rakefile +++ b/Rakefile @@ -2,6 +2,7 @@ require 'puppetlabs_spec_helper/rake_tasks' require 'puppet-lint/tasks/puppet-lint' PuppetLint.configuration.send('disable_80chars') PuppetLint.configuration.send('disable_140chars') +PuppetLint.configuration.send('disable_relative_classname_inclusion') PuppetLint.configuration.relative = true PuppetLint.configuration.ignore_paths = ['spec/**/*.pp', 'pkg/**/*.pp', 'vendor/**/*.pp']