Skip to content

Commit b371eb1

Browse files
authored
Merge pull request #26 from Roblox/ICO-4170-create-dir
ICO-4170: Create /data/var/log/vault directory
2 parents cb57256 + c338021 commit b371eb1

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

libraries/vault_service.rb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,12 @@ def action_enable
9494
new_path = "#{path}.#{created_at}"
9595
::FileUtils.mv(path, new_path)
9696
end
97+
directory '/data/var/log/vault' do
98+
owner new_resource.user
99+
group new_resource.group
100+
mode '0755'
101+
action :create
102+
end
97103
link '/var/log/vault' do
98104
to ::File.join('/data', '/var/log/vault')
99105
action :create

metadata.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
long_description 'Application cookbook for installing and configuring Vault.'
77
issues_url 'https://github.com/johnbellone/vault-cookbook/issues'
88
source_url 'https://github.com/johnbellone/vault-cookbook/'
9-
version '1002.7.12'
9+
version '1002.7.13'
1010

1111
supports 'ubuntu', '>= 12.04'
1212
supports 'redhat', '>= 6.4'

0 commit comments

Comments
 (0)