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

Additional file and mount autorequire

    XMLWordPrintable

Details

    • 2
    • Client 2016-05-18
    • New Feature
    • 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

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support