[PUP-2152] yumrepo broken when proxy is set to absent Created: 2014/04/03  Updated: 2014/07/28  Resolved: 2014/04/03

Status: Closed
Project: Puppet
Component/s: None
Affects Version/s: PUP 3.5.0
Fix Version/s: None

Type: Bug Priority: Normal
Reporter: Robert Zotter Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
duplicates PUP-2150 yumrepo removable URL properties cann... Closed



URL to the proxy server for this repository. Set this to absent to remove it from the file completely.

Valid values are absent. Values can match /.*/.

yumrepo { 'epel-testing':
      baseurl        => "http://download.fedora.redhat.com/pub/epel/testing/6/${::architecture}",
      failovermethod => 'priority',
      proxy          => absent,
      enabled        => '0',
      gpgcheck       => '1',
      gpgkey         => "file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6",
      descr          => "Extra Packages for Enterprise Linux 6 - Testing - ${::architecture} "

Error: Parameter proxy failed on Yumrepo[epel-testing]: Must be a valid URL at /etc/puppet/modules/epel/manifests/init.pp:24
Wrapped exception:
Must be a valid URL

Comment by Steven Merrill [ 2014/04/03 ]

This is a duplicate of PUP-2150.

Generated at Wed Apr 01 14:39:26 PDT 2020 using Jira 8.5.2#805002-sha1:a66f9354b9e12ac788984e5d84669c903a370049.