Browse Source

feat(passenger): inc config, snippets, servers, etc

- 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
tags/v2.3.0
Hannah Wolfe 5 years ago
parent
commit
e07b5582dc
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      nginx/passenger.sls

+ 6
- 0
nginx/passenger.sls View File

{% if salt['grains.get']('os_family') in ['Debian', 'RedHat'] %} {% if salt['grains.get']('os_family') in ['Debian', 'RedHat'] %}
include: include:
- nginx.pkg - nginx.pkg
- nginx.config
- nginx.service - nginx.service
{%- if nginx.snippets is defined %}
- nginx.snippets
{%- endif %}
- nginx.servers
- nginx.certificates


passenger_install: passenger_install:
pkg.installed: pkg.installed:

Loading…
Cancel
Save