Files
trove/etc/trove/README-policy.generated.md
T
melissaml f83a247bd6 fix a typo in documentation
Change-Id: Ic53adfb74c628c8ca85b2fa2107999c1ae816833
2018-03-23 08:08:18 +08:00

646 B

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.json`` 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