Actions
Bug #37078
closedForeman-Proxy-Plugin salt cannot be installed due to missing directory
Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Description
On a freshly installed foreman I cannot install salt. Installation fails when creating foreman config with the following error message:
2024-01-11 14:30:05 [ERROR ] [configure] Cannot create /etc/salt/master.d; parent directory /etc/salt does not exist 2024-01-11 14:30:05 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Plugin::Salt/File[/etc/salt/master.d]/ensure: change from 'absent' to 'directory' failed: Cannot create /etc/salt/master.d; parent directory /etc/salt does not exist
Both `/etc/salt` and `/etc/salt/master.d` are available after package installation (`rubygem-smart_proxy_salt`), so it all requires resource ordering in puppet.
As a workaround I can simply run foreman-installer a second time.
Updated by Jan Bundesmann 11 months ago
- Pull request https://github.com/theforeman/puppet-foreman_proxy/pull/826 added
Actions