Skip to content

refactor hostkeys and knownhosts classes by moving and exposing their parameters in the relevant parents#412

Closed
stuartrobert wants to merge 2 commits into
saz:masterfrom
stuartrobert:issue_411
Closed

refactor hostkeys and knownhosts classes by moving and exposing their parameters in the relevant parents#412
stuartrobert wants to merge 2 commits into
saz:masterfrom
stuartrobert:issue_411

Conversation

@stuartrobert
Copy link
Copy Markdown
Contributor

@stuartrobert stuartrobert commented Jun 20, 2025

  • moved parameters from hostkeys to server
  • removed use of knownhosts from server class
  • moved parameters from knownhosts to client
  • removed knownhosts class
  • updated data to reflect

This Pull Request (PR) fixes the following issues

Fixes #411

@stuartrobert stuartrobert marked this pull request as ready for review June 20, 2025 05:51
Comment thread manifests/server.pp
Comment thread manifests/server.pp
@krzee
Copy link
Copy Markdown

krzee commented May 8, 2026

i would welcome this "breaking change". servers dont need to receive sshkeys. i found this because i started using this puppet module and came looking for how to disable this.

@saz
Copy link
Copy Markdown
Owner

saz commented May 19, 2026

@stuartrobert can you squash commits and rebase?

- moved parameters from hostkeys to server
- removed use of knownhosts from server class
- moved parameters from knownhosts to client
- removed knownhosts class
- updated data to reflect
Comment thread manifests/hostkeys.pp
@@ -1,5 +1,5 @@
# @summary
# This class manages hostkeys
# This class manages hostkeys. It is intended to be called from `ssh::server`.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Should the class be marked private with assert_private()?

@saz
Copy link
Copy Markdown
Owner

saz commented May 22, 2026

Fixed with #443

@saz saz closed this May 22, 2026
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.

reference parameter to ssh::hostkeys and ssh::knownhosts to "parent" classes

5 participants