1
0
mirror of https://github.com/krislamo/puppet-rsnapshot synced 2025-04-04 05:54:21 +00:00

Compare commits

...

3 Commits

Author SHA1 Message Date
512130b0d8
Bump version 2020-05-26 15:56:38 -04:00
f3cd595a8f
Add bool2num conversion for missing one_fs_num var 2020-05-21 16:05:23 -04:00
Administrator
03c31b78c2 Merge branch 'release/1.2.4'
* release/1.2.4:
  bump version
2018-04-16 17:39:49 +02:00
2 changed files with 5 additions and 1 deletions

View File

@ -103,6 +103,7 @@ class rsnapshot::config (
if ! ( $interval and $retain ) {
$interval = pick($hash['interval'], $rsnapshot::params::config_interval)
}
# rsnapshot wants numeric values
if $link_dest {
$link_dest_num = bool2num($link_dest)
@ -113,6 +114,9 @@ class rsnapshot::config (
if $use_lazy_deletes {
$use_lazy_deletes_num = bool2num($use_lazy_deletes)
}
if $one_fs {
$one_fs_num = bool2num($one_fs)
}
$real_include = $rsnapshot::include + $include
unless empty($real_include) {

View File

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