Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
akerl committed Jan 1, 2024
1 parent fbcab69 commit 8e9acdb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manifests/systemd.pp
Original file line number Diff line number Diff line change
Expand Up @@ -67,13 +67,14 @@

$primary_interface = sort($real_interfaces)[0]

$real_interfaces.each |String $iface, Any $value|
$real_interfaces.each |String $iface, Any $value| {
file { "/etc/systemd/network/${iface}.network":
ensure => file,
content => template('network/interface.network.erb'),
notify => Service['systemd-networkd'],
}
}

service { 'systemd-networkd':
ensure => running,
enable => true,
Expand Down

0 comments on commit 8e9acdb

Please sign in to comment.