Skip to content

Instantly share code, notes, and snippets.

@thecodeassassin
Created August 23, 2013 12:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thecodeassassin/97382c253d92ad6704f2 to your computer and use it in GitHub Desktop.
Save thecodeassassin/97382c253d92ad6704f2 to your computer and use it in GitHub Desktop.
mariadb_repo:
pkgrepo:
- managed
- keyid: '0xcbcb082a1bb943db'
- keyserver: keyserver.ubuntu.com
- name: deb http://repo.maxindo.net.id/mariadb/repo/5.5/ubuntu precise main
mariadb-server:
pkg:
- installed
- require:
- pkgrepo: mariadb_repo
- file: /etc/mysql/my.cnf
# - file: /etc/mysql/debian.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