Run puppet-lint

This commit is contained in:
Patrik Lundin 2024-10-29 08:30:49 +01:00
parent c4b9bef3c5
commit bd055b1ac8
Signed by: patlu
GPG key ID: A0A812BA2249F294

View file

@ -26,6 +26,20 @@ class cdn::l4lb(
mode => '0640',
}
$sysctl_file = '/etc/sysctl.d/99-cdn-l4lb.conf'
file { $sysctl_file:
ensure => file,
owner => 'root',
group => 'root',
mode => '0644',
content => template('cdn/l4lb/sysctl.erb'),
}
# Load the sysctl file if it has changed
exec { "sysctl -p ${sysctl_file}":
subscribe => File[$sysctl_file],
refreshonly => true,
}
file { '/opt/sunet-cdn/l4lb':
ensure => directory,
owner => 'root',