Sha256: b4a44d9399afebae60329c6cd0e7d9b38476b8b9ede98479530bf4c5801967d4

Contents?: true

Size: 661 Bytes

Versions: 2

Compression:

Stored size: 661 Bytes

Contents

include:
  - www.users
  - www.nginx
  - lang.php

phpmyadmin:
  pkg.installed:
    - name: phpmyadmin

phpmyadmin_nginx:
  file.managed:
    - source: salt://databases/phpmyadmin/etc/nginx/sites-available/phpmyadmin.conf
    - name: {{ pillar['etc_dir'] }}nginx/sites-available/phpmyadmin.conf
    - user: root
    - group: root
    - template: jinja
    - mode: 644
  host.present:
    - name: phpmyadmin
    - ip: 127.0.0.1

phpmyadmin_nginx-enable:
  file.symlink:
    - name: {{ pillar['etc_dir'] }}nginx/sites-enabled/phpmyadmin.conf
    - target: {{ pillar['etc_dir'] }}nginx/sites-available/phpmyadmin.conf
    - require:
      - file: phpmyadmin_nginx

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
salted-rails-0.0.4 salt/databases/phpmyadmin/init.sls
salted-rails-0.0.2 salt/databases/phpmyadmin/init.sls