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

Additional file and mount autorequire

    Details

    • Template:
    • Story Points:
      2
    • Sprint:
      Client 2016-05-18
    • Release Notes:
      New Feature
    • Release Notes Summary:
      Previously, mount resources didn't generate automatic dependencies for associated file resources (via autorequires logic). This improvement adds those automatic dependencies.

      Description

      Given the following catalog:

      File[/path/to/dir]
      Mount[/path/to/dir]
      File[/path/to/dir/alsodir/]
      Mount[/path/to/dir/alsodir]
      

      there will be the following autorequires:

      File[/path/to/dir] -> File[/path/to/dir/alsodir]
      Mount[/path/to/dir] -> Mount[/path/to/dir/alsodir]
      

      but not the following autorequires:

      File[/path/to/dir] -> Mount[/path/to/dir]
      File[/path/to/dir/alsodir] -> Mount[/path/to/dir/alsodir]
      Mount[/path/to/dir] -> File[/path/to/dir/alsodir]
      

      I will seek to remedy this (may be a few days before I PR this).

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  Unassigned
                  Reporter:
                  mis6541 Matt Schuchard
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: