summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/init.pp1
-rw-r--r--manifests/snippets.pp6
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'],
+ }
+}
+