Skip to content

Instantly share code, notes, and snippets.

@jlund
Last active December 18, 2015 09:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jlund/5761131 to your computer and use it in GitHub Desktop.
Save jlund/5761131 to your computer and use it in GitHub Desktop.
Fix for Passenger 4 installation issues in my salt-rack Salt States
# Run the Nginx install script
nginx-install:
cmd.script:
- name: salt://nginx-passenger/install.sh
- unless: /opt/nginx/sbin/nginx -v 2>&1 | grep 1.4.1
- template: jinja
- require:
- file: nginx-source
- cmd: passenger
- file: /usr/local/bin/rake
- file: /usr/local/bin/ruby
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment