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

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Cannot Reproduce
    • None
    • None
    • Windows
    • Windows

    • Platform OS
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support