2021-06-21 12:27:04 +00:00
|
|
|
include_recipe './attributes.rb'
|
|
|
|
|
|
|
|
include_recipe './install.rb'
|
|
|
|
|
2022-07-10 05:42:25 +00:00
|
|
|
%w( agent tokens ).each do |d|
|
|
|
|
directory "/etc/vault.d/#{d}" do
|
|
|
|
owner 'vault'
|
|
|
|
group 'vault'
|
|
|
|
mode '0755'
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2022-03-12 12:13:22 +00:00
|
|
|
if node['vault']['manager']
|
|
|
|
include_recipe './setup.rb'
|
|
|
|
end
|