salt.states.apache_site

Manage Apache Sites

New in version 2016.3.0.

Enable and disable apache sites.

Enable default site:
  apache_site.enabled:
    - name: default

Disable default site:
  apache_site.disabled:
    - name: default
salt.states.apache_site.disabled(name)

Ensure an Apache site is disabled.

name

Name of the Apache site

salt.states.apache_site.enabled(name)

Ensure an Apache site is enabled.

name

Name of the Apache site