瀏覽代碼

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 年之前
父節點
當前提交
e07b5582dc
共有 1 個檔案被更改,包括 6 行新增0 行删除
  1. +6
    -0
      nginx/passenger.sls

+ 6
- 0
nginx/passenger.sls 查看文件

@@ -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:

Loading…
取消
儲存