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.
salt.states.apache_site.
enabled
(name)¶Ensure an Apache site is enabled.