From cb4c78b09556a61010c4ee9c369e498f9cf304bb Mon Sep 17 00:00:00 2001 From: Thomas Bellman <bellman@lysator.liu.se> Date: Wed, 14 Aug 2024 21:01:51 +0200 Subject: [PATCH] Better doc of tmpfiles $ensure parameter. Clarify that the $ensure parameter to systemd::tmpfiles only affects the config file in /etc/tmpfiles.d itself, not the file or directories specified in that config file. --- manifests/tmpfiles.pp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/manifests/tmpfiles.pp b/manifests/tmpfiles.pp index 18eb954..1fccfec 100644 --- a/manifests/tmpfiles.pp +++ b/manifests/tmpfiles.pp @@ -103,6 +103,11 @@ define systemd::tmpfiles( # One of 'present' or 'absent'. # + # This only controls if the config file in /etc/tmpfiles.d should + # be present or removed. In particular, setting this to 'absent' + # will only remove the config file itself, but won't remove the + # files/directories specified by the config file. + # $ensure = 'present', ) { -- GitLab