1
0
mirror of https://github.com/krislamo/puppet-rsnapshot synced 2024-09-19 17:10:34 +00:00

Merge branch 'hotfix/create_tmpfiles_d' into develop

This commit is contained in:
Norbert Varzariu 2017-04-24 20:44:18 +02:00
commit ab20bea159
2 changed files with 6 additions and 2 deletions

View File

@ -13,7 +13,11 @@ class rsnapshot::install {
# ensure run directory exists (systemd clears /var/run, so rsnapshot can't create PID files after reboot - issue#12) # ensure run directory exists (systemd clears /var/run, so rsnapshot can't create PID files after reboot - issue#12)
$lockpath = pick($rsnapshot::lockpath, $rsnapshot::params::config_lockpath, '/var/run/rsnapshot') $lockpath = pick($rsnapshot::lockpath, $rsnapshot::params::config_lockpath, '/var/run/rsnapshot')
$tmpfiles_d = '/etc/tmpfiles.d' $tmpfiles_d = '/etc/tmpfiles.d'
file { "${tmpfiles_d}":
ensure => directory,
}
file { "${tmpfiles_d}/rsnapshot.conf": file { "${tmpfiles_d}/rsnapshot.conf":
ensure => present, ensure => present,
content => "D ${lockpath} 0755 root root -", content => "D ${lockpath} 0755 root root -",

View File

@ -1,6 +1,6 @@
{ {
"name": "loomsen-rsnapshot", "name": "loomsen-rsnapshot",
"version": "1.2.2", "version": "1.2.3",
"author": "loomsen", "author": "loomsen",
"summary": "Configures rsnapshot.", "summary": "Configures rsnapshot.",
"license": "Apache-2.0", "license": "Apache-2.0",