diff --git a/Rakefile b/Rakefile index 473a3ae..4230284 100644 --- a/Rakefile +++ b/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'] diff --git a/playbooks/pre-integration.yaml b/playbooks/pre-integration.yaml index 90a14cc..c1b33aa 100644 --- a/playbooks/pre-integration.yaml +++ b/playbooks/pre-integration.yaml @@ -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