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

quoted ssh command should work on windows and linux #175

Merged
merged 3 commits into from
Jun 20, 2024

Conversation

rgardner4012
Copy link
Contributor

@rgardner4012 rgardner4012 commented Jun 18, 2024

Fixes #174

Tested on windows 11 box:
`C:\Users\vagrant\Custom_facts>facter --custom-dir ./ ssh_host_keys
[
"PROGRAMDATA\ssh/ssh_host_rsa_key",
"PROGRAMDATA\ssh/ssh_host_ecdsa_key",
"PROGRAMDATA\ssh/ssh_host_ed25519_key"
]

C:\Users\vagrant\Custom_facts>facter --custom-dir ./ openssh_version
8.0
`

Tested on rocky8:
`[root@rocky8 custom_facts]# facter --custom-dir ./ openssh_version

8.0

[root@rocky8 custom_facts]# facter --custom-dir ./ ssh_host_keys

[
"/etc/ssh/ssh_host_rsa_key"
]`

@rgardner4012 rgardner4012 force-pushed the broken_custom_facts_on_windows branch from d8a8ace to 2723a30 Compare June 18, 2024 18:43
@rgardner4012 rgardner4012 self-assigned this Jun 20, 2024
@rgardner4012 rgardner4012 merged commit 4369276 into simp:master Jun 20, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Lack of quoting is breaking custom facts/confines on windows systems
2 participants