<feed xmlns='http://www.w3.org/2005/Atom'>
<title>puppet-sshkeys_core/lib/puppet, branch main</title>
<subtitle>Puppet module for managing SSH keys</subtitle>
<id>https://cgit.fluxo.info/puppet-sshkeys_core/atom?h=main</id>
<link rel='self' href='https://cgit.fluxo.info/puppet-sshkeys_core/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/puppet-sshkeys_core/'/>
<updated>2021-10-01T11:26:09+00:00</updated>
<entry>
<title>(MODULES-11197) Update to pdk-templates 2.2.0</title>
<updated>2021-10-01T11:26:09+00:00</updated>
<author>
<name>Gabriel Nagy</name>
<email>gabriel.nagy@puppet.com</email>
</author>
<published>2021-10-01T11:23:15+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/puppet-sshkeys_core/commit/?id=b2565ef72fd744e31cc3e3836dc5b69e193fa88c'/>
<id>urn:sha1:b2565ef72fd744e31cc3e3836dc5b69e193fa88c</id>
<content type='text'>
Includes REFERENCE.md ToC fixes for MODULES-8183.
</content>
</entry>
<entry>
<title>(MODULES-10827) Exported sshkey already exists error</title>
<updated>2020-10-05T12:52:36+00:00</updated>
<author>
<name>Dorin Pleava</name>
<email>dorin.pleava@puppet.com</email>
</author>
<published>2020-10-05T09:02:33+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/puppet-sshkeys_core/commit/?id=818e45b24d6fcdc49afe9e188ac761bf60373a31'/>
<id>urn:sha1:818e45b24d6fcdc49afe9e188ac761bf60373a31</id>
<content type='text'>
Using module https://github.com/ghoneycutt/puppet-module-ssh to export
and collect sshkey resources from nodes, an 'already declared' error
appears.

This happened because when the catalog is first converted to resouces,
the sshkey resource is added via
https://github.com/puppetlabs/puppet/blob/main/lib/puppet/resource/catalog.rb#L137,
where 'resource.ref'(https://github.com/puppetlabs/puppet/blob/main/lib/puppet/type.rb#L2548)
uses 'self.title'.
Since self.title goes to the title method defined in type.rb, it will
return a different title than the title method from
https://github.com/puppetlabs/puppetlabs-sshkeys_core/blob/main/lib/puppet/provider/sshkey/parsed.rb#L31.
This mismatch try to add both resource, resulting in the 'already
declared' error.
</content>
</entry>
<entry>
<title>(MODULES-10765) Implement ecdsa-sha2-nistp521-cert-v01@openssh.com support</title>
<updated>2020-09-06T15:28:38+00:00</updated>
<author>
<name>Tim Meusel</name>
<email>tim@bastelfreak.de</email>
</author>
<published>2020-08-06T19:55:48+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/puppet-sshkeys_core/commit/?id=53b29db4a99f970b99141ae143cddb60f263de72'/>
<id>urn:sha1:53b29db4a99f970b99141ae143cddb60f263de72</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(MODULES-10765) Implement ecdsa-sha2-nistp384-cert-v01@openssh.com support</title>
<updated>2020-09-06T15:28:12+00:00</updated>
<author>
<name>Tim Meusel</name>
<email>tim@bastelfreak.de</email>
</author>
<published>2020-08-06T19:35:33+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/puppet-sshkeys_core/commit/?id=c33e9e02d8374441eb9feef20613a7a9da8c62ca'/>
<id>urn:sha1:c33e9e02d8374441eb9feef20613a7a9da8c62ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(MODULES-10765) Implement ecdsa-sha2-nistp256-cert-v01@openssh.com support</title>
<updated>2020-09-06T15:27:48+00:00</updated>
<author>
<name>Tim Meusel</name>
<email>tim@bastelfreak.de</email>
</author>
<published>2020-08-06T19:31:27+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/puppet-sshkeys_core/commit/?id=eef4923bebf6ea2c2dc9e37526b95782cb63089c'/>
<id>urn:sha1:eef4923bebf6ea2c2dc9e37526b95782cb63089c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(MODULES-10765) Implement ssh-dss-cert-v01@openssh.com support</title>
<updated>2020-09-06T15:27:15+00:00</updated>
<author>
<name>Tim Meusel</name>
<email>tim@bastelfreak.de</email>
</author>
<published>2020-08-06T19:18:41+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/puppet-sshkeys_core/commit/?id=1743b72e06d33e85b8eec11582f4b13fb59bfa3c'/>
<id>urn:sha1:1743b72e06d33e85b8eec11582f4b13fb59bfa3c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(MODULES-10765) Implement ssh-ed25519-cert-v01@openssh.com support</title>
<updated>2020-09-06T15:26:46+00:00</updated>
<author>
<name>Tim Meusel</name>
<email>tim@bastelfreak.de</email>
</author>
<published>2020-08-06T19:13:53+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/puppet-sshkeys_core/commit/?id=1e31895d63571ec2752a6faf2d9515ea4ce1c816'/>
<id>urn:sha1:1e31895d63571ec2752a6faf2d9515ea4ce1c816</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(MODULES-10765) Implement ssh-rsa-cert-v01@openssh.com support</title>
<updated>2020-08-06T18:51:56+00:00</updated>
<author>
<name>Tim Meusel</name>
<email>tim@bastelfreak.de</email>
</author>
<published>2020-08-06T18:25:21+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/puppet-sshkeys_core/commit/?id=77f63f04b407dce25f2f5533601075c580a9d727'/>
<id>urn:sha1:77f63f04b407dce25f2f5533601075c580a9d727</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Merge pull request #32 from GabrielNagy/PUP-10510/purge-sshkeys</title>
<updated>2020-06-17T07:50:21+00:00</updated>
<author>
<name>mihaibuzgau</name>
<email>mihaibuzgau@users.noreply.github.com</email>
</author>
<published>2020-06-17T07:50:21+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/puppet-sshkeys_core/commit/?id=333b8a02d3d4f44d57bdd0e8898cd1cb712d5486'/>
<id>urn:sha1:333b8a02d3d4f44d57bdd0e8898cd1cb712d5486</id>
<content type='text'>
(PUP-10510) Fix sshkeys not being correctly purged</content>
</entry>
<entry>
<title>(PUP-10510) Fix sshkeys not being correctly purged</title>
<updated>2020-05-27T14:41:49+00:00</updated>
<author>
<name>Gabriel Nagy</name>
<email>gabriel.nagy@puppet.com</email>
</author>
<published>2020-05-27T14:01:20+00:00</published>
<link rel='alternate' type='text/html' href='https://cgit.fluxo.info/puppet-sshkeys_core/commit/?id=2e059d49fbd48d0c4897518941f6a2b65785852a'/>
<id>urn:sha1:2e059d49fbd48d0c4897518941f6a2b65785852a</id>
<content type='text'>
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`.
</content>
</entry>
</feed>
