write_daemon_config added for choice

This commit is contained in:
Maria Haider 2024-01-09 10:37:42 +01:00
parent 88412797d0
commit 0ce5e7d2c7
Signed by: mariah
GPG key ID: 7414A760CA747E57

View file

@ -7,6 +7,7 @@ class eid::dockerhost(
String $docker_args = '',
Optional[String] $docker_dns = undef,
$storage_driver = 'aufs',
Boolean $write_daemon_config = false,
) {
if $version == 'NOT_SET_IN_HIERA' {
fail('Docker version not set in Hiera')
@ -25,5 +26,6 @@ class eid::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
}
}