Problem: Provisioning template fails to download to machine due to 500 error on the server. Error text when browser preview is attempted: There was an error rendering the Preseed default finish template: ERF42-7327 [Foreman::Exception]: The snippet 'puppet.conf' threw an error: undefined method '#present?' for Safemode::Jail (Environment)
Expected outcome: Preseed template can be downloaded by the machine or previewed in the browser (both return that error).
Foreman and Proxy versions: 2.5.0
Foreman and Proxy plugin versions: Also 2.5.0(?). I apologize if these are not the correct values
Distribution and version: Debian 10. Install attempted to both Debian 10 and Ubuntu 20.04 systems which result in the same outcome.
Other relevant data: I have not modified the puppet.conf file from what was installed by Foreman.
Where/How do you patch this? I’m not familiar with the architecture, though we use (used) foreman to image 700 CentOS7 computers. Now we’re stuck since the latest update. I also don’t see 2.5.1 available in my repository to install.
Thanks! I was able to modify the file and it’s working again. I have no clue how how those words made it work, but it’s amazing to see. Thank you. Is there a donation form for foreman? I might be able to get my company, SAIC, to throw a few dimes in. Many large DoD contractors are using foreman for Linux imaging (as cobbler no longer works for our use cases). I appreciate your help with this. We’re trying to get CentOS 7 pushed out 700+ workstations.
If you want to donate right now, what you can do is donating hardware resources (typically IaaS cloud instance(s)). Our tests are so slow (about an hour per each PR), we have just limited amount of worker nodes and thanks to our great sponsors we were able to stabilize a bit, but faster tests are huge help. It is indeed a commitment, a longer-term instance is what we want. Well, if you are interested, feel free to start a new topic here and our infra team will get back to you with details.