Sha256: 4aeeb024afdcb6b99eb9f25315dbb46ddf7a142b340100c69dea9e2e2eae7e22

Contents?: true

Size: 754 Bytes

Versions: 2

Compression:

Stored size: 754 Bytes

Contents

nginx:
  pkg.installed:
    - name: nginx-full
  service:
    - running
    - enable: True
    - reload: True
    #- watch:
      #- file: {{ pillar['etc_dir'] }}nginx/nginx.conf
      #- file: {{ pillar['etc_dir'] }}nginx/sites-enabled/*
      #- file: {{ pillar['etc_dir'] }}nginx/admin.d/*
    - require:
      - file.directory: admin-d
      - pkg: nginx

admin-d:
  file.directory:
    - name: {{ pillar['etc_dir'] }}nginx/admin.d
    - user: root
    - group: root
    - mode: 755
    - require:
      - pkg: nginx

#  require:
#    - file: {{ pillar['etc_dir'] }}nginx/nginx.conf

#{{ pillar['etc_dir'] }}nginx/nginx.conf:
#  file.managed:
#    - source: salt://www/nginx/etc/nginx/nginx.conf
#    - user: root
#    - group: root
#    - mode: 644

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
salted-rails-0.0.6 salt/www/nginx/init.sls
salted-rails-0.0.5 salt/www/nginx/init.sls