Setup for backupninja
diff --git a/aptly/meta/backupninja.yml b/aptly/meta/backupninja.yml
new file mode 100644
index 0000000..4f3f12d
--- /dev/null
+++ b/aptly/meta/backupninja.yml
@@ -0,0 +1,7 @@
+{%- from "aptly/map.jinja" import server with context -%}
+backup:
+ aptly:
+ fs_includes:
+ - {{ server.root_dir }}/pool
+ - {{ server.root_dir }}/db
+ fs_excludes: []
diff --git a/metadata/service/server/single.yml b/metadata/service/server/single.yml
index d38d34e..d87c685 100644
--- a/metadata/service/server/single.yml
+++ b/metadata/service/server/single.yml
@@ -1,3 +1,5 @@
+classes:
+- service.aptly.support
applications:
- aptly
parameters:
diff --git a/metadata/service/support.yml b/metadata/service/support.yml
index c358375..c929954 100644
--- a/metadata/service/support.yml
+++ b/metadata/service/support.yml
@@ -1,6 +1,8 @@
parameters:
aptly:
_support:
+ backupninja:
+ enabled: true
collectd:
enabled: false
heka: