Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-2152

yumrepo broken when proxy is set to absent

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Duplicate
    • PUP 3.5.0
    • None
    • None
    • None

    Description

      http://docs.puppetlabs.com/references/latest/type.html#yumrepo-attribute-proxy

      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
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rzotter Robert Zotter
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support