Files
puppet_shiori/manifests/compose.pp
T
2026-11-09 15:40:34 +01:00

19 lines
510 B
Puppet

class shiori::compose (
String $docker_user,
String $shiori_data,
String $timezone,
String $http_secret_key,
) {
file { "/home/${docker_user}/.docker/shiori/docker-compose.yaml":
ensure => file,
owner => $docker_user,
group => $docker_user,
mode => '0640',
content => epp('shiori/docker-compose.yaml.epp', {
'shiori_data' => $shiori_data,
'timezone' => $timezone,
'http_secret_key' => $http_secret_key,
}),
}
}