summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2017-01-16 13:34:48 +0100
committervarac <varacanero@zeromail.org>2017-01-16 13:34:48 +0100
commitf3c4059603a6ac19f132b0dc47b95e49d9ddc4ba (patch)
treed538ad5f49dc31a3bf10029a2c875b729048cdc0 /manifests/init.pp
parentdc76f6f69e306f865a4a7c3b78b6d5ba694719c5 (diff)
parenta0321364514f52a4c110a15afbdad5109d768fe6 (diff)
Merge remote-tracking branch 'camptocamp/master'HEADmaster
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp8
1 files changed, 7 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 5e6ad79..e669f09 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,4 +1,8 @@
-class systemd {
+# -- Class systemd
+# This module allows triggering systemd commands once for all modules
+class systemd (
+ $service_limits = {}
+){
Exec {
refreshonly => true,
@@ -15,4 +19,6 @@ class systemd {
command => 'systemd-tmpfiles --create',
}
+ create_resources('systemd::service_limits', $service_limits, {})
+
}