Pin berkshelf to < 7.2.0 to work around issues with Chef/Cinc 15
This works around a problem that was introducted in berkshelf-7.2.0 for Ruby 3.0 support that now breaks berks with the following error: ArgumentError wrong number of arguments (given 3, expected 1..2) This should be removed after we remove support for Chef/Cinc 15. Signed-off-by: Lance Albertson <lance@osuosl.org> Change-Id: Idfc0afd9ddbd9085f5b39267a50eb949930a0c70
This commit is contained in:
parent
8b56b0110f
commit
d83a892136
@ -10,7 +10,9 @@
|
|||||||
become: yes
|
become: yes
|
||||||
when: openstack_chef_client_type == 'cinc'
|
when: openstack_chef_client_type == 'cinc'
|
||||||
- name: Install berkshelf
|
- name: Install berkshelf
|
||||||
shell: /opt/chef/embedded/bin/gem install -N berkshelf
|
# TODO(ramereth): > 7.1.0 doesn't work with ruby 2.6 which is used on Chef/Cinc 15
|
||||||
|
# Remove this once we remove testing for Chef/Cinc 15
|
||||||
|
shell: /opt/chef/embedded/bin/gem install -N berkshelf -v 7.1.0
|
||||||
become: yes
|
become: yes
|
||||||
- name: Install cookstyle
|
- name: Install cookstyle
|
||||||
shell: /opt/chef/embedded/bin/gem install -N cookstyle
|
shell: /opt/chef/embedded/bin/gem install -N cookstyle
|
||||||
|
Loading…
Reference in New Issue
Block a user