diff --git a/cookbooks/vault/default.rb b/cookbooks/vault/default.rb index 33e6a83..7f9bcc1 100644 --- a/cookbooks/vault/default.rb +++ b/cookbooks/vault/default.rb @@ -2,6 +2,14 @@ include_recipe './attributes.rb' include_recipe './install.rb' +%w( agent tokens ).each do |d| + directory "/etc/vault.d/#{d}" do + owner 'vault' + group 'vault' + mode '0755' + end +end + if node['vault']['manager'] include_recipe './setup.rb' end