summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Goirand <zigo@debian.org>2017-12-06 21:55:31 +0100
committerGraham Hayes <gr@ham.ie>2017-12-07 16:29:09 +0000
commit2fff7cda03778c410f0491361b4d243ae7f877eb (patch)
tree516a83e90e437db1859005a9028c97b702130126
parentb343927604d934acce5bcb8661ca16bad3a6d788 (diff)
Make designate.conf reproducible
The hostname of the build machine leaks in the designate.conf. Therefore, this patch sets sample_default='<Hostname>' to make the build reproducible. If you don't know about reproducible build, please read here: https://wiki.debian.org/ReproducibleBuilds/About Change-Id: I972aed4cf47510eb669d1db61c8f569136f861b6 Closes-Bug: #1736801
Notes
Notes (review): Code-Review+2: Graham Hayes <gr@ham.ie> Workflow+1: Graham Hayes <gr@ham.ie> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Thu, 07 Dec 2017 19:36:17 +0000 Reviewed-on: https://review.openstack.org/526192 Project: openstack/designate Branch: refs/heads/master
-rw-r--r--designate/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/designate/__init__.py b/designate/__init__.py
index befb2d0..f98560f 100644
--- a/designate/__init__.py
+++ b/designate/__init__.py
@@ -29,6 +29,7 @@ import oslo_messaging as messaging
29 29
30designate_opts = [ 30designate_opts = [
31 cfg.StrOpt('host', default=socket.gethostname(), 31 cfg.StrOpt('host', default=socket.gethostname(),
32 sample_default='current_hostname',
32 help='Name of this node'), 33 help='Name of this node'),
33 cfg.StrOpt( 34 cfg.StrOpt(
34 'pybasedir', 35 'pybasedir',