Skip to content

Commit

Permalink
feat(passenger): inc config, snippets, servers, etc
Browse files Browse the repository at this point in the history
- currently you're forced to define extra states if you opt to install nginx with passenger,
 if you want the same outcome for passenger and nginx installs with equivalent config
- passenger is an extra module on top of nginx, makes no sense to end up with less configuration by default
  • Loading branch information
ErisDS committed Jul 23, 2019
1 parent def0618 commit e07b558
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions nginx/passenger.sls
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@
{% if salt['grains.get']('os_family') in ['Debian', 'RedHat'] %}
include:
- nginx.pkg
- nginx.config
- nginx.service
{%- if nginx.snippets is defined %}
- nginx.snippets
{%- endif %}
- nginx.servers
- nginx.certificates
passenger_install:
pkg.installed:
Expand Down

0 comments on commit e07b558

Please sign in to comment.