itamae/cookbooks/consul
Kazuhiro MUSASHI c15c2f3de8 Start `Consul` after `Vault` generates the jwt token.
```
--- a/cookbooks/consul/files/etc/systemd/system/consul.service
+++ b/cookbooks/consul/files/etc/systemd/system/consul.service
@@ -2,7 +2,7 @@
 Description="HashiCorp Consul - A service mesh solution"
 Documentation=https://www.consul.io/
 Requires=network-online.target
-After=network-online.target
+After=network-online.target vault-agent-consul-jwt.target
 ConditionFileNotEmpty=/etc/consul.d/consul.hcl

 [Service]
```
2022-07-10 16:22:28 +09:00
..
files Start `Consul` after `Vault` generates the jwt token. 2022-07-10 16:22:28 +09:00
templates/etc Modify `consul.hcl` template to support `Consul Connect`. 2022-07-10 16:22:28 +09:00
attributes.rb Modify `consul.hcl` template to support `Consul Connect`. 2022-07-10 16:22:28 +09:00
default.rb Install from `deb` package. 2020-11-28 16:07:12 +09:00
dnsmasq.rb Support `Ubuntu 22.04`. 2022-07-10 14:32:35 +09:00
install.rb Deploy `nomad`. 2021-05-02 19:08:17 +09:00
setup.rb Overwrite the `systemd` config to rotate the log files. 2020-11-28 16:18:46 +09:00