From 2ef51c5ee2ad65411ff6e431557644ab4d73e28b Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Thu, 7 Nov 2019 22:06:53 +0100 Subject: [PATCH] Make designate reproducible I'm forwarding the patch against the Debian package at: https://bugs.debian.org/942848 Whilst working on the Reproducible Builds effort [0] we noticed that designate could not be built reproducibly. This is because it embeds the absolute build path in the sample configuration. Patch attached that uses oslo-config's sample_default instead. [0] https://reproducible-builds.org/ Change-Id: I605bbdfe7d0b734b31cdf85691f8c6d3850fc8c7 --- designate/conf/akamai.py | 1 + 1 file changed, 1 insertion(+) diff --git a/designate/conf/akamai.py b/designate/conf/akamai.py index c28dcc0dd..e091675c0 100644 --- a/designate/conf/akamai.py +++ b/designate/conf/akamai.py @@ -31,6 +31,7 @@ AKAMAI_GROUP = cfg.OptGroup( AKAMAI_OPTS = [ cfg.StrOpt('enhanceddns_wsdl', default='file://%s' % WSDL_PATH, + sample_default=os.path.join('/path', 'to', 'EnhancedDNS.xml'), help='Akamai EnhancedDNS WSDL URL'), ]