initial commit
Change-Id: I3ef2ec17155991b83f34344a96f9c543f47d2f29
diff --git a/metadata/service/client/single.yml b/metadata/service/client/single.yml
new file mode 100644
index 0000000..c6edea0
--- /dev/null
+++ b/metadata/service/client/single.yml
@@ -0,0 +1,25 @@
+applications:
+- xtrabackup
+classes:
+- service.xtrabackup.support
+parameters:
+ _param:
+ xtrabackup_qpress_source: tar
+ xtrabackup_qpress_source_name: http://www.quicklz.com/qpress-11-linux-x64.tar
+ xtrabackup_remote_server: cfg01
+ xtrabackup:
+ client:
+ enabled: true
+ full_backups_to_keep: 3
+ hours_before_full: 48
+ hours_before_incr: 12
+ compression: true
+ compression_threads: 2
+ database:
+ user: root
+ password: ${_param:galera_server_admin_password}
+ target:
+ host: ${_param:xtrabackup_remote_server}
+ qpress:
+ source: ${_param:xtrabackup_qpress_source}
+ name: ${_param:xtrabackup_qpress_source_name}
diff --git a/metadata/service/server/single.yml b/metadata/service/server/single.yml
new file mode 100644
index 0000000..ea49766
--- /dev/null
+++ b/metadata/service/server/single.yml
@@ -0,0 +1,14 @@
+applications:
+- xtrabackup
+parameters:
+ _param:
+ xtrabackup_public_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCzLUiHKAjfFXiZ3fsgx35uXF6VivfC5WFafu4QMalxmj6W+s277oCfdWA8Du5f1wtQXM73VQ5nHkXhM2UIfUMarsyhXK+BxKVrcgEBNHdKlDytaecUPyuOxTDdGWhN/DPv5/vL8NYWweEYBbNbLgU0Td7Rvm52TUXKThIDjeF7XDxX4ShXWipBSwU4boOUBtR8KWfga8fsqeBN+eacuAQFR3MrrOfVvAuWW6Bsf047cmd+V6Qv0raoW73Nu4M/ZAdTsaR5k62a0cHsSRoi3hCmNRqw+CZaQi8prQU6t26eWPEtznjp5EkPF+LLh8LxUoCfWqWT+Lxe8QQwT1nx/LCN
+ xtrabackup:
+ server:
+ enabled: true
+ hours_before_full: 48
+ full_backups_to_keep: 5
+ key:
+ xtrabackup_pub_key:
+ enabled: true
+ key: ${_param:xtrabackup_public_key}
diff --git a/metadata/service/support.yml b/metadata/service/support.yml
new file mode 100644
index 0000000..a92e876
--- /dev/null
+++ b/metadata/service/support.yml
@@ -0,0 +1,13 @@
+parameters:
+ xtrabackup:
+ _support:
+ xtrabackup:
+ enabled: true
+ collectd:
+ enabled: false
+ heka:
+ enabled: true
+ sensu:
+ enabled: true
+ sphinx:
+ enabled: true