[Pkg-puppet-devel] Bug#1021198: puppet-agent: please make the build reproducible
Chris Lamb
lamby at debian.org
Mon Oct 3 15:47:55 BST 2022
Source: puppet-agent
Version: 7.16.0-3
Severity: wishlist
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: environment
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org
Hi,
Whilst working on the Reproducible Builds effort [0] we noticed that
puppet-agent could not be built reproducibly.
This is because the domain name of the system is embedded in the
manual page.
A patch is attached, which is based on the parallel (if not identical)
patch attached to bug #1009799 in the "puppet" source package that was
authored by Vagrant Cascadian.
[0] https://reproducible-builds.org/
Regards,
--
,''`.
: :' : Chris Lamb
`. `'` lamby at debian.org / chris-lamb.co.uk
`-
-------------- next part --------------
--- a/lib/puppet/defaults.rb 2022-10-03 07:24:21.733301222 -0700
--- b/lib/puppet/defaults.rb 2022-10-03 07:35:15.654024548 -0700
@@ -1613,7 +1613,7 @@
:desc => "Whether the server will search for SRV records in DNS for the current domain.",
},
:srv_domain => {
- :default => lambda { Puppet::Settings.domain_fact },
+ :default => lambda { ENV.has_key?('SOURCE_DATE_EPOCH') ? '(node\'s fully qualified domain name)' : Puppet::Settings.domain_fact },
:desc => "The domain which will be queried to find the SRV records of servers to use.",
},
:http_extra_headers => {
More information about the Pkg-puppet-devel
mailing list