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 diff --git a/metadata.rb b/metadata.rb index c48dab0..d085ff5 100644 --- a/metadata.rb +++ b/metadata.rb @@ -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'