mirror of
https://github.com/krislamo/puppet-rsnapshot
synced 2025-04-04 05:54:21 +00:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
512130b0d8 | |||
f3cd595a8f | |||
|
03c31b78c2 |
@ -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) {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "loomsen-rsnapshot",
|
||||
"version": "1.2.4",
|
||||
"version": "1.2.5",
|
||||
"author": "loomsen",
|
||||
"summary": "Configures rsnapshot.",
|
||||
"license": "Apache-2.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user