-
Notifications
You must be signed in to change notification settings - Fork 24
(FACT-2330) Add ssh fact for Windows OpenSSH feature #424
Conversation
fb169e7
to
865fdcf
Compare
lib/framework/core/file_loader.rb
Outdated
require "#{ROOT_DIR}/lib/resolvers/utils/ssh.rb" | ||
require "#{ROOT_DIR}/lib/resolvers/utils/ssh_helper.rb" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why there is a util/shh and a util/ssh_helper?
This is a bit confusing, alongside the fact that there are also other utils in different locations with different purposes. Could this 2 ssh be a single source?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
util/shh is an object that contains structured information about a ssh key. util/ssh_helper creates an object of type util/shh after creating a fingerprint and extracting other information
7b73a76
to
8aad8c3
Compare
24e547e
to
126eca8
Compare
|
||
private | ||
|
||
def create_ssh_fact(ssh) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this duplicated in each ssh fact? is there a ticket to solve the duplications?
No description provided.