Switch to using Chef 15
Change-Id: I3c981bfc19f39d869c5890e159431c50d5c97a5d
This commit is contained in:
parent
90b2f96247
commit
52970bdd45
2
Rakefile
2
Rakefile
|
@ -1,5 +1,5 @@
|
|||
current_dir = File.dirname(__FILE__)
|
||||
client_opts = "--force-formatter --no-color -z --config #{current_dir}/.chef/knife.rb"
|
||||
client_opts = "--chef-license accept --force-formatter --no-color -z --config #{current_dir}/.chef/knife.rb"
|
||||
|
||||
task default: ['test']
|
||||
|
||||
|
|
|
@ -8,12 +8,12 @@
|
|||
tasks:
|
||||
- name: Install chef package
|
||||
shell:
|
||||
cmd: ./scripts/install.sh -v 14
|
||||
cmd: ./scripts/install.sh -v 15
|
||||
chdir: /home/zuul/src/opendev.org/openstack/openstack-chef/
|
||||
become: yes
|
||||
- name: Install berkshelf
|
||||
shell: /opt/chef/embedded/bin/gem install --no-rdoc --no-ri berkshelf
|
||||
shell: /opt/chef/embedded/bin/gem install -N berkshelf
|
||||
become: yes
|
||||
- name: Install cookstyle
|
||||
shell: /opt/chef/embedded/bin/gem install --no-rdoc --no-ri cookstyle
|
||||
shell: /opt/chef/embedded/bin/gem install -N cookstyle
|
||||
become: yes
|
||||
|
|
Loading…
Reference in New Issue