Skip to content

Commit

Permalink
fixes #37505 - fix clevis & tang snippet
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Stempfl committed May 24, 2024
1 parent e620cf2 commit 4607cc4
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ description: |
end
-%>

<% if (@host.operatingsystem.family == 'Redhat' || @host.operatingsystem.name == 'Ubuntu') && unless tang_server_list.blank? -%>
<% if (@host.operatingsystem.family == 'Redhat' || @host.operatingsystem.name == 'Ubuntu') && tang_server_list.present? -%>

cat > /tmp/rootdir-luks-device.sh << "EOF"
#!/bin/sh
Expand Down Expand Up @@ -87,4 +87,3 @@ else
fi

<% end -%>
<% end -%>

0 comments on commit 4607cc4

Please sign in to comment.