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

Windows: Puppet agent doesn't create directory when parent is a mounted volume

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Windows
    • Environment:

      Windows

    • Template:
    • Epic Link:
    • Team:
      Platform OS
    • Sprint:
      Platform OS Kanban

      Description

      On Windows Server, one can create Virtual Hard Disk (VHD) images and mount them to a certain directory (for example: C:\myimage). In the output of the dir command, this looks like this:

      26.01.2016  15:06    <JUNCTION>     myimage [\??\Volume{424e0171-c617-4f40-90b0-e333fa1df204}\]

      Now, when Puppet needs to manage something inside myimage, it fails with this message:

      Error: Cannot create C:/myimage/somedir; parent directory C:/myimage does not exist
      Error: /Stage[main]/Myclass/File[C:/myimage/somedir]/ensure: change from absent to directory failed: Cannot create C:/myimage/somedir; parent directory C:/myimage does not exist

        Attachments

          Activity

            People

            Assignee:
            casey.williams Casey Williams
            Reporter:
            dhs@recommind.com Dirk Heinrichs
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support