Sha256: c19304f19a7e9febf01892135a83ec81489a24ffe1ffd81e50f7bd64ecaf3989

Contents?: true

Size: 659 Bytes

Versions: 4

Compression:

Stored size: 659 Bytes

Contents

#
# Cookbook Name:: learn-the-basics-rhel
# Recipe:: setup
#
# Copyright (c) 2015 The Authors, All Rights Reserved.

package 'curl'
package 'tree'

unless node['use_system_chef']
  execute 'install Chef DK' do
    command 'curl https://omnitruck.chef.io/install.sh | bash -s -- -c current -P chefdk'
    not_if 'which chef'
  end

  control_group 'validate Chef DK installation' do
    control 'validate version' do
      describe command('chef --version') do
        its (:stdout) { should match /Chef Development Kit Version: 0.11.0/ }
        its (:stdout) { should match /chef-client version: 12.7.0/ }
      end
    end
  end
end

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
chef-12.8.1 acceptance/top-cookbooks/test_run/learn-the-basics-ubuntu/cookbooks/learn-the-basics-rhel/recipes/setup.rb
chef-12.8.1 acceptance/top-cookbooks/test_run/learn-the-basics-windows/cookbooks/learn-the-basics-rhel/recipes/setup.rb
chef-12.8.1-universal-mingw32 acceptance/top-cookbooks/test_run/learn-the-basics-ubuntu/cookbooks/learn-the-basics-rhel/recipes/setup.rb
chef-12.8.1-universal-mingw32 acceptance/top-cookbooks/test_run/learn-the-basics-windows/cookbooks/learn-the-basics-rhel/recipes/setup.rb