From d86fda3514a439c3db76aed87cf55f94d8b409d7 Mon Sep 17 00:00:00 2001 From: Arne Teuke Date: Sat, 18 Oct 2025 14:39:07 +0200 Subject: [PATCH] fix dirs - https://gitlab.confdroid.com/internal/confdroid_management/-/issues/260 --- manifests/main/dirs.pp | 2 +- manifests/params.pp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/manifests/main/dirs.pp b/manifests/main/dirs.pp index dfbd93c..d751001 100644 --- a/manifests/main/dirs.pp +++ b/manifests/main/dirs.pp @@ -19,7 +19,7 @@ class prometheus_cd::main::dirs ( seluser => system_u, } # data directory - file { $ps_data_dir, + file { $ps_data_dir: ensure => directory, owner => 'prometheus', group => 'prometheus', diff --git a/manifests/params.pp b/manifests/params.pp index a41f820..9e54376 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -13,6 +13,7 @@ # @param [String] ps_main_port the firewall main port for prometheus # @param [String] ps_auth_user the username for authentication # @param [String] ps_auth_pass the password for authentication +# @param [String] ps_data_dir the data directory for prometheus ############################################################################## class prometheus_cd::params (