Skip to content

Commit

Permalink
Another test
Browse files Browse the repository at this point in the history
  • Loading branch information
alvagante committed Sep 25, 2024
1 parent 3aec8f7 commit 38cee59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion manifests/log.pp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
if $log.type =~ Array {
$array_log = $log
} else {
$array_rlog = [$log]
$array_log = [$log]
}

file { "${puppi::params::logsdir}/${name}":
Expand Down
4 changes: 1 addition & 3 deletions templates/log.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
<% if @array_log != '' -%>
<% @array_log.each do |path| %><%= path %>
<% end %>
<% end -%>
<% end %>

0 comments on commit 38cee59

Please sign in to comment.