Commit Graph

15 Commits

Author SHA1 Message Date
Kazuhiro MUSASHI b4189939f8 Update `Consul` certificates. 2024-03-31 09:45:11 +09:00
Kazuhiro MUSASHI cfdec27f89 Consul server setup 2024-02-11 18:55:30 +09:00
Kazuhiro MUSASHI 6f48a84591 Delete `supervisord` config for `Consul`. 2023-01-28 10:37:37 +09:00
Kazuhiro MUSASHI 1875e14f29 Update `/etc/dnsmasq.conf` & `/etc/systemd/resolved.conf` for `Ubuntu 22.04`. 2023-01-28 10:37:37 +09:00
Kazuhiro MUSASHI 73f7ec44b7 Enable `Consul Connect` for client side. 2022-07-10 16:22:28 +09:00
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
Kazuhiro MUSASHI 7270023c92 Overwrite the `systemd` config to rotate the log files. 2020-11-28 16:18:46 +09:00
Kazuhiro MUSASHI 6315dc759e Healthcheck for `consul`. 2020-10-24 12:30:05 +09:00
Kazuhiro MUSASHI 8b4b0eeb9e Specify `dnsmasq` to check `consul` dns and the upper DNSs. 2020-10-13 21:18:37 +09:00
Kazuhiro MUSASHI 6706b9d4b1 Delete `monit` cookbook. 2020-10-13 21:12:27 +09:00
Kazuhiro MUSASHI 95ac2f5841 Delete `check-reboot-required`. 2020-09-23 23:52:40 +09:00
Kazuhiro MUSASHI 7ba084b71f Use `/usr/local/bin/check_file`. 2020-09-22 23:46:14 +09:00
Kazuhiro MUSASHI 3c634b7dc3 Deploy `check_file_ script. 2020-09-22 23:46:13 +09:00
Kazuhiro MUSASHI d57fbcbc93 Delete the monitoring settings for `consul`. 2019-11-25 00:09:04 +08:00
Kazuhiro MUSASHI 39fbe6669b initial commit 2019-03-03 16:50:49 +08:00