]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
sirona-aem - add zfs rotation cron
authorPhilipp Dallig <philipp.dallig@pixelpark.com>
Tue, 9 Aug 2016 13:47:50 +0000 (15:47 +0200)
committerPhilipp Dallig <philipp.dallig@pixelpark.com>
Tue, 9 Aug 2016 13:47:50 +0000 (15:47 +0200)
customer/sirona-aem/int01-author-sirona.pixelpark.net.yaml
customer/sirona-aem/int01-publish-sirona.pixelpark.net.yaml
customer/sirona-aem/int02-publish-sirona.pixelpark.net.yaml

index 24154e1ae6a36c3b1dc86bce6e338e45bb64cd7e..4bffb396f495a9d8e0a84593470bdacd5ec0fb1a 100644 (file)
@@ -2,4 +2,12 @@
 site::role: base
 site::additional_classes:
   - repo::redhat::zfs
-  - site::profile::aem::author
\ No newline at end of file
+  - site::profile::aem::author
+
+site::profile::cron::cronjobs:
+  zfs_rotation:
+    user: root
+    command: '/usr/local/sbin/zfs_rotation.sh datapool 2592000' # 30 days
+    minute: 0
+    hour: 2
+    description: ZFS Snapshot
\ No newline at end of file
index cc23edc75e85a0099cdb0f66a18523394f9f6190..ca11eb5f6a9c377748321c114c133d89bccb0f91 100644 (file)
@@ -2,4 +2,12 @@
 site::role: base
 site::additional_classes:
   - repo::redhat::zfs
-  - site::profile::aem::publish
\ No newline at end of file
+  - site::profile::aem::publish
+
+site::profile::cron::cronjobs:
+  zfs_rotation:
+    user: root
+    command: '/usr/local/sbin/zfs_rotation.sh datapool 2592000' # 30 days
+    minute: 0
+    hour: 2
+    description: ZFS Snapshot
\ No newline at end of file
index cc23edc75e85a0099cdb0f66a18523394f9f6190..ca11eb5f6a9c377748321c114c133d89bccb0f91 100644 (file)
@@ -2,4 +2,12 @@
 site::role: base
 site::additional_classes:
   - repo::redhat::zfs
-  - site::profile::aem::publish
\ No newline at end of file
+  - site::profile::aem::publish
+
+site::profile::cron::cronjobs:
+  zfs_rotation:
+    user: root
+    command: '/usr/local/sbin/zfs_rotation.sh datapool 2592000' # 30 days
+    minute: 0
+    hour: 2
+    description: ZFS Snapshot
\ No newline at end of file