[openstack-glance] add /etc/glance/schema-image.json config file

Alan Pevec apevec at fedoraproject.org
Fri Aug 24 18:01:30 UTC 2012


commit 2ec79d83818be87aff18a43ae7cce481b258a07e
Author: Alan Pevec <apevec at redhat.com>
Date:   Fri Aug 24 19:59:29 2012 +0200

    add /etc/glance/schema-image.json config file

 openstack-glance.spec |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/openstack-glance.spec b/openstack-glance.spec
index 942b619..8e9b083 100644
--- a/openstack-glance.spec
+++ b/openstack-glance.spec
@@ -143,6 +143,7 @@ rm -f %{buildroot}%{_sysconfdir}/glance*.conf
 rm -f %{buildroot}%{_sysconfdir}/glance*.ini
 rm -f %{buildroot}%{_sysconfdir}/logging.cnf.sample
 rm -f %{buildroot}%{_sysconfdir}/policy.json
+rm -f %{buildroot}%{_sysconfdir}/schema-image.json
 rm -f %{buildroot}/usr/share/doc/glance/README.rst
 
 # Setup directories
@@ -156,6 +157,7 @@ install -p -D -m 640 etc/glance-registry-paste.ini %{buildroot}%{_sysconfdir}/gl
 install -p -D -m 640 etc/glance-cache.conf %{buildroot}%{_sysconfdir}/glance/glance-cache.conf
 install -p -D -m 640 etc/glance-scrubber.conf %{buildroot}%{_sysconfdir}/glance/glance-scrubber.conf
 install -p -D -m 640 etc/policy.json %{buildroot}%{_sysconfdir}/glance/policy.json
+install -p -D -m 640 etc/schema-image.json %{buildroot}%{_sysconfdir}/glance/schema-image.json
 
 # Initscripts
 install -p -D -m 644 %{SOURCE1} %{buildroot}%{_unitdir}/openstack-glance-api.service
@@ -225,6 +227,7 @@ fi
 %config(noreplace) %attr(-, root, glance) %{_sysconfdir}/glance/glance-cache.conf
 %config(noreplace) %attr(-, root, glance) %{_sysconfdir}/glance/glance-scrubber.conf
 %config(noreplace) %attr(-, root, glance) %{_sysconfdir}/glance/policy.json
+%config(noreplace) %attr(-, root, glance) %{_sysconfdir}/glance/schema-image.json
 %config(noreplace) %attr(-, root, glance) %{_sysconfdir}/logrotate.d/openstack-glance
 %dir %attr(0755, glance, nobody) %{_sharedstatedir}/glance
 %dir %attr(0755, glance, nobody) %{_localstatedir}/log/glance


More information about the scm-commits mailing list