Commit 323b9b45 authored by mh's avatar mh
Browse files

configure volumes to be shared

parent 0a298c38
......@@ -161,6 +161,7 @@ define webhosting::common (
$publis_socket_2 = Hash($route.map |$e| { [$e[1], $publish_options] })
$con_config = { 'config_directory' => $container_config_directory } + pick($vals['configuration'], {})
$pod_system_config = { 'volumes_containers_gid_share' => true } + pick($vals['pod_system_config'], {})
if $ensure == 'present' {
$auth = pick($vals['auth'],{})
podman::container::auth {
......@@ -189,6 +190,7 @@ define webhosting::common (
run_flags => $default_run_flags + $hosting_run_flags,
tag => "user_${real_uid_name}",
publish_socket => $publis_socket_2 + $publish_socket,
pod_system_config => $pod_system_config,
configuration => $con_config,
}
podman::container {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment