/net/haproxy: Cron for Sync SSL certificates will not work.
Important notices Before you add a new report, we ask you kindly to acknowledge the following:
- [ x] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
- [ x] I have searched the existing issues, open and closed, and I'm convinced that mine is new.
- [ x] The title contains the plugin to which this issue belongs
Describe the bug If i plan a job to Sync the SSL Certificates for HAProxy there is the following Error: Inline action failed with not all arguments converted during string formatting at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/actions/inline.py", line 44, in execute act_parameters = self.parameters % tuple(parameters) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ TypeError: not all arguments converted during string formatting
The Error is in the file
plugins/net/haproxy/src/opnsense/service/conf/actions.d/actions_haproxy.conf
In the section [cert_sync_bulk] command:configctl template reload OPNsense/HAProxy 2 > /dev/null; /usr/local/opnsense/scripts/OPNsense/HAProxy/syncCerts.py sync --output json
It should be something like this:
[cert_sync_bulk] command:configctl -q template reload OPNsense/HAProxy; /usr/local/opnsense/scripts/OPNsense/HAProxy/syncCerts.py sync --output json
Could you please correct this issue. Many thanks in advanced.