Skip to content
Snippets Groups Projects
Commit 18cadcda authored by Filip Polbratt's avatar Filip Polbratt
Browse files

Update public_ip.pp

parent 51fac255
No related branches found
No related tags found
No related merge requests found
......@@ -3,8 +3,13 @@ class lysnetwork::public_ip {
$last_octet = Integer(split($facts['networking']['ip'], '\.')[3],10)
$last_octet_16 = String($last_octet, '%x')
if ($facts['os']['name'] == 'Fedora') {
ensure_packages(['network-scripts',], {before => Network::Interface["${iface}"]}),
if $facts['os']['name'] == 'Fedora' {
ensure_packages(
['network-scripts'],
{
before => Network::Interface["${iface}"]
}
)
}
network::interface { $iface :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment