Skip to content

Commit

Permalink
[AL2023][TEMP] Removing cluster user for HeadNode check in Kitchen tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Himani Deshpande committed Apr 22, 2024
1 parent e1b4ebb commit ecbd953
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@

control 'tag:config_cluster_user' do
title 'Check the cluster user configuration'

only_if { instance.head_node? }
# Check if authorized_keys_cluster has been created
# The command checks all the homes with globbing since the user can be different for each OS
describe command("sudo su -c 'ls /home/*/.ssh/authorized_keys_cluster'") do
its('exit_status') { should eq 0 }
end unless os_properties.redhat_on_docker?
end unless os_properties.redhat_on_docker? && os_properties.alinux2023?
end

control 'cluster_user_compute_and_login' do
Expand Down

0 comments on commit ecbd953

Please sign in to comment.