Team
What happened?
The Linux Tentacle's bundled configure-tentacle.sh script's prompt is misleading. When the script asks "Where would you like Tentacle to store log files?", it's not just setting the log location. That path becomes the location for:
- Configuration file (tentacle.config)
- Log files (Logs/)
- Working directories (Work/)
- Deployment journals
So if someone specifies /var/log, you get config files and working directories there too.
Reproduction
Specify the directory /var/log for the prompt "Where would you like Tentacle to store log files?", and observe the Logs, Work directories and tentacle.config file also get stored there.
Error and Stacktrace
More Information
The script should prompt multiple times for the individual items like:
- "Where would you like Tentacle to store the Tentacle configuration?" and set it using the
--config parameter
- "Where would you like the home directory to be for logs and working and working files?" and set it using the
--home parameter.
This gives customer full control over the directory layout. For example:
- Configuration: /etc/octopus/tentacle.config
- Logs/work: /var/lib/octopus/Logs/ and /var/lib/octopus/Work/
This is more aligned with Linux filesystem conventions and addresses the confusion customer experienced.
Workaround
No response