Project

General

Profile

Actions

Bug #34354

open

Foreman-proxy accepts puppet command that does not exist

Added by Andrew Heath over 2 years ago.

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

Description

The foreman installer command accepts a command that is invalid:

---no-enable-foreman-puppet

When this command is added the foreman installer still tries to install the foreman-proxy and gets the following errors:

2022-01-28 16:33:41 [NOTICE] [root] Loading installer configuration. This will take some time.
2022-01-28 16:33:45 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2022-01-28 16:33:45 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2022-01-28 16:33:47 [NOTICE] [configure] Starting system configuration.
2022-01-28 16:33:52 [ERROR ] [configure] Evaluation Error: Error while evaluating a Resource Statement, Foreman::Plugin[puppet]:
2022-01-28 16:33:52 [ERROR ] [configure] parameter 'version' expects a String value, got Undef
2022-01-28 16:33:52 [ERROR ] [configure] parameter 'config_file_group' expects a String value, got Undef (file: /usr/share/foreman-installer/modules/foreman/manifests/plugin/puppet.pp, line: 6) on node proxy.example.com
2022-01-28 16:33:52 [NOTICE] [configure] System configuration has finished.

  There were errors detected during install.
  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

the command that needs to run is:

--no-enable-foreman-plugin-puppet

Trying to figure out why the foreman installer command would accept an invalid command and try to install?

Note:
Have submitted https://github.com/theforeman/theforeman.org/pull/1946 to have the documentation updated with the correct command.

No data to display

Actions

Also available in: Atom PDF