Skip to content

Commit

Permalink
Fix issue with amazon linux in platform_family case
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosmmatos committed Dec 1, 2022
1 parent 13b4944 commit 3d93ed7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/cookbooks/test/recipes/install_local.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
# if os family is RHEL, set rpm extension
# if os family is debian, set deb extension
case node['platform_family']
when 'rhel'
# When RHEL or Amazon linux
when 'rhel', 'amazon'
extension = 'rpm'
when 'debian'
extension = 'deb'
Expand Down

0 comments on commit 3d93ed7

Please sign in to comment.