-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Puppet node.rb and foreman.rb fail #9
Comments
What action does one need to execute to trigger this? an agent run on a managed host? |
Normally a Puppet agent requests the catalog and we configure puppetserver to execute a file to get the ENC. [master]
node_terminus = exec
external_nodes = /etc/puppetlabs/puppet/node.rb This file is a Ruby script. Perhaps if it lived in The report that's sent after is also an odd one. Puppet loads more Ruby, so why is that allowed while this triggers something? |
Just installation triggered it for me (with the puppet feature if using Katello). |
That's probably because the agent is started by the installer and retrieves the catalog. I'm guessing the minimal reproducer is: dnf -y install https://yum.puppet.com/puppet7-release-el-8.noarch.rpm fapolicyd
dnf -y install puppetserver
. /etc/profile.d/puppet-agent.sh
puppet config set --section server node_terminus exec
puppet config set --section server external_nodes /etc/puppetlabs/puppet/node.rb
puppetserver ca setup
systemctl enable --now puppetserver
puppet agent --test |
That's also what I assume, but then I'd expect test-puppet.bats to trigger this, and it did not for me after the PrivateTmp fix: https://theforeman.org/2023/11/testing-a-foreman-installer-patch-with-packit-and-forklift.html |
The text was updated successfully, but these errors were encountered: