Add policy management for gnocchi
PROD-34861
Change-Id: Ifd68a957a8829f098ac635ae72a494b86d29ccd6
diff --git a/tests/pillar/server_cluster.sls b/tests/pillar/server_cluster.sls
index 39738f8..2d976ce 100644
--- a/tests/pillar/server_cluster.sls
+++ b/tests/pillar/server_cluster.sls
@@ -89,6 +89,10 @@
secret_key: secret
metricd:
workers: 5
+ policy:
+ 'resource_owner': 'project_id:%(project_id)s'
+ 'get status': 'role:admin'
+ 'list resource type':
statsd:
resource_id: 07f26121-5777-48ba-8a0b-d70468133dd9
enabled: true
diff --git a/tests/pillar/server_single.sls b/tests/pillar/server_single.sls
index d152355..c628cb2 100644
--- a/tests/pillar/server_single.sls
+++ b/tests/pillar/server_single.sls
@@ -56,6 +56,10 @@
port: 11211
metricd:
workers: 5
+ policy:
+ 'resource_owner': 'project_id:%(project_id)s'
+ 'get status': 'role:admin'
+ 'list resource type':
statsd:
resource_id: 07f26121-5777-48ba-8a0b-d70468133dd9
enabled: true