diff --git a/global/overlay/etc/puppet/modules/cdn/manifests/cache.pp b/global/overlay/etc/puppet/modules/cdn/manifests/cache.pp index 3103944..6360f78 100644 --- a/global/overlay/etc/puppet/modules/cdn/manifests/cache.pp +++ b/global/overlay/etc/puppet/modules/cdn/manifests/cache.pp @@ -39,6 +39,14 @@ class cdn::cache( content => template('cdn/cache/varnish-slash-seccomp.json.erb'), } + file { '/etc/systemd/network/cdn-dummy.netdev': + ensure => file, + owner => 'root', + group => 'root', + mode => '0644', + content => template('cdn/cache/cdn-dummy.netdev.erb'), + } + $sysctl_file = '/etc/sysctl.d/99-cdn-cache.conf' file { $sysctl_file: ensure => file, diff --git a/global/overlay/etc/puppet/modules/cdn/templates/cache/cdn-dummy.netdev.erb b/global/overlay/etc/puppet/modules/cdn/templates/cache/cdn-dummy.netdev.erb new file mode 100644 index 0000000..d6ae53a --- /dev/null +++ b/global/overlay/etc/puppet/modules/cdn/templates/cache/cdn-dummy.netdev.erb @@ -0,0 +1,3 @@ +[NetDev] +Name=dummy0 +Kind=dummy