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

resource type tidy does not honor metaparameter noop

    XMLWordPrintable

    Details

    • Template:
      PUP Bug Template
    • Acceptance Criteria:
      Hide

      Resource type tidy honors the `noop` parameter.

      Show
      Resource type tidy honors the `noop` parameter.
    • Sub-team:
    • Team:
      Platform Core
    • Story Points:
      3
    • Sprint:
      Platform Core KANBAN
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      If noop is set to true directly on a tidy resource, then puppet will not purge its children.
    • QA Risk Assessment:
      No Action

      Description

      The resource type tidy ignores the noop parameter. The code below removes the matching files where it should noop that operation.

      tidy { 'remove_dot_files':
            path    => '/home',
            matches => [ '.rhost', '.netrc', '.forward' ],
            recurse => true,
            noop    => true,
      }
      

        Attachments

          Activity

            People

            Assignee:
            eric.delaney Eric Delaney
            Reporter:
            reinder R. Schuitemaker
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support