Fix bug bypassing following configuration engine
This commit is contained in:
parent
14bd12e4ce
commit
624eb05afe
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ class BuildGenericBoxTask < ::Rake::TaskLib
|
||||||
Dir.chdir 'boxes/temp' do
|
Dir.chdir 'boxes/temp' do
|
||||||
sh "sudo ../#{@distrib}/download #{@arch} #{@release}"
|
sh "sudo ../#{@distrib}/download #{@arch} #{@release}"
|
||||||
[ :puppet, :chef, :babushka ].each do |cfg_engine|
|
[ :puppet, :chef, :babushka ].each do |cfg_engine|
|
||||||
break unless instance_variable_get :"@install_#{cfg_engine}"
|
next unless instance_variable_get :"@install_#{cfg_engine}"
|
||||||
script_name = "install-#{cfg_engine}"
|
script_name = "install-#{cfg_engine}"
|
||||||
install_path = File.join '..', @distrib, script_name
|
install_path = File.join '..', @distrib, script_name
|
||||||
unless File.readable? install_path
|
unless File.readable? install_path
|
||||||
|
|
Loading…
Reference in a new issue