Skip to content

Commit

Permalink
fix: update-bls-cmdline is not supported on Amazon Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
vchepkov committed Aug 20, 2024
1 parent 2f7a6d7 commit 69e8415
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/puppet/provider/kernel_parameter/grub2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ def self.mkconfig_cmdline
return false unless os.is_a?(Hash)

return false unless os['family'] == 'RedHat'
return false if os['name'] == 'Amazon'
return false if os['release']['major'].to_i < 9
return false if os['release']['major'].to_i == 9 && os['release']['minor'].to_i < 3

Expand Down
7 changes: 7 additions & 0 deletions metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@
"8",
"9"
]
},
{
"operatingsystem": "Amazon",
"operatingsystemrelease": [
"2",
"2023"
]
}
],
"requirements": [
Expand Down

0 comments on commit 69e8415

Please sign in to comment.