From 3986e69349a7fbfab60907b620d1f562c8e642e6 Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Tue, 25 Jul 2023 13:35:31 +0200 Subject: [PATCH] See if we can get ipv6 for monitor --- manifests/dockerhost.pp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/manifests/dockerhost.pp b/manifests/dockerhost.pp index 2060daa..9728721 100644 --- a/manifests/dockerhost.pp +++ b/manifests/dockerhost.pp @@ -8,6 +8,8 @@ class sunetdrive::dockerhost( String $docker_args = '', Optional[String] $docker_dns = undef, String $storage_driver = 'aufs', + Bool $write_daemon_config = false, + Bool $enable_ipv6 = false, ) { if $version == 'NOT_SET_IN_HIERA' { fail('Docker version not set in Hiera') @@ -26,6 +28,8 @@ class sunetdrive::dockerhost( storage_driver => $storage_driver, docker_network => true, # let docker choose a network for the 'docker' bridge compose_version => $compose_version, + write_daemon_config => $write_daemon_config, + enable_ipv6 => $enable_ipv6, } file { '/etc/apt/preferences.d/containerd.io.pref': ensure => absent,