Sha256: 50f0d36d9dcc613ad57d019fb571910e57578380b7c7f3d6e1fdba86af3f398e

Contents?: true

Size: 660 Bytes

Versions: 1

Compression:

Stored size: 660 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chef-vpc-toolkit-2.0.0 contrib/rake/Rakefile