Remove support for building V3 base boxes with chef

This commit is contained in:
Fabio Rehm 2013-07-07 22:30:40 -03:00
parent 14c1ebfd7c
commit 16c8ff9013

View file

@ -54,7 +54,6 @@ class BuildUbuntuBoxTaskV3 < BuildGenericBoxTaskV3
end end
end end
chef = ENV['CHEF'] == '1'
puppet = ENV['PUPPET'] == '1' puppet = ENV['PUPPET'] == '1'
babushka = ENV['BABUSHKA'] == '1' babushka = ENV['BABUSHKA'] == '1'
@ -66,41 +65,39 @@ namespace :boxes do
desc 'Build an Ubuntu Precise 64 bits box' desc 'Build an Ubuntu Precise 64 bits box'
BuildUbuntuBoxTaskV3. BuildUbuntuBoxTaskV3.
new(:precise64, new(:precise64,
:precise, 'amd64', chef: chef, puppet: puppet, babushka: babushka) :precise, 'amd64', puppet: puppet, babushka: babushka)
desc 'Build an Ubuntu Quantal 64 bits box' desc 'Build an Ubuntu Quantal 64 bits box'
BuildUbuntuBoxTaskV3. BuildUbuntuBoxTaskV3.
new(:quantal64, new(:quantal64,
:quantal, 'amd64', chef: chef, puppet: puppet, babushka: babushka) :quantal, 'amd64', puppet: puppet, babushka: babushka)
# FIXME: Find out how to install chef on raring
desc 'Build an Ubuntu Raring 64 bits box' desc 'Build an Ubuntu Raring 64 bits box'
BuildUbuntuBoxTaskV3. BuildUbuntuBoxTaskV3.
new(:raring64, new(:raring64,
:raring, 'amd64', chef: chef, puppet: puppet, babushka: babushka) :raring, 'amd64', puppet: puppet, babushka: babushka)
desc 'Build all Ubuntu boxes' desc 'Build all Ubuntu boxes'
task :all => %w( precise64 quantal64 raring64 ) task :all => %w( precise64 quantal64 raring64 )
end end
end end
# FIXME: Find out how to install chef on debian boxes
namespace :debian do namespace :debian do
namespace :build do namespace :build do
desc 'Build an Debian Squeeze 64 bits box' desc 'Build an Debian Squeeze 64 bits box'
BuildDebianBoxTaskV3. BuildDebianBoxTaskV3.
new(:squeeze64, new(:squeeze64,
:squeeze, 'amd64', chef: false, puppet: puppet, babushka: babushka) :squeeze, 'amd64', puppet: puppet, babushka: babushka)
desc 'Build an Debian Wheezy 64 bits box' desc 'Build an Debian Wheezy 64 bits box'
BuildDebianBoxTaskV3. BuildDebianBoxTaskV3.
new(:wheezy64, new(:wheezy64,
:wheezy, 'amd64', chef: false, puppet: puppet, babushka: babushka) :wheezy, 'amd64', puppet: puppet, babushka: babushka)
desc 'Build an Debian Sid/unstable 64 bits box' desc 'Build an Debian Sid/unstable 64 bits box'
BuildDebianBoxTaskV3. BuildDebianBoxTaskV3.
new(:sid64, new(:sid64,
:sid, 'amd64', chef: false, puppet: puppet, babushka: babushka) :sid, 'amd64', puppet: puppet, babushka: babushka)
desc 'Build all Debian boxes' desc 'Build all Debian boxes'
task :all => %w( squeeze64 wheezy64 sid64 ) task :all => %w( squeeze64 wheezy64 sid64 )