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

yumrepo priority absent is still broken.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Duplicate
    • PUP 3.5.1
    • None
    • Types and Providers
    • None
    • open source puppet on RHEL6

    Description

      According to the types reference documentation:

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

      the priority attribute can also take the value 'absent' which should mean that the priority is removed from the repo file, but puppet 3.5.1 currently complains:

      $ puppet apply --verbose /tmp/test.pp
      Error: Parameter priority failed on Yumrepo[test]: Must be within range 1-99 at /tmp/test.pp:3
      Wrapped exception:
      Must be within range 1-99

      $ cat /tmp/test.pp
      yumrepo

      { 'test': priority => absent, }

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              smithj4 Jason A. Smith
              Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support