Sha256: 591cf5c159a08d9dfad9bac07b50a00b7931c0d037f1560df084e327d7468543

Contents?: true

Size: 558 Bytes

Versions: 7

Compression:

Stored size: 558 Bytes

Contents

# Generate install script then write to disk for terraform to copy to the instance for execution
execute "bundle exec ruby -e \"require 'mixlib/install'; puts Mixlib::Install.new(product_name: 'omnibus-toolchain', product_version: :latest, channel: :stable).install_command\" > ../.acceptance_data/ubuntu_install_command.sh" do
  cwd node['chef-acceptance']['suite-dir']
end

execute "terraform plan" do
  cwd "#{node['chef-acceptance']['suite-dir']}/terraform"
end

execute "terraform apply" do
  cwd "#{node['chef-acceptance']['suite-dir']}/terraform"
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mixlib-install-3.9.0 acceptance/ubuntu_install_command/.acceptance/acceptance-cookbook/recipes/provision.rb
mixlib-install-3.8.0 acceptance/ubuntu_install_command/.acceptance/acceptance-cookbook/recipes/provision.rb
mixlib-install-3.7.0 acceptance/ubuntu_install_command/.acceptance/acceptance-cookbook/recipes/provision.rb
mixlib-install-3.6.0 acceptance/ubuntu_install_command/.acceptance/acceptance-cookbook/recipes/provision.rb
mixlib-install-3.5.1 acceptance/ubuntu_install_command/.acceptance/acceptance-cookbook/recipes/provision.rb
mixlib-install-3.5.0 acceptance/ubuntu_install_command/.acceptance/acceptance-cookbook/recipes/provision.rb
mixlib-install-3.4.0 acceptance/ubuntu_install_command/.acceptance/acceptance-cookbook/recipes/provision.rb