Permalink
Browse files

Fix assets pipeline compilation step

* The assets group for the Gemfile was removed from  Rails 4. Hence, we
remove the group from the Gemfile
* The Debian package for the sass gem is on version 3.4.23. Hence, we
change this gem version in the Gemfile.lock
  • Loading branch information...
athos-ribeiro committed May 25, 2018
1 parent a634622 commit e5915647ac5454987c6c9718bd8aba2efb51769d
Showing with 12 additions and 0 deletions.
  1. +12 −0 salt/obs.sls
View
@@ -12,6 +12,18 @@ enable_obs_workers:
- repl: 'ENABLED=1'
- count: 1
patch1_obs_api_gemfile_lock:
cmd.run:
- name: sed -i 's/sass (3.4.22)/sass (3.4.23)/' /usr/share/obs/api/Gemfile.lock
patch2_obs_api_gemfile:
cmd.run:
- name: sed -i 's/^group :assets do$//' /usr/share/obs/api/Gemfile
patch3_obs_api_gemfile:
cmd.run:
- name: sed -i '93s/^end$//' /usr/share/obs/api/Gemfile
enable_apache_ssl_module:
cmd.run:
- name: a2enmod ssl

0 comments on commit e591564

Please sign in to comment.