Switch to using Chef 15

Change-Id: I3c981bfc19f39d869c5890e159431c50d5c97a5d
This commit is contained in:
Lance Albertson 2019-12-02 17:26:59 -08:00 committed by Jens Harbott (frickler)
parent 90b2f96247
commit 52970bdd45
2 changed files with 4 additions and 4 deletions

View File

@ -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']

View File

@ -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