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

@@ -10,11 +10,6 @@ apache-package-install-deps-pkg-installed:
- names: {{ apache.pkg.deps|json }}
- require:
- 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 %}

apache-package-install-pkg-installed:

+ 1
- 0
pillar.example View File

@@ -405,6 +405,7 @@ apache:
- dav_lock
- auth_digest
- socache_shmcb
- watchdog
- xml2enc
- ldap
disabled: # List modules to disable

Loading…
Cancel
Save