Skip to content
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

Add support for client in Bash installation #81

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ofedoren
Copy link
Member

@ofedoren ofedoren commented Jul 19, 2024

@@ -110,7 +110,6 @@
Stdlib::Absolutepath $ca_file = $foreman_scap_client::params::ca_file,
Stdlib::Absolutepath $host_certificate = $foreman_scap_client::params::host_certificate,
Stdlib::Absolutepath $host_private_key = $foreman_scap_client::params::host_private_key,
String $package_name = 'rubygem-foreman_scap_client',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought about leaving this, but found in git history that we dropped support for Debian based package.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd rather keep it in. We (as theforeman org on github) might have dropped it, but our friends at atix still carry it in their repos https://oss.atix.de/Debian12/pool/ , although the version there is a bit dated.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then I'd need a Puppet master to teach me how one can reassign that variable since Puppet doesn't allow me :/ A different way will be to leave this variable and then add another one as a flag to choose. Or maybe revert c4270a1#diff-e78db79abb0b543310767fb9d2814cc4e2408f613de4985186251c70bdd4edbbL6 and add a similar check, but I have no idea how I can propagate obsolete variable in there...

@ekohl, since you're the master and the maintainer, can I ask you for a hint maybe?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I've found a way, but for Debian installation it'll require to provide obsolete = true with a different package name to mimik current behavior.

By default it'll try to install the new package with the new config.

@ofedoren ofedoren marked this pull request as ready for review July 26, 2024 13:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants