diff options
author | Micah <micah@leap.se> | 2016-05-24 10:19:42 -0400 |
---|---|---|
committer | Micah <micah@leap.se> | 2016-05-24 10:19:42 -0400 |
commit | 6a62c8f7628e8d7e72dd28d713886103458f1a09 (patch) | |
tree | 9b6b3a242cfa0da07792b6b836141a7a15edfe36 /puppet/modules/systemd/README.md | |
parent | 783f953a87ef0531dd0b43614a101362c3e592c5 (diff) | |
parent | 38cf1269a499acd9b85390afd6200c2f143fbffc (diff) |
Merge commit '38cf1269a499acd9b85390afd6200c2f143fbffc' as 'puppet/modules/systemd'subtree
Diffstat (limited to 'puppet/modules/systemd/README.md')
-rw-r--r-- | puppet/modules/systemd/README.md | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/puppet/modules/systemd/README.md b/puppet/modules/systemd/README.md new file mode 100644 index 00000000..f70bcb0c --- /dev/null +++ b/puppet/modules/systemd/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'] +``` |