Skip to content

Commit

Permalink
Merge pull request #26 from Roblox/ICO-4170-create-dir
Browse files Browse the repository at this point in the history
ICO-4170: Create /data/var/log/vault directory
  • Loading branch information
roberteckert authored Sep 13, 2024
2 parents cb57256 + c338021 commit b371eb1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
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
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
long_description 'Application cookbook for installing and configuring Vault.'
issues_url 'https://github.com/johnbellone/vault-cookbook/issues'
source_url 'https://github.com/johnbellone/vault-cookbook/'
version '1002.7.12'
version '1002.7.13'

supports 'ubuntu', '>= 12.04'
supports 'redhat', '>= 6.4'
Expand Down

0 comments on commit b371eb1

Please sign in to comment.