fixes
diff --git a/metadata/service/server/single.yml b/metadata/service/server/single.yml
index 5434790..2cf1984 100644
--- a/metadata/service/server/single.yml
+++ b/metadata/service/server/single.yml
@@ -1,5 +1,7 @@
applications:
- postgresql
+classes:
+- service.postgresql.support
parameters:
postgresql:
server:
diff --git a/metadata/service/support.yml b/metadata/service/support.yml
new file mode 100644
index 0000000..e6a11a2
--- /dev/null
+++ b/metadata/service/support.yml
@@ -0,0 +1,13 @@
+parameters:
+ rabbitmq:
+ _support:
+ backupninja:
+ enabled: true
+ collectd:
+ enabled: false
+ heka:
+ enabled: false
+ sensu:
+ enabled: true
+ sphinx:
+ enabled: true
diff --git a/postgresql/meta/backupninja.yml b/postgresql/meta/backupninja.yml
new file mode 100644
index 0000000..11f529b
--- /dev/null
+++ b/postgresql/meta/backupninja.yml
@@ -0,0 +1,5 @@
+backup:
+ postgresql:
+ filesystem_include:
+ - /var/backups/postgresql
+ filesystem_exclude: {}
diff --git a/postgresql/meta/sensu.yml b/postgresql/meta/sensu.yml
new file mode 100644
index 0000000..7ae63e6
--- /dev/null
+++ b/postgresql/meta/sensu.yml
@@ -0,0 +1 @@
+check: {}
\ No newline at end of file
diff --git a/postgresql/meta/sphinx.yml b/postgresql/meta/sphinx.yml
new file mode 100644
index 0000000..1857ae9
--- /dev/null
+++ b/postgresql/meta/sphinx.yml
@@ -0,0 +1,10 @@
+{%- from "postgresql/map.jinja" import server with context %}
+doc:
+ name: postgresql
+ description: PostgreSQL is an object-relational database management system.
+ role:
+ server:
+ name: server
+ param:
+ bind:
+ value: {{ server.bind.address }}:{{ server.bind.port }}