itamae/cookbooks/vault
Kazuhiro MUSASHI 37d51b5ed5 Create `/etc/vault.d/agent` & `/etc/vault.d/tokens` directory.
```
--- 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
```
2022-07-10 16:22:28 +09:00
..
files/etc Deploy `/etc/logrotate.d/vault`. 2022-07-02 11:40:31 +00:00
templates/etc Deploy `/etc/vault.d/vault.hcl`. 2022-03-13 21:45:36 +09:00
attributes.rb Specify the default `Vault` managers. 2022-03-13 21:45:17 +09:00
default.rb Create `/etc/vault.d/agent` & `/etc/vault.d/tokens` directory. 2022-07-10 16:22:28 +09:00
install.rb Install `Vault`. 2022-03-12 11:59:44 +00:00
setup.rb Deploy `/etc/logrotate.d/vault`. 2022-07-02 11:40:31 +00:00