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

(PUP-10510) Fix sshkeys not being correctly purged #32

Merged
merged 1 commit into from
Jun 17, 2020

Conversation

GabrielNagy
Copy link
Contributor

After adding support for composite namevars in version 2.0.0, the module
lost the ability to purge sshkeys. This happens due to Puppet being
unable to correctly match the names and types of the sshkeys to be
purged.

Part of the fix was done in
puppetlabs/puppet#8174, which changes how a
resource is initialized if the provider implements a title method.

Additionally, we add the key name and type to be included in the output
shown by puppet resource.

Note: purging will still not work until puppetlabs/puppet#8174 is merged.

After adding support for composite namevars in version 2.0.0, the module
lost the ability to purge sshkeys. This happens due to Puppet being
unable to correctly match the names and types of the sshkeys to be
purged.

Part of the fix was done in
puppetlabs/puppet#8174, which changes how a
resource is initialized if the provider implements a `title` method.

Additionally, we add the key name and type to be included in the output
shown by `puppet resource`.
Copy link
Contributor

@Dorin-Pleava Dorin-Pleava left a comment

Choose a reason for hiding this comment

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

LGTM.
Tested this with the additional puppet modifications on Fedora 31, and everything worked as expected.

@mihaibuzgau mihaibuzgau merged commit 333b8a0 into puppetlabs:master Jun 17, 2020
@ciprianbadescu ciprianbadescu added the bug Something isn't working label Jun 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants