-
-
Save musonic/7e015841da073ee4f121 to your computer and use it in GitHub Desktop.
basic apache state
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apache2-mpm-prefork: | |
pkg: | |
- installed | |
service: | |
- running | |
- watch: | |
- file: /usr/local/php55/lib/php.ini | |
- file: /etc/apache2/apache2.conf | |
- file: /etc/apache2/sites-enabled/depbook.com.conf | |
- file: /etc/apache2/conf.d/php.conf | |
/usr/local/php55/lib/php.ini: | |
file.managed: | |
- contents_pillar: data:custom | |
/etc/apache2/apache2.conf: | |
file.copy: | |
- name: /etc/apache2/apache2.conf | |
- source: /srv/salt/apache2/apache2.conf | |
- force: true | |
- makedirs: true | |
/etc/apache2/sites-enabled/depbook.com.conf | |
file.copy: | |
- name: /etc/apache2/sites-enabled/depbook.com.conf | |
- source: /srv/salt/apache2/sites-enabled/depbook.com.conf | |
- force: true | |
- makedirs: true | |
/etc/apache2/conf.d/php.conf: | |
file.copy: | |
- name: /etc/apache2/conf.d/php.conf | |
- source: /srv/salt/apache2/conf.d/php.conf | |
- force: true | |
- makedirs: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment