ryansb pushed to openstack-heat (master). "Configure oslo-config-generator from specfile"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 22 19:18:11 UTC 2015


>From 2b257d6156e3e0c5b2ed0a236024e0996503b2ff Mon Sep 17 00:00:00 2001
From: "Ryan S. Brown" <rybrown at redhat.com>
Date: Wed, 22 Apr 2015 14:37:53 -0400
Subject: Configure oslo-config-generator from specfile


diff --git a/openstack-heat.spec b/openstack-heat.spec
index 0c51549..e7c55fc 100644
--- a/openstack-heat.spec
+++ b/openstack-heat.spec
@@ -6,7 +6,7 @@
 Name:		openstack-heat
 Summary:	OpenStack Orchestration (heat)
 Version:	2014.2.3
-Release:	2%{?dist}
+Release:	3%{?dist}
 License:	ASL 2.0
 Group:		System Environment/Base
 URL:		http://www.openstack.org
@@ -110,7 +110,23 @@ rm -rf {test-,}requirements.txt tools/{pip,test}-requires
 find contrib -name tests -type d | xargs rm -r
 
 # Generate sample config
-oslo-config-generator --config-file=config-generator.conf
+oslo-config-generator --output-file etc/heat/heat.conf.sample \
+    --wrap-width 79 \
+    --namespace heat.common.config \
+    --namespace heat.common.crypt \
+    --namespace heat.common.heat_keystoneclient \
+    --namespace heat.common.wsgi \
+    --namespace heat.engine.clients \
+    --namespace heat.engine.notification \
+    --namespace heat.engine.resources \
+    --namespace heat.openstack.common.eventlet_backdoor \
+    --namespace heat.openstack.common.policy \
+    --namespace heat.api.middleware.ssl \
+    --namespace heat.api.aws.ec2token \
+    --namespace keystonemiddleware.auth_token \
+    --namespace oslo.messaging \
+    --namespace oslo.db \
+    --namespace oslo.log
 
 # Programmatically update defaults in sample config
 # which is installed at /etc/heat/heat.conf
@@ -522,7 +538,7 @@ fi
 
 
 %changelog
-* Wed Apr 22 2015 Ryan S. Brown <rybrown at redhat.com> 2014.2.3-2
+* Wed Apr 22 2015 Ryan S. Brown <rybrown at redhat.com> 2014.2.3-3
 - Use oslo-config-generator to build heat config, move python-oslo-config to
   main BuildRequires from with_doc section
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/openstack-heat.git/commit/?h=master&id=2b257d6156e3e0c5b2ed0a236024e0996503b2ff


More information about the scm-commits mailing list