mirror of
https://github.com/krislamo/puppet-rsnapshot
synced 2024-11-10 00:00:35 +00:00
testing
This commit is contained in:
parent
396d71cb8e
commit
941036d986
@ -110,15 +110,11 @@ class rsnapshot::config (
|
|||||||
}
|
}
|
||||||
|
|
||||||
$real_include = $rsnapshot::include + $include
|
$real_include = $rsnapshot::include + $include
|
||||||
notify { "$real_include for $host": }
|
if $real_include != '' {
|
||||||
if empty($real_include) {
|
file { $include_file:
|
||||||
notify { "$host $real_include is empty": }
|
ensure => 'file',
|
||||||
} else {
|
content => template('rsnapshot/include.erb'),
|
||||||
# file { $include_file:
|
}
|
||||||
# ensure => 'file',
|
|
||||||
# content => template('rsnapshot/include.erb'),
|
|
||||||
#}
|
|
||||||
notify { "${host} $real_include is not empty": }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$real_exclude = $rsnapshot::exclude + $exclude
|
$real_exclude = $rsnapshot::exclude + $exclude
|
||||||
|
@ -48,8 +48,8 @@ class rsnapshot::params {
|
|||||||
'weekly' => '4',
|
'weekly' => '4',
|
||||||
'monthly' => '6',
|
'monthly' => '6',
|
||||||
}
|
}
|
||||||
$config_include = [ ]
|
$config_include = []
|
||||||
$config_exclude = [ ]
|
$config_exclude = []
|
||||||
$config_include_file = undef
|
$config_include_file = undef
|
||||||
$config_exclude_file = undef
|
$config_exclude_file = undef
|
||||||
$config_link_dest = false
|
$config_link_dest = false
|
||||||
|
Loading…
Reference in New Issue
Block a user