Skip to content

Commit e07b558

Browse files
committed
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
1 parent def0618 commit e07b558

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

nginx/passenger.sls

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,13 @@
1010
{% if salt['grains.get']('os_family') in ['Debian', 'RedHat'] %}
1111
include:
1212
- nginx.pkg
13+
- nginx.config
1314
- nginx.service
15+
{%- if nginx.snippets is defined %}
16+
- nginx.snippets
17+
{%- endif %}
18+
- nginx.servers
19+
- nginx.certificates
1420
1521
passenger_install:
1622
pkg.installed:

0 commit comments

Comments
 (0)