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

Drop absent file declarations #451

Merged
merged 1 commit into from
May 29, 2024
Merged

Conversation

ehelms
Copy link
Member

@ehelms ehelms commented May 6, 2024

No description provided.

Copy link
Member

@ekohl ekohl left a comment

Choose a reason for hiding this comment

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

The latest addition was in 17.0.0, which was first included in Foreman 3.9. I'm a bit hesitant about that. The others go back to Foreman 3.1, which included 15.0.0 and I feel safe about that.

I'm tempted to wait a bit longer with ${default_ca_name}.pwd, but we don't officially support skipping releases so perhaps it's irrational.

@evgeni mind being the deciding third?

@@ -23,10 +23,6 @@
) {
$server_ca_path = "${certs::ssl_build_dir}/${server_ca_name}.crt"

file { "${certs::pki_dir}/private/${default_ca_name}.pwd":
ensure => absent,
Copy link
Member

Choose a reason for hiding this comment

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

This was ensured absent in 4ba477a, released in 17.0.0.

# Ensure CA key deployed to /etc/pki/katello/private no longer exists
# The CA key is not used by anything from this directory and does not need to be deployed
file { $ca_key:
ensure => absent,
Copy link
Member

Choose a reason for hiding this comment

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

Ensured absent in 028f93a, released in 14.0.0.

@@ -28,24 +28,6 @@
$java_client_cert_name = 'java-client'
$artemis_alias = 'artemis-client'
$artemis_client_dn = $certs::foreman::client_dn

cert { $java_client_cert_name:
ensure => absent,
Copy link
Member

Choose a reason for hiding this comment

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

Ensured absent in 0922645, released in 13.0.0.

@@ -89,22 +71,6 @@
key_decrypt => true,
}

file { "${pki_dir}/private/katello-tomcat.key":
ensure => absent,
Copy link
Member

Choose a reason for hiding this comment

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

Ensured absent in 8e00505 and, released in 14.0.0, but I think prior to that already.

@ekohl ekohl mentioned this pull request May 15, 2024
@evgeni
Copy link
Member

evgeni commented May 15, 2024

I like being conservative:)

@ekohl
Copy link
Member

ekohl commented May 16, 2024

@ehelms merged #452 so we already know it won't be part of 18.0.0 :)

@evgeni
Copy link
Member

evgeni commented May 16, 2024

Is it really backwards incompatible tho?
No parameters are removed and no change of functionality happens. We just stop managing resources that should be absent.

@ekohl
Copy link
Member

ekohl commented May 17, 2024

My reasoning is that you should always be able to upgrade with a minor version without too carefully looking at the release notes while a major version changes it. This just feels safer.

@ehelms
Copy link
Member Author

ehelms commented May 22, 2024

I think now that 18.0.0 is released, we can merge this?

@ekohl ekohl merged commit 95a9a34 into theforeman:master May 29, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants