Project

General

Profile

Actions

Bug #37078

closed

Foreman-Proxy-Plugin salt cannot be installed due to missing directory

Added by Jan Bundesmann 11 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by Jan Bundesmann 11 months ago

  • Pull request https://github.com/theforeman/puppet-foreman_proxy/pull/826 added
Actions #2

Updated by Jan Bundesmann 3 months ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF