Version information
released May 16th 2016
This version is compatible with:
- Puppet Enterprise 3.x
- Puppet 3.x
- ,
This module has been deprecated by its author since Aug 16th 2021.
The reason given was: No longer maintained
The author has suggested puppet-systemd as its replacement.
Start using this module
Documentation
camptocamp/systemd — version 0.3.0 May 16th 2016
Systemd
Overview
This module declares exec resources to create global sync points for reloading systemd.
Usage and examples
There are two ways to use this module.
unit files
Let this module handle file creation and systemd reloading.
::systemd::unit_file { 'foo.service':
source => "puppet:///modules/${module_name}/foo.service",
}
Or handle file creation yourself and trigger systemd.
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']
tmpfiles
Let this module handle file creation and systemd reloading
::systemd::tmpfile { 'foo.conf':
source => "puppet:///modules/${module_name}/foo.conf",
}
Or handle file creation yourself and trigger systemd.
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']
Change Log
0.3.0 (2016-05-16)
Implemented enhancements:
- Shortcut for creating unit files / tmpfiles #4 (felixb)
- Add systemd facts #6 (roidelapluie)
0.2.2 (2015-08-25)
Implemented enhancements:
- Add 'systemd-tmpfiles-create' #1 (roidelapluie)
0.2.1 (2015-08-21)
- Use docker for acceptance tests
0.1.15 (2015-06-26)
- Fix strict_variables activation with rspec-puppet 2.2
0.1.14 (2015-05-28)
- Add beaker_spec_helper to Gemfile
0.1.13 (2015-05-26)
- Use random application order in nodeset
0.1.12 (2015-05-26)
- Add utopic & vivid nodesets
0.1.11 (2015-05-25)
- Don't allow failure on Puppet 4
0.1.10 (2015-05-13)
- Add puppet-lint-file_source_rights-check gem
0.1.9 (2015-05-12)
- Don't pin beaker
0.1.8 (2015-04-27)
- Add nodeset ubuntu-12.04-x86_64-openstack
0.1.7 (2015-04-03)
- Confine rspec pinning to ruby 1.8
* This Change Log was automatically generated by github_changelog_generator