Actions
Bug #37799
closedCould not find template 'mosquitto/mosquitto.conf' when executing the installer in certain directories
Difficulty:
Triaged:
No
Description
When executing the installer in a directory that has a mosquitto/mosquitto.conf
file relative to it, the installer will fail with the following error:
[root@centos8-stream-foreman-nightly ~]# cd /etc/ [root@centos8-stream-foreman-nightly etc]# ls mosquitto/mosquitto.conf mosquitto/mosquitto.conf [root@centos8-stream-foreman-nightly etc]# foreman-installer 2024-09-05 07:40:42 [NOTICE] [root] Loading installer configuration. This will take some time. 2024-09-05 07:40:46 [NOTICE] [root] Running installer with log based terminal output at level NOTICE. 2024-09-05 07:40:46 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions. 2024-09-05 07:40:53 [NOTICE] [configure] Starting system configuration. 2024-09-05 07:40:57 [ERROR ] [configure] Evaluation Error: Error while evaluating a Function Call, Could not find template 'mosquitto/mosquitto.conf' (file: /usr/share/foreman-installer/modules/mosquitto/manifests/config.pp, line: 26, column: 16) on node centos8-stream-foreman-nightly.tanso.example.com 2024-09-05 07:40:57 [NOTICE] [configure] System configuration has finished. There were errors detected during installation. Please address the errors and re-run the installer to ensure the system is properly configured. Failing to do so is likely to result in broken functionality. The full log is at /var/log/foreman-installer/foreman.log
This is a bug in the mosquitto module, fixed in 2.1.1
Actions