Skip to content

Commit f84c890

Browse files
committed
Fix isolated spec test
1 parent eb8f411 commit f84c890

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbooks/aws-parallelcluster-environment/test/controls/isolated_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
its('owner') { should cmp 'root' }
1818
its('group') { should cmp 'root' }
1919
its('mode') { should cmp '0744' }
20-
its('content') { should match /USERS=\(root #{node['cluster']['cluster_admin_user']} #{node['cluster']['cluster_user']}\)/ }
20+
its('content') { should match /echo "Defaults env_keep += \\"AWS_DEFAULT_REGION AWS_CA_BUNDLE REQUESTS_CA_BUNDLE SSL_CERT_FILE\\"" > \/etc\/sudoers.d\/pcluster-aws-cli-envkeep/ }
2121
end
2222
end

0 commit comments

Comments
 (0)