File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ function Install-ChefClient {
8383 $chef_package_channel = Get-PublicSettings - From- Config- Json " bootstrap_channel" $powershellVersion
8484
8585 if (-Not $chef_package_version ) {
86- $chef_package_version = " latest "
86+ $chef_package_version = " 16 " # Until chef-17 is verified
8787 }
8888 if (-Not $chef_package_channel ) {
8989 $chef_package_channel = " stable"
Original file line number Diff line number Diff line change @@ -72,8 +72,8 @@ chef_install_from_script(){
7272 curl -L -o /tmp/$platform -install.sh https://omnitruck.chef.io/install.sh
7373 echo " Install.sh script downloaded at /tmp/$platform -install.sh"
7474 if [ -z " $chef_version " ] && [ -z " $chef_channel " ]; then
75- echo " Installing latest chef client"
76- sh /tmp/$platform -install.sh
75+ echo " Installing latest chef-16 client"
76+ sh /tmp/$platform -install.sh -v " 16 " # Until chef-17 is verified
7777 elif [ ! -z " $chef_version " ] && [ -z " $chef_channel " ]; then
7878 echo " Installing chef client version $chef_version "
7979 sh /tmp/$platform -install.sh -v $chef_version
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ Gem::Specification.new do |s|
1818 s . executables = `git ls-files -- bin/*` . split ( "\n " ) . map { |f | File . basename ( f ) }
1919 s . require_paths = [ "lib" , "spec" ]
2020
21- s . add_development_dependency "chef"
21+ s . add_development_dependency "chef" , '<= 16.13.16'
2222 s . add_development_dependency 'rubyzip' , '>= 1.0.0'
2323 s . add_development_dependency 'nokogiri'
2424
You can’t perform that action at this time.
0 commit comments