Skip to content

Commit

Permalink
create data/var/log/vault
Browse files Browse the repository at this point in the history
  • Loading branch information
wsxdrorange committed Sep 13, 2024
1 parent cb57256 commit ae7138a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libraries/vault_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,12 @@ def action_enable
new_path = "#{path}.#{created_at}"
::FileUtils.mv(path, new_path)
end
directory '/data/var/log/vault' do
owner new_resource.user
group new_resource.group
mode '0755'
action :create
end
link '/var/log/vault' do
to ::File.join('/data', '/var/log/vault')
action :create
Expand Down

0 comments on commit ae7138a

Please sign in to comment.