use Ansible/Quadlet to deploy the main app#1011
Conversation
|
/packit build |
|
If you're lazy, you could also write a migration that removes all entries you don't want instead of removing all individual migrations. answers.delete_if! do |key, _value|
['foreman', 'foreman_proxy_content', 'apache::mod::status'].include?(key) || key.start_with?('foreman::')
endWill be easier if you need to rebase this more often. |
| mod 'katello/foreman_proxy_content', :git => 'https://github.com/theforeman/puppet-foreman_proxy_content' | ||
| mod 'katello/certs', :git => 'https://github.com/theforeman/puppet-certs' | ||
| mod 'katello/katello', :git => 'https://github.com/theforeman/puppet-katello' | ||
| mod 'katello/katello', :git => 'https://github.com/theforeman/puppet-katello', branch: 'frankenstein' |
46c7f84 to
83bcc4b
Compare
this should give you a working Frankenstein 🎉 |
Oh look... more fun code that was attempting what you wanted way back: This was input to my idea to have a stand-alone to generate certificates the way puppet-certs generates them to be able to use the certs as input rather than coupling generation and deployment: |
|
You're saying we could've had a command that goes "prepare me a certs bundle" and use that certs bundle as a dedicated input to both the "foreman" and the "internal proxy" installations? THAT WOULD HAVE BEEN AWESOME! Where is my 🦄? |
|
I don't want to lose track of some changes I was testing on your frankenstein class in puppet-katello and made these updates: This allowed setting this at the answer file level: This inspired me to start working on some puppet-certs updates that should decouple things more and help. |
|
/packit build |
What am I missing? 2025-03-03 08:22:54 [ERROR ] [configure] Could not find resource 'File[/etc/pki/katello/certs/katello-default-ca.crt]' in parameter 'require' (file: /usr/share/foreman-installer/modules/certs/manifests/foreman_proxy.pp, line: 129) on node almalinux9.tanso.example.com
|
Using |
|
/packit build |
I guess I had some local changes to puppet-certs as well I didn't capture. I think all of them are captured in the flood of |
|
/packit build |
what is this?
a playground to test out deploying a Foreman/Katello with the following "adjustments":
puppet-certsforeman-quadletpuppet-foreman_proxydetails, gory details
foreman-quadletto allow usingpuppet-certsgenerated certs straight out of/root/ssl-build-- see https://github.com/theforeman/foreman-quadlet/commits/installer-certs for the details of this hackpuppet-foremanandpuppet-foreman_proxy_contentfrom the installer, which means no CLI among other thingspuppet-katelloto achieve the following:puppet-foreman_proxy_contentin the past)puppet-certscan deploy Foreman and Candlepin certs, even tho they are unused on the systemforeman-quadletand run it'sdeployplaybook at "the right time" so that it sets up Foreman/Katello/Candlepin/Pulp is deployed for usproblems
systemctl restart dynflow*, so probably some ordering issue or somethingtesting
# foreman-installer --scenario katello --foreman-proxy-oauth-consumer-key abcdefghijklmnopqrstuvwxyz123456 --foreman-proxy-oauth-consumer-secret abcdefghijklmnopqrstuvwxyz123456 --tuning development