From 795801ce2490026d3ec40b4c0abb4c1cbe06c567 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Hendrik=20J=C3=A4ger?= Date: Wed, 1 Nov 2023 11:42:58 +0100 Subject: [PATCH] feat: support for snippets from other modules --- manifests/init.pp | 1 + manifests/snippets.pp | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 manifests/snippets.pp diff --git a/manifests/init.pp b/manifests/init.pp index 18d447a..111d990 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -5,6 +5,7 @@ class s6 ( class { "${name}::install": ; + "${name}::snippets": ; "${name}::service": ; "${name}::scandir_users": ; } diff --git a/manifests/snippets.pp b/manifests/snippets.pp new file mode 100644 index 0000000..c76f5ac --- /dev/null +++ b/manifests/snippets.pp @@ -0,0 +1,6 @@ +class s6::snippets { + File <| tag == 's6_snippet' |> { + notify => Class['::s6::service'], + } +} + -- 2.39.2