From fc3f30a2b73c1fb3afdae589b48fa5a8edf7eb0b Mon Sep 17 00:00:00 2001 From: root Date: Mon, 23 May 2022 09:41:22 -0400 Subject: [PATCH 1/2] Add package libtirpc install. Fix relationship ordering. --- manifests/init.pp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/manifests/init.pp b/manifests/init.pp index 92b47ad..ee62208 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -35,6 +35,15 @@ fail("Specified interfaces do not exist on host: ${bad_ifaces}") } + # Install the libtirpc package. + package {'libtirpc': + ensure => installed, + before => [ + File_line['netconfig-udp6'], + File_line['netconfig-tcp6'], + ] + } + # Only runs after notify exec { 'sysctl -p': command => 'cat /etc/sysctl.d/*.conf | sysctl -p -', From 0e487b32c3098bf846d24d1878197403603d592e Mon Sep 17 00:00:00 2001 From: Brian Schonecker Date: Tue, 5 Jul 2022 09:05:29 -0400 Subject: [PATCH 2/2] Add RHEL9 support. --- manifests/init.pp | 4 ++-- metadata.json | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index ee62208..f063cc4 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -20,7 +20,7 @@ case $facts['os']['family'] { 'RedHat': { case $facts['os']['release']['major'] { - '7', '8': { + '7', '8', '9': { # Following the second method, using sysctl # Validation @@ -113,7 +113,7 @@ } default: { - fail("linux_disable_ipv6 supports RedHat like systems with major release of 7/8 and you have ${facts['os']['release']['full']}") + fail("linux_disable_ipv6 supports RedHat like systems with major release of 7/8/9 and you have ${facts['os']['release']['full']}") } } } diff --git a/metadata.json b/metadata.json index f687c7d..ad364d5 100644 --- a/metadata.json +++ b/metadata.json @@ -18,7 +18,8 @@ "operatingsystem": "RedHat", "operatingsystemrelease": [ "7", - "8" + "8", + "9" ] } ],