Browse code

Don't install Nova policy.json

Nova ships with an empty policy.json file which it does not need.
oslo.policy previously required the empty file to be there but as of
version 1.14.0 it is possible to run with no policy file at all. Since
there are no policies defined in the sample file let's no install it.

Change-Id: I85a251376dfe38caa4b100861bf764014a98bc37
Depends-On: I09fa842ffbe75bed269cef6edc9c82d18bfe9297

Andrew Laski authored on 2016/09/29 04:05:31
Showing 1 changed files
... ...
@@ -302,8 +302,6 @@ function configure_nova {
302 302
     # Put config files in ``/etc/nova`` for everyone to find
303 303
     sudo install -d -o $STACK_USER $NOVA_CONF_DIR
304 304
 
305
-    install_default_policy nova
306
-
307 305
     configure_rootwrap nova
308 306
 
309 307
     if [[ "$ENABLED_SERVICES" =~ "n-api" ]]; then