Sha256: 7f96274a02ac31d0ccd5bc4cb06db937ca679163de849869630e5d5024f77d74

Contents?: true

Size: 1.3 KB

Versions: 4

Compression:

Stored size: 1.3 KB

Contents

include:
  - databases.mysql.client

/etc/mysql/debian.cnf:
  file.managed:
    - user: root
    - group: root
    - mode: 0600
    - replace: False
    - require:
      - pkg: mysql-server
    - require_in:
      - file: /etc/mysql

/etc/mysql/debian-start:
  file.managed:
    - user: root
    - group: root
    - mode: 0755
    - replace: False
    - require:
      - pkg: mysql-server
    - require_in:
      - file: /etc/mysql

/etc/mysql/conf.d/server-encoding-and-collation.cnf:
  file.managed:
    - user: root
    - group: root
    - mode: 0644
    - source: salt://databases/mysql/server-encoding-and-collation.cnf
    - require:
      - pkg: mysql-server
    - watch_in:
      - service: mysql-server
    - require_in:
      - file: /etc/mysql/conf.d

/etc/mysql/conf.d/default-table-engine.cnf:
  file.managed:
    - user: root
    - group: root
    - mode: 0644
    - source: salt://databases/mysql/default-table-engine.cnf
    - require:
      - pkg: mysql-server
    - watch_in:
      - service: mysql-server
    - require_in:
      - file: /etc/mysql/conf.d

mysql-server:
  pkg.installed:
    - name: {{ "mysql-server" if pillar["mysql-version"] is not defined else "mysql-server-%s" % pillar["mysql-version"] }}
  service.running:
    - name: mysql
    - require:
      - pkg: mysql-server
      - pkg: mysql-client

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
salted-rails-0.0.6 salt/databases/mysql/server.sls
salted-rails-0.0.5 salt/databases/mysql/server.sls
salted-rails-0.0.4 salt/databases/mysql/server.sls
salted-rails-0.0.2 salt/databases/mysql/server.sls