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

Fixes #32567: Ensure bootstrap RPM symlink exists #357

Merged
merged 1 commit into from
May 10, 2021

Conversation

ehelms
Copy link
Member

@ehelms ehelms commented May 8, 2021

Adds a separate existence check for the symlink to ensure it exists
and points at the latest RPM. This ensures that if something removes
the symlink on the system tne next puppet run will put the symlink
back in place. Prior to this the symlink could be removed from the
system and the only way Puppet would put it back was if the RPM itself
got updated.

Adds a separate existence check for the symlink to ensure it exists
and points at the latest RPM. This ensures that if something removes
the symlink on the system tne next puppet run will put the symlink
back in place. Prior to this the symlink could be removed from the
system and the only way Puppet would put it back was if the RPM itself
got updated.
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.

In the concat module a resource is generated: https://github.com/puppetlabs/puppetlabs-concat/blob/70070beb18b04cd8bd8fb6c9556848bdd0b5f915/lib/puppet/type/concat_file.rb#L323-L354

I wonder if we could do the same thing here.

I'm fine merging this now. Just good to remember that is also a thing if you need it.

@ehelms ehelms merged commit f495723 into theforeman:master May 10, 2021
@ehelms ehelms added Bug and removed Needs testing labels May 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants