blob: 7baf433de019779f96639dd8b3440668cd0b5983 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
Generate Trove policies sample
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Trove policies sample are no longer provided, instead it could be generated
by running the following command from the top of the trove directory:
tox -egenpolicy
Use customized policy file
~~~~~~~~~~~~~~~~~~~~~~~~~~
As Trove uses policy in code now, it's not necessary to add a policy file for
Trove components to run. But when a customized policy is needed, Trove will
take ``/etc/trove/policy.yaml`` by default. The location of the policy file
can also be overridden by adding following lines in Trove config file:
[oslo_policy]
policy_file = /path/to/policy/file
|