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

File type chaining does not work as expected.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Fix
    • Affects Version/s: PUP 3.4.3
    • Fix Version/s: None
    • Component/s: Types and Providers
    • Labels:
      None
    • Environment:

      Any

    • Template:

      Description

      When chaining recursive file types I would expect that all sub-entries would be executed prior to the end of the chain.

      Example:

      file { '/tmp/foo':  ensure => 'directory' }
      file { '/tmp/foo/bar.txt':
        source => 'puppet:///some/file.txt'
      }
       
      file { '/tmp/bar':
        ensure => 'directory',
        source => 'file:///tmp/foo',
        recurse => true
      }
      

      In this case, since /tmp/bar is a recursive entry pointing to /tmp/foo and /tmp/foo has files under it, I would expect that all resources under /tmp/foo would be autorequired by /tmp/bar.

        Attachments

          Activity

            People

            • Assignee:
              kylo Kylo Ginsberg
              Reporter:
              peiriannydd Trevor Vaughan
              QA Contact:
              Eric Thompson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Zendesk Support