summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMicah <micah@leap.se>2016-05-24 10:19:42 -0400
committerMicah <micah@leap.se>2016-05-24 10:19:42 -0400
commit38cf1269a499acd9b85390afd6200c2f143fbffc (patch)
tree1fef658020e58d2a368acedebdeda723860c287f /README.md
Squashed 'puppet/modules/systemd/' content from commit 6d47fd4
git-subtree-dir: puppet/modules/systemd git-subtree-split: 6d47fd4999fe03eba6fb11c4490dcbb90d937900
Diffstat (limited to 'README.md')
-rw-r--r--README.md38
1 files changed, 38 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 00000000..f70bcb0c
--- /dev/null
+++ b/README.md
@@ -0,0 +1,38 @@
+# Systemd
+
+[![Puppet Forge](http://img.shields.io/puppetforge/v/camptocamp/systemd.svg)](https://forge.puppetlabs.com/camptocamp/systemd)
+[![Build Status](https://travis-ci.org/camptocamp/puppet-systemd.png?branch=master)](https://travis-ci.org/camptocamp/puppet-systemd)
+
+## Overview
+
+This module declares exec resources that you can use when you change systemd units or configuration files.
+
+## Examples
+
+### systemctl --daemon-reload
+
+```puppet
+include ::systemd
+file { '/usr/lib/systemd/system/foo.service':
+ ensure => file,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ source => "puppet:///modules/${module_name}/foo.service",
+} ~>
+Exec['systemctl-daemon-reload']
+```
+
+### systemd-tmpfiles --create
+
+```puppet
+include ::systemd
+file { '/etc/tmpfiles.d/foo.conf':
+ ensure => file,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ source => "puppet:///modules/${module_name}/foo.conf",
+} ~>
+Exec['systemd-tmpfiles-create']
+```