blob: 749ede717c4c8185d73bea11a3917ee0e21cb2b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
version: 2.2
category: Database
shortdesc: MySQL/MariaDB Database
longdesc: >
Configure a MySQL or MariaDB SQL Database.
Enable the install option to install the necessary
packages for the database.
include:
- agent: ocf:heartbeat:mysql
name: database
parameters:
- name: test_table
value: ""
ops: |
op start timeout=120s
op stop timeout=120s
op monitor interval=20s timeout=30s
parameters:
- name: install
shortdesc: Enable to install required packages
type: boolean
value: false
actions:
- install: mariadb
shortdesc: Install packages
when: install
- service:
- name: mysql
action: disable
shortdesc: Let cluster manage the database
when: install
- include: database
|