puppetlabs / puppetlabs-sshkeys_core

Apache License 2.0
4 stars 32 forks source link

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

Closed GabrielNagy closed 4 years ago

GabrielNagy commented 4 years ago

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 https://github.com/puppetlabs/puppet/pull/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 https://github.com/puppetlabs/puppet/pull/8174 is merged.