From: Hendrik Jäger Date: Wed, 1 Nov 2023 10:42:58 +0000 (+0100) Subject: feat: support for snippets from other modules X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;ds=inline;h=795801ce2490026d3ec40b4c0abb4c1cbe06c567;p=user%2Fhenk%2Fcode%2Fpuppet%2Fmodules%2Fs6.git feat: support for snippets from other modules --- 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'], + } +} +