Add logrotate meta configuration for Designate

	- parametrize interval and rotate

Related: PROD-29848

Change-Id: Id1c291cd38a723018f04602f956b989639687114
diff --git a/designate/meta/logrotate.yml b/designate/meta/logrotate.yml
new file mode 100644
index 0000000..0c6af91
--- /dev/null
+++ b/designate/meta/logrotate.yml
@@ -0,0 +1,17 @@
+## Default: Daily rotation with 28 rotations kept
+{%- from "designate/map.jinja" import server with context %}
+
+{%- if server.get('enabled', False) %}
+job:
+  designate-common:
+    - files:
+        - /var/log/designate/*.log
+      options:
+        - {{ server.get('logrotate', {}).get('interval', 'daily') }}
+        - rotate: {{ server.get('logrotate', {}).get('rotate', 28) }}
+        - missingok
+        - compress
+        - delaycompress
+        - notifempty
+        - copytruncate
+{%- endif %}