From 605f7980f41bc0f840c787bd1cd34b7e5803cd54 Mon Sep 17 00:00:00 2001 From: Pranay Singh Date: Wed, 5 Jan 2022 18:28:32 +0530 Subject: [PATCH] adding platform Signed-off-by: Pranay Singh --- lib/chef_apply/action/install_chef.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/chef_apply/action/install_chef.rb b/lib/chef_apply/action/install_chef.rb index f0657a029..f9453b100 100644 --- a/lib/chef_apply/action/install_chef.rb +++ b/lib/chef_apply/action/install_chef.rb @@ -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