Sha256: 8932ee05327156193fe614107ce45c8436dc3a779ead228096987197d76e0822

Contents?: true

Size: 835 Bytes

Versions: 17

Compression:

Stored size: 835 Bytes

Contents

CHEF_VPC_PROJECT = "#{File.dirname(__FILE__)}" unless defined?(CHEF_VPC_PROJECT)

require 'rubygems'

version_file=(File.join(CHEF_VPC_PROJECT, 'config', 'TOOLKIT_VERSION'))
toolkit_version=nil
if ENV['CHEF_VPC_TOOLKIT_VERSION'] then
  toolkit_version=ENV['CHEF_VPC_TOOLKIT_VERSION']
elsif File.exists?(version_file)
  toolkit_version=IO.read(version_file)
end

#puts "Chef VPC Toolkit Version: #{toolkit_version}"

gem 'chef-vpc-toolkit', "= #{toolkit_version}" if toolkit_version

require 'chef-vpc-toolkit'

include ChefVPCToolkit

Dir[File.join("#{ChefVPCToolkit::Version::CHEF_VPC_TOOLKIT_ROOT}/rake", '*.rake')].each do  |rakefile|
    import(rakefile)
end

if File.exist?(File.join(CHEF_VPC_PROJECT, 'tasks')) then
  Dir[File.join(File.dirname("__FILE__"), 'tasks', '*.rake')].each do  |rakefile|
    import(rakefile)
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
chef-vpc-toolkit-2.8.2 contrib/rake/Rakefile
chef-vpc-toolkit-2.8.1 contrib/rake/Rakefile
chef-vpc-toolkit-2.8.0 contrib/rake/Rakefile
chef-vpc-toolkit-2.7.2 contrib/rake/Rakefile
chef-vpc-toolkit-2.7.1 contrib/rake/Rakefile
chef-vpc-toolkit-2.7.0 contrib/rake/Rakefile
chef-vpc-toolkit-2.6.1 contrib/rake/Rakefile
chef-vpc-toolkit-2.6.0 contrib/rake/Rakefile
chef-vpc-toolkit-2.5.2 contrib/rake/Rakefile
chef-vpc-toolkit-2.5.1 contrib/rake/Rakefile
chef-vpc-toolkit-2.5.0 contrib/rake/Rakefile
chef-vpc-toolkit-2.4.0 contrib/rake/Rakefile
chef-vpc-toolkit-2.3.2 contrib/rake/Rakefile
chef-vpc-toolkit-2.3.1 contrib/rake/Rakefile
chef-vpc-toolkit-2.3.0 contrib/rake/Rakefile
chef-vpc-toolkit-2.2.0 contrib/rake/Rakefile
chef-vpc-toolkit-2.1.0 contrib/rake/Rakefile