Bad keyword "ConditionalFileNotEmpty" in generated systemd config
markus-sara opened this issue · 0 comments
markus-sara commented
Describe the bug
The script modules/run-nomad/run-nomad generates a systemd config with a typo.
The generated keyword "ConditionalFileNotEmpty" in the [Unit], should be "ConditionFileNotEmpty".
To Reproduce
- Create a Nomad cluster using Terraform that uses this script to run Nomad on a server node.
- Log in to a server node, run
journalctl -u nomad.service
- The output shows
/etc/systemd/system/nomad.service:6: Unknown lvalue 'ConditionalFileNotEmpty' in section 'Unit'
Expected behavior
With "ConditionFileNotEmpty", I expect this error gone.