-
-
Save thecodeassassin/830b8c35df6b1dbefd4e 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
packages: | |
pkg.installed: | |
- names: | |
- python2.7-dev | |
- libjpeg62-dev | |
- python-dev | |
- git | |
- python-virtualenv | |
- python-pip | |
- php5-dev | |
- php5-cli | |
- python-mysqldb | |
mariadb_repo: | |
pkgrepo: | |
- managed | |
- keyid: '0xcbcb082a1bb943db' | |
- keyserver: keyserver.ubuntu.com | |
- name: deb http://repo.maxindo.net.id/mariadb/repo/5.5/ubuntu precise main | |
/etc/mysql/my.cnf: | |
file: | |
- managed | |
- source: salt://templates/database/my.cnf | |
- mode: 644 | |
- makedirs: True | |
mariadb-server: | |
pkg: | |
- installed | |
- require: | |
- pkgrepo: mariadb_repo | |
- file: /etc/mysql/my.cnf | |
service: | |
- name: mysql | |
- running | |
- enable: True | |
- watch: | |
- file: /etc/mysql/my.cnf | |
- require: | |
- pkg: mariadb-server | |
- pkg: python-mysqldb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment