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
This commit is contained in:
Thomas Goirand 2019-11-07 22:06:53 +01:00
parent 1cd2dddf3f
commit 2ef51c5ee2
1 changed files with 1 additions and 0 deletions

View File

@ -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'),
]