From 630efc39191b5eeaed751f0306d45d69d460c133 Mon Sep 17 00:00:00 2001 From: Arjen de Rijke Date: Thu, 2 Dec 2021 12:57:48 +0100 Subject: [PATCH] Update interface.pp get it to work on puppet 7 --- manifests/interface.pp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/manifests/interface.pp b/manifests/interface.pp index cd0e7ae..add5e44 100644 --- a/manifests/interface.pp +++ b/manifests/interface.pp @@ -50,7 +50,7 @@ case $interface_type { ethernet: { - ifcfg_file {"interface_${device}": + networkmanager::ifcfg_file {"interface_${device}": device => $device, nm_controlled => $nm_controlled, hwaddr => $hwaddr, @@ -77,7 +77,7 @@ } } infiniband: { - ifcfg_file {"interface_${device}": + networkmanager::ifcfg_file {"interface_${device}": device => $device, nm_controlled => $nm_controlled, hwaddr => $hwaddr, @@ -104,7 +104,7 @@ } } bridge: { - ifcfg_file {"interface_${device}": + networkmanager::ifcfg_file {"interface_${device}": device => $device, nm_controlled => $nm_controlled, hwaddr => $hwaddr, @@ -131,7 +131,7 @@ bridge => $bridge, } - ifcfg_file {"interface_${bridge}": + networkmanager::ifcfg_file {"interface_${bridge}": device => $bridge, nm_controlled => $nm_controlled, hwaddr => $hwaddr,