From ae7138a3a3b34b327e5b82261b6aa911ab247db6 Mon Sep 17 00:00:00 2001 From: rickzhang Date: Fri, 13 Sep 2024 15:03:37 -0700 Subject: [PATCH 1/2] create data/var/log/vault --- libraries/vault_service.rb | 6 ++++++ 1 file changed, 6 insertions(+) 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 From c338021be38192509841711a397c7ac8a99c2064 Mon Sep 17 00:00:00 2001 From: rickzhang Date: Fri, 13 Sep 2024 15:04:36 -0700 Subject: [PATCH 2/2] bump versions --- metadata.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'