From d9fdd463b27f7b7f805c861bed761b9a7b38f681 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Can=C3=A9vet?= Date: Thu, 13 Nov 2014 11:43:29 +0100 Subject: Add README.md --- README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..5466acb --- /dev/null +++ b/README.md @@ -0,0 +1,22 @@ +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 just declares an `Exec['systemctl-daemon-reload']` resource that you can use to refresh the daemon. + +```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'] +`̀`` -- cgit v1.2.3