mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-16 01:30:25 +00:00
Add MySQLdb module formula
This commit is contained in:
parent
083ebc88f9
commit
a6cf7471e5
1 changed files with 9 additions and 0 deletions
9
mysql/python.sls
Normal file
9
mysql/python.sls
Normal file
|
@ -0,0 +1,9 @@
|
|||
{% set pkg = salt['grains.filter_by']({
|
||||
'Debian': {'name': 'python-mysqldb'},
|
||||
'RedHat': {'name': 'MySQL-python'},
|
||||
}) %}
|
||||
|
||||
mysqldb-python:
|
||||
pkg:
|
||||
- installed
|
||||
- name: {{ pkg.name }}
|
Loading…
Add table
Reference in a new issue