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

appdmg provider reports success but doesn't install the package

    XMLWordPrintable

    Details

    • Template:
    • Team:
      Night's Watch
    • Sprint:
      PR - Triage

      Description

      Using the manifest:

      package { 'Scratch':
        ensure   => installed,
        source   => 'http://download.scratch.mit.edu/MacScratch1.4.dmg',
        provider => appdmg,
      }
      

      Puppet downloads the package, fails to install it, yet says it was installed:

      $ sudo bundle exec puppet apply scratch.pp --debug
      ...
      Debug: Prefetching appdmg resources for package
      Debug: Executing '/usr/bin/curl -o /tmp/d20141208-15694-is8sx/Scratch -C - -L -s --url http://download.scratch.mit.edu/MacScratch1.4.dmg'
      Debug: Success: curl transferred [Scratch]
      Debug: Executing '/usr/bin/hdiutil mount -plist -nobrowse -readonly -mountrandom /tmp /tmp/d20141208-15694-is8sx/Scratch'
      Debug: Unable to find .app in .appdmg. Scratch will not be installed.
      Debug: Executing '/usr/bin/hdiutil eject /private/tmp/dmg.qw0JNy'
      Notice: /Stage[main]/Main/Package[Scratch]/ensure: created
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              josh Josh Cooper
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:

                  Zendesk Support