Skip to content

Commit

Permalink
Merge pull request #145 from criteo-cookbooks/logback
Browse files Browse the repository at this point in the history
Add etc/logback directory
  • Loading branch information
achamo authored Apr 11, 2024
2 parents 2d411bc + 4b29efc commit 2ad4d1e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions resources/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,12 @@
notifies :run, "ruby_block[#{blocker}]", :delayed
end

directory ::File.join(new_resource.data, 'etc', 'logback') do
mode '0755'
owner new_resource.nexus3_user
group new_resource.nexus3_group
end

template ::File.join(new_resource.data, 'etc', 'logback', 'logback.xml') do
source new_resource.logback_variables['source']
cookbook new_resource.logback_variables['cookbook']
Expand Down

0 comments on commit 2ad4d1e

Please sign in to comment.