itamae/cookbooks/nomad
Kazuhiro MUSASHI de06f5575c Add `logrotated` config for `nomad` log files.
```
--- /dev/null
+++ b/cookbooks/nomad/files/etc/logrotate.d/nomad
@@ -0,0 +1,13 @@
+/var/log/nomad.log
+{
+        rotate 4
+        weekly
+        missingok
+        notifempty
+        compress
+        delaycompress
+        sharedscripts
+        postrotate
+                /usr/lib/rsyslog/rsyslog-rotate
+        endscript
+}
```
2022-01-10 15:29:00 +09:00
..
files Add `logrotated` config for `nomad` log files. 2022-01-10 15:29:00 +09:00
templates/etc Add `Promtail` setting for `nomad`. 2022-01-10 15:29:00 +09:00
attributes.rb Specify `Loki` endpoint. 2022-01-10 15:29:00 +09:00
default.rb Install `nomad` even if the node is not `nomad` server/client. 2021-06-19 19:55:17 +09:00
install.rb Deploy `nomad`. 2021-05-02 19:08:17 +09:00
setup.rb Add `logrotated` config for `nomad` log files. 2022-01-10 15:29:00 +09:00
shared_dir.rb Deploy `nomad`. 2021-05-02 19:08:17 +09:00