Skip to content

Commit

Permalink
Test update failure if the custom munge key will roll back?
Browse files Browse the repository at this point in the history
  • Loading branch information
hehe7318 committed Sep 14, 2023
1 parent c0be969 commit bd5c050
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@
chown #{node['cluster']['munge']['user']}:#{node['cluster']['munge']['group']} /etc/munge/munge.key
# Enforce correct permission on the key
chmod 0600 /etc/munge/munge.key
encoded_key=$(aws secretsmanager get-secret-value --secret-id arn:aws:secretsmanager:us-east-2:249582277112:secret:TestMungeKey-xxxxxx --query 'SecretString' --output text --region #{node['cluster']['region']})
exit 1
FETCH_AND_DECODE
end
else
Expand Down

0 comments on commit bd5c050

Please sign in to comment.