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

Specifying file attribute 'recurse' without 'source' doesn't give an error

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: PUP 3.6.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      Ubuntu 14.04

    • Template:

      Description

      Specifying a file resource with the attribute recurse => true without a source attribute creates the directory, but doesn't give any errors or warning.

      Not sure if this is intended behavior, but as a new user it was confusing that it worked.

      Manifest file used:

      file { "/tmp/recursive_dir":
        ensure  => directory,
        recurse => true
      }
      
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              joe.pinsonault Joe Pinsonault
              QA Contact:
              Joe Pinsonault
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support