[PUP-8107] Ability to specify source IP for the agent Created: 2017/10/31  Updated: 2018/02/05  Resolved: 2018/01/02

Status: Closed
Project: Puppet
Component/s: None
Affects Version/s: None
Fix Version/s: PUP 4.10.10, PUP 5.3.4, PUP 5.4.0

Type: New Feature Priority: Normal
Reporter: Jere Julian Assignee: Unassigned
Resolution: Fixed Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Linux (Arista EOS) is requested by customer but this would apply to any environment with multiple IP addresses.

Acceptance Criteria:

On a system with multiple interfaces and IP addresses, such as a network switch, router, or multi-homed server, the user should be able to specify the source-IP-address that the agent uses when contacting the server. The configuration setting should be available from the command line and the puppet.conf file.

Team: Platform Core
Release Notes: New Feature
Release Notes Summary: The `sourceaddress` setting can now be used to specify which interface the agent should use for outbound HTTP requests. It may be necessary to set this if the agent is running on a host with multiple interfaces.
QA Risk Assessment: Needs Assessment


On a system with multiple IP addresses, the user should be able to specify which IP address the puppet agent will use.

This feature is especially desired on a network device that may have many IP addresses where a certain one should be chosen due to routing or security considerations. We have a large customer who has specifically requested this support for their environment.

Comment by Jere Julian [ 2017/11/16 ]

PR at https://github.com/puppetlabs/puppet/pull/6371

The customer requested that this be applied to the 4.x train as well. If not opposed, please let me know the preferred process, whether this commit can be merged there or if you prefer a separate PR. The PR has been rebased to 4.10.x.


Comment by Eric Sorenson [ 2017/11/28 ]

I'm +1 to include this in a 4.10.x FWIW - it's opt-in behind a command line switch and looks quite benign.

Comment by Josh Cooper [ 2017/11/28 ]

Merged to 4.10.x in https://github.com/puppetlabs/puppet/commit/ad78bd37cedbb95f7e17808316a13dece0fd3b4f

Comment by Josh Cooper [ 2018/01/02 ]

Merged to 5.3.x in https://github.com/puppetlabs/puppet/commit/a5ef78a46d and master in https://github.com/puppetlabs/puppet/commit/7cfda240d2

Comment by Kenn Hussey [ 2018/01/15 ]

Josh Cooper please provide release notes for this issue, if applicable. Thanks!

Generated at Thu Feb 27 00:29:30 PST 2020 using JIRA 7.7.1#77002-sha1:e75ca93d5574d9409c0630b81c894d9065296414.