Skip to content

Commit

Permalink
adding platform
Browse files Browse the repository at this point in the history
Signed-off-by: Pranay Singh <[email protected]>
  • Loading branch information
i5pranay93 committed Jan 11, 2022
1 parent f5e3c94 commit 605f798
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/chef_apply/action/install_chef.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ def train_to_mixlib(platform)
opts[:platform] = "sles"
when "solaris"
opts[:platform] = "solaris2"
when "aix"
opts[:platform] = "aix"
when "amazon"
opts[:platform] = "el"
if platform.release.to_i > 2010 # legacy Amazon version 1
Expand Down

0 comments on commit 605f798

Please sign in to comment.