diff options
author | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2023-11-01 11:42:58 +0100 |
---|---|---|
committer | Hendrik Jäger <gitcommit@henk.geekmail.org> | 2023-11-01 11:42:58 +0100 |
commit | 795801ce2490026d3ec40b4c0abb4c1cbe06c567 (patch) | |
tree | 4f59fd0f1a93ba38bd10c4e34ff7b32c5c403ab7 /manifests | |
parent | e21ec3e2710d8938139a789fdadbdd8c57e5e8e3 (diff) |
feat: support for snippets from other modules
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 1 | ||||
-rw-r--r-- | manifests/snippets.pp | 6 |
2 files changed, 7 insertions, 0 deletions
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'], + } +} + |