Skip to content

Commit

Permalink
Update interface.pp
Browse files Browse the repository at this point in the history
get it to work on puppet 7
  • Loading branch information
arjenderijke authored Dec 2, 2021
1 parent 7467cc1 commit 630efc3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions manifests/interface.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -77,7 +77,7 @@
}
}
infiniband: {
ifcfg_file {"interface_${device}":
networkmanager::ifcfg_file {"interface_${device}":
device => $device,
nm_controlled => $nm_controlled,
hwaddr => $hwaddr,
Expand All @@ -104,7 +104,7 @@
}
}
bridge: {
ifcfg_file {"interface_${device}":
networkmanager::ifcfg_file {"interface_${device}":
device => $device,
nm_controlled => $nm_controlled,
hwaddr => $hwaddr,
Expand All @@ -131,7 +131,7 @@
bridge => $bridge,
}

ifcfg_file {"interface_${bridge}":
networkmanager::ifcfg_file {"interface_${bridge}":
device => $bridge,
nm_controlled => $nm_controlled,
hwaddr => $hwaddr,
Expand Down

0 comments on commit 630efc3

Please sign in to comment.