Looking at a failed setup here (but itβs Debian 11, so might be not too representative):
2021-11-25T14:55:21 [I|app|b377478b] Started GET "/node/pipe-foreman-server-nightly-debian11.kangae.example.com?format=yml" for 192.168.122.55 at 2021-11-25 14:55:21 +0000
2021-11-25T14:55:21 [F|app|b377478b]
b377478b | AbstractController::ActionNotFound (The action 'externalNodes' could not be found for HostsController):
And because I am a nice guy, I patched my local instance with your foreman_puppet patch, but the following test still fails:
β import motd puppet class
(in test file fb-test-puppet.bats, line 72)
`hammer proxy import-classes --name $(hostname -f)' failed with status 64
Error: Unrecognised option '--name'.
See: 'hammer proxy import-classes --help'.
Which is correct, according to --help:
# hammer proxy import-classes --help
Usage:
hammer proxy import-classes [OPTIONS]
Options:
--dryrun Do not run the import
--puppet-environment[-id] VALUE/NUMBER Name/id of associated Puppet environment
-h, --help Print help