From 3844897ebb79e91f5728012a40ee0cde4422ae57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=E1=B4=80=CA=99=C9=AA=E1=B4=87=C9=B4=20W=E1=B4=87=CA=80?= =?UTF-8?q?=C9=B4=CA=9F=C9=AA?= Date: Wed, 19 Feb 2020 09:34:10 +0100 Subject: [PATCH] add support for el8 --- metadata.json | 3 ++- spec/classes/config_spec.rb | 6 ++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/metadata.json b/metadata.json index f6f6982..cfbc371 100644 --- a/metadata.json +++ b/metadata.json @@ -19,7 +19,8 @@ "operatingsystemrelease": [ "5", "6", - "7" + "7", + "8" ] }, { diff --git a/spec/classes/config_spec.rb b/spec/classes/config_spec.rb index 7df14fe..f002bd5 100644 --- a/spec/classes/config_spec.rb +++ b/spec/classes/config_spec.rb @@ -45,6 +45,12 @@ ' ],', ]) end + when '8' + it { + is_expected.to contain_file('/usr/share/perl5/vendor_perl/CPAN/Config.pm').with_owner('root') + is_expected.to contain_file('/usr/share/perl5/vendor_perl/CPAN/Config.pm').with_group('root') + is_expected.to contain_file('/usr/share/perl5/vendor_perl/CPAN/Config.pm').with_mode('0644') + } end end end