The openstack-keystone package should include the upstream policy.v3cloudsample.json example policy file. This policy file is very useful for deployments that make use of Keystone's domains. The upstream policy is available in the Keystone source tree at: /etc/policy.v3cloudsample.json This should probably be installed in /usr/share/keystone where we already install the example paste and wsgi config files.
This should just be a matter of making hte following changes to the openstack-keystone spec file: ------------------------------------------------------------------------- diff --git a/openstack-keystone.spec b/openstack-keystone.spec index 9df6661..886d7b5 100644 --- a/openstack-keystone.spec +++ b/openstack-keystone.spec @@ -152,6 +152,7 @@ install -d -m 755 %{buildroot}%{_sysconfdir}/keystone install -p -D -m 640 etc/keystone.conf %{buildroot}%{_sysconfdir}/keystone/keystone.conf install -p -D -m 644 etc/keystone-paste.ini %{buildroot}%{_datadir}/keystone/keystone-dist-paste.ini install -p -D -m 644 %{SOURCE20} %{buildroot}%{_datadir}/keystone/keystone-dist.conf +install -p -D -m 644 etc/policy.v3cloudsample.json %{buildroot}%{_datadir}/keystone/policy.v3cloudsample.json install -p -D -m 640 etc/logging.conf.sample %{buildroot}%{_sysconfdir}/keystone/logging.conf install -p -D -m 640 etc/default_catalog.templates %{buildroot}%{_sysconfdir}/keystone/default_catalog.templates install -p -D -m 640 etc/policy.json %{buildroot}%{_sysconfdir}/keystone/policy.json @@ -239,6 +240,7 @@ fi %dir %{_datadir}/keystone %attr(0644, root, keystone) %{_datadir}/keystone/keystone-dist.conf %attr(0644, root, keystone) %{_datadir}/keystone/keystone-dist-paste.ini +%attr(0644, root, keystone) %{_datadir}/keystone/policy.v3cloudsample.json %attr(0755, root, root) %{_datadir}/keystone/sample_data.sh %attr(0644, root, keystone) %{_datadir}/keystone/keystone.wsgi %attr(0644, root, keystone) %{_datadir}/keystone/wsgi-keystone.conf -------------------------------------------------------------------------
http://pkgs.fedoraproject.org/cgit/openstack-keystone.git/commit/?id=99e53b084dd965b90215ace00f15519b60afa3e6