Skip to content

Commit c1a544b

Browse files
AriaXLikenyon
andcommitted
(PA-5805) Add Windows support in sshkeys_core
This commit enables Windows agents in the destroy_spec.rb so Windows agents can be used in sshkeys spec tests and adds Windows as a supported operating system in metadata.json. Co-authored-by: kenyon <kenyon@kenyonralph.com>
1 parent c7d5955 commit c1a544b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

metadata.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@
4444
{
4545
"operatingsystem": "Rocky"
4646
},
47+
{
48+
"operatingsystem": "windows"
49+
},
4750
{
4851
"operatingsystem": "AlmaLinux"
4952
},

spec/acceptance/tests/resource/ssh_authorized_key/destroy_spec.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
require 'spec_helper_acceptance'
22

33
RSpec.context 'ssh_authorized_key: Destroy' do
4-
confine :except, platform: ['windows']
5-
64
let(:auth_keys) { '~/.ssh/authorized_keys' }
75
let(:name) { "pl#{rand(999_999).to_i}" }
86
let(:custom_key_directory) { "/etc/ssh_authorized_keys_#{name}" }

0 commit comments

Comments
 (0)