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

yumrepo does not remove repo file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: PUP 4.2.1
    • Fix Version/s: None
    • Component/s: Types and Providers
    • Labels:
      None
    • Template:
    • Sub-team:
    • Team:
      Platform Core

      Description

      If I have a yum repo resource:

      yumrepo { 'test':
        ensure => 'absent',
      }
      

      it will empty a file called test.repo but it won't actually remove the file. The expectation is that it would actually remove the file too. It should clean up properly after itself.

      Ideally the ability to specify purge like you can for the apt class would be great.

      The was tested on CentOS 6.7

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              ggeldenhuis-old Gerhardus Geldenhuis
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Zendesk Support