salt.states.apache_site module

Manage Apache Sites

2016.3.0 新版功能.

Enable and disable apache sites.

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

Disable default site:
    apache_site.disable:
        - 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