Browse Source

Merge pull request #287 from noelmcloughlin/nochange

fix(package): avoid unnecessary state change
tags/v1.0.5
N 4 years ago
parent
commit
2e10c8a11b
No account linked to committer's email address
2 changed files with 1 additions and 5 deletions
  1. +0
    -5
      apache/package/install.sls
  2. +1
    -0
      pillar.example

+ 0
- 5
apache/package/install.sls View File

- names: {{ apache.pkg.deps|json }} - names: {{ apache.pkg.deps|json }}
- require: - require:
- apache-package-install-pkg-installed - apache-package-install-pkg-installed
{%- if grains.os_family == 'Debian' %}
cmd.run:
# because pkg.installed returns error during dpkg postinstall
- name: apt install libapache2-mod-security2 || true
{%- endif %}
{%- endif %} {%- endif %}


apache-package-install-pkg-installed: apache-package-install-pkg-installed:

+ 1
- 0
pillar.example View File

- dav_lock - dav_lock
- auth_digest - auth_digest
- socache_shmcb - socache_shmcb
- watchdog
- xml2enc - xml2enc
- ldap - ldap
disabled: # List modules to disable disabled: # List modules to disable

Loading…
Cancel
Save