Created
July 3, 2013 08:46
-
-
Save tunglam14/5916430 to your computer and use it in GitHub Desktop.
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
php5-cli: # without apache2 | |
pkg: | |
- installed | |
php5-fpm: | |
pkg: | |
- installed | |
- required: | |
- pkg: php5-cli | |
nginx: | |
pkg: | |
- installed | |
service: # run service after install | |
- running | |
- watch: | |
- file: /usr/share/nginx/www/index.php | |
- required: | |
- pkg: php5-fpm | |
/usr/share/nginx/www/index.php: | |
file: | |
- managed | |
- source: salt://nginx/index.php | |
- required: | |
- pkg: nginx | |
/etc/nginx/sites-available/default: | |
file: | |
- managed | |
- source: salt://nginx/default | |
- required: | |
- pkg: nginx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment