Skip to content

Commit

Permalink
Support Ruby 3.3 in Manager-5.0 (#1722)
Browse files Browse the repository at this point in the history
  • Loading branch information
srbarrios authored Oct 9, 2024
1 parent 68fa75e commit 2ba24c9
Showing 1 changed file with 0 additions and 42 deletions.
42 changes: 0 additions & 42 deletions salt/controller/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -26,39 +26,6 @@ authorized_keys_controller:
- makedirs: True

{% if '4.3' in grains.get('product_version') %}
cucumber_requisites:
pkg.installed:
- pkgs:
- gcc
- make
- wget
- ruby
- ruby-devel
- autoconf
- ca-certificates-mozilla
- automake
- libtool
- apache2-worker
- cantarell-fonts
- git-core
- aaa_base-extras
- zlib-devel
- libxslt-devel
- mozilla-nss-tools
- postgresql-devel
- unzip
# packaged ruby gems
- ruby2.5-rubygem-bundler
- twopence
- python-twopence
- twopence-devel
- twopence-shell-client
- twopence-test-server
- rubygem-twopence
- require:
- sls: repos
# WORKAROUND: Remove this case when refactorings are backported from master to 5.0
{% elif '5.0' in grains.get('product_version') %}
cucumber_requisites:
pkg.installed:
- pkgs:
Expand Down Expand Up @@ -172,15 +139,6 @@ install_npm:
- name: npm-default

{% if '4.3' in grains.get('product_version') %}
install_gems_via_bundle:
cmd.run:
- name: bundle.ruby2.5 install --gemfile Gemfile
- cwd: /root/spacewalk/testsuite
- require:
- pkg: cucumber_requisites
- cmd: spacewalk_git_repository
# WORKAROUND: Remove this case when refactorings are backported from master to 5.0
{% elif '5.0' in grains.get('product_version') %}
install_gems_via_bundle:
cmd.run:
- name: bundle.ruby2.5 install --gemfile Gemfile
Expand Down

0 comments on commit 2ba24c9

Please sign in to comment.