summaryrefslogtreecommitdiff
path: root/puppet/modules/systemd/manifests/init.pp
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-06-09 17:34:45 +0200
committervarac <varacanero@zeromail.org>2016-06-14 12:05:18 +0200
commitdec5a10f8d80f08271859573854e26527e39d99f (patch)
tree2968c03a6cfbad1d8c956b61edaffe3c31dc3072 /puppet/modules/systemd/manifests/init.pp
parentc429f55ef10f3c757189bdab9823c0b74d81fb00 (diff)
git subrepo clone https://leap.se/git/puppet_systemd puppet/modules/systemd
subrepo: subdir: "puppet/modules/systemd" merged: "6d47fd4" upstream: origin: "https://leap.se/git/puppet_systemd" branch: "master" commit: "6d47fd4" git-subrepo: version: "0.3.0" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "cb2995b"
Diffstat (limited to 'puppet/modules/systemd/manifests/init.pp')
-rw-r--r--puppet/modules/systemd/manifests/init.pp18
1 files changed, 18 insertions, 0 deletions
diff --git a/puppet/modules/systemd/manifests/init.pp b/puppet/modules/systemd/manifests/init.pp
new file mode 100644
index 00000000..5e6ad792
--- /dev/null
+++ b/puppet/modules/systemd/manifests/init.pp
@@ -0,0 +1,18 @@
+class systemd {
+
+ Exec {
+ refreshonly => true,
+ path => $::path,
+ }
+
+ exec {
+ 'systemctl-daemon-reload':
+ command => 'systemctl daemon-reload',
+ }
+
+ exec {
+ 'systemd-tmpfiles-create':
+ command => 'systemd-tmpfiles --create',
+ }
+
+}