See if we can get ipv6 for monitor

This commit is contained in:
Micke Nordin 2023-07-25 13:35:31 +02:00
parent 598be8c2f1
commit 3986e69349
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -8,6 +8,8 @@ class sunetdrive::dockerhost(
String $docker_args = '', String $docker_args = '',
Optional[String] $docker_dns = undef, Optional[String] $docker_dns = undef,
String $storage_driver = 'aufs', String $storage_driver = 'aufs',
Bool $write_daemon_config = false,
Bool $enable_ipv6 = false,
) { ) {
if $version == 'NOT_SET_IN_HIERA' { if $version == 'NOT_SET_IN_HIERA' {
fail('Docker version not set in Hiera') fail('Docker version not set in Hiera')
@ -26,6 +28,8 @@ class sunetdrive::dockerhost(
storage_driver => $storage_driver, storage_driver => $storage_driver,
docker_network => true, # let docker choose a network for the 'docker' bridge docker_network => true, # let docker choose a network for the 'docker' bridge
compose_version => $compose_version, compose_version => $compose_version,
write_daemon_config => $write_daemon_config,
enable_ipv6 => $enable_ipv6,
} }
file { '/etc/apt/preferences.d/containerd.io.pref': file { '/etc/apt/preferences.d/containerd.io.pref':
ensure => absent, ensure => absent,