Christian Boltz 33ee6f
{% if salt['grains.get']('include_secrets', True) %}
Christian Boltz 33ee6f
include:
Christian Boltz 33ee6f
  - secrets.role.phpmyadmin
Christian Boltz 33ee6f
{% endif %}
Christian Boltz 33ee6f
Christian Boltz 33ee6f
# apparmor: see salt/profile/countdown for the Apache AppArmor profile, it includes a ^vhost_phpmyadmin hat
Christian Boltz 33ee6f
Christian Boltz 33ee6f
profile:
Christian Boltz 33ee6f
  phpmyadmin:
Christian Boltz 33ee6f
    config:
Christian Boltz 33ee6f
      host: 192.168.47.4
Christian Boltz 33ee6f
      port: 3307
Christian Boltz 33ee6f
      AllowRoot: 'false'
Christian Boltz 33ee6f
      only_db: members
Christian Boltz 33ee6f
  # htpasswd: included from pillar/secrets/role/phpmyadmin.sls