diff --git a/libraries/vault_service.rb b/libraries/vault_service.rb index ea862a8..016eb94 100644 --- a/libraries/vault_service.rb +++ b/libraries/vault_service.rb @@ -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