use podman user for folders
This commit is contained in:
parent
efff58d734
commit
a79c421e14
1 changed files with 3 additions and 6 deletions
|
@ -22,9 +22,6 @@ class grafana (
|
|||
'GF_LOG_MODE=console file',
|
||||
"GF_SECURITY_ADMIN_USER=${admin_password}",
|
||||
]
|
||||
user {'grafana':
|
||||
ensure => present,
|
||||
}
|
||||
if (!$container_mount_data_folder) {
|
||||
podman::volume{$container_volume_name:}
|
||||
$flags = {
|
||||
|
@ -39,15 +36,15 @@ class grafana (
|
|||
} else {
|
||||
file {$container_data_folder:
|
||||
ensure => directory,
|
||||
owner => 'grafana',
|
||||
owner => 'podman',
|
||||
}
|
||||
file {$container_logs_folder:
|
||||
ensure => directory,
|
||||
owner => 'grafana',
|
||||
owner => 'podman',
|
||||
}
|
||||
file {$container_config_folder:
|
||||
ensure => directory,
|
||||
owner => 'grafana',
|
||||
owner => 'podman',
|
||||
}
|
||||
$flags = {
|
||||
publish => [
|
||||
|
|
Loading…
Reference in a new issue