mirror of
https://github.com/krislamo/puppet-rsnapshot
synced 2024-11-10 00:00:35 +00:00
fix templates (do not create include/exclude file entries if no in/excludes given)
This commit is contained in:
parent
d71239645f
commit
e823fef87c
@ -85,12 +85,12 @@ du_args <%= @du_args %>
|
||||
<% if @one_fs != '' -%>
|
||||
one_fs <%= @one_fs_num %>
|
||||
<% end -%>
|
||||
<% if @include != '' -%>
|
||||
<% if not @real_include.is_empty? -%>
|
||||
<% if @include_file != '' -%>
|
||||
include_file <%= @include_file %>
|
||||
<% end -%>
|
||||
<% end -%>
|
||||
<% if @exclude != '' -%>
|
||||
<% if not @real_exclude.is_empty? -%>
|
||||
<% if @exclude_file != '' -%>
|
||||
exclude_file <%= @exclude_file %>
|
||||
<% end -%>
|
||||
|
Loading…
Reference in New Issue
Block a user