]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commit
Change behavior with port in URI location 49/14449/1 2.2.0-mos 2.2.0-rc1
authorSergii Golovatiuk <sgolovatiuk@mirantis.com>
Sat, 5 Dec 2015 01:04:36 +0000 (02:04 +0100)
committerBartłomiej Piotrowski <bpiotrowski@mirantis.com>
Mon, 7 Dec 2015 10:05:53 +0000 (11:05 +0100)
commit19583b8a85744f914a0690060576cd189fd12dbf
tree2d350828e0b00738a6b73e155d4f55433687ee59
parent800c8cc1b2e06d7e0a273d8b51a999da8dae7ecb
Change behavior with port in URI location

When location contains port in URI, pinning policy are set to default
(500) even if config has higher value. This patch strips port from URI
leaving Host only.

Pull request: https://github.com/puppetlabs/puppetlabs-apt/pull/574
Related-bug: 1508486

Change-Id: I5f3804f1f8929c0741dd639271961d543f8c557f
manifests/source.pp
spec/defines/source_spec.rb