Closed cottsay closed 3 years ago
The directory currently being created by Chef doesn't persist across reboots. We can use systemd to manage the directory instead, which should mean that it is always created prior to starting, and always deleted after stopping.
https://www.freedesktop.org/software/systemd/man/systemd.exec.html#RuntimeDirectory=
Additionally, ensure that systemd reloads the gpg-vault-agent unit file when it is changed.
Agent CI errors are known flaky tests. Flakes will eat the software world :sob:
The directory currently being created by Chef doesn't persist across reboots. We can use systemd to manage the directory instead, which should mean that it is always created prior to starting, and always deleted after stopping.
https://www.freedesktop.org/software/systemd/man/systemd.exec.html#RuntimeDirectory=
Additionally, ensure that systemd reloads the gpg-vault-agent unit file when it is changed.