summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorAndrew Laski <andrew@lascii.com>2016-06-21 16:53:57 -0400
committerAndrew Laski <andrew@lascii.com>2016-06-28 20:52:44 +0000
commit5e38fa3cb5ae850dcf2bb251b4098220424a6ed6 (patch)
treef5bcd6bc4e7ecf3df0157a7bc30706586e4915b2 /etc
parent41616f9d550ba86ee0a2ff0a57efc0bd9c0bdb2a (diff)
downloadnova-5e38fa3cb5ae850dcf2bb251b4098220424a6ed6.tar.gz
Add policy sample generation
This adds the entry point and config file necessary for using the oslo.policy sample generation script. It also adds a tox target to simplify the usage of it. The command is also run in the docs tox target since the sample file can be considered documentation. Change-Id: I18a1fa567fc04b0e0a37c02f20024b2ce483f060 Partially-Implements: bp policy-in-code
Diffstat (limited to 'etc')
-rw-r--r--etc/nova/nova-policy-generator.conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/nova/nova-policy-generator.conf b/etc/nova/nova-policy-generator.conf
new file mode 100644
index 0000000000..0f02a950af
--- /dev/null
+++ b/etc/nova/nova-policy-generator.conf
@@ -0,0 +1,3 @@
+[DEFAULT]
+output_file = etc/nova/policy.yaml.sample
+namespace = nova