dayglojesus / managedmac

Comprehensive Puppet module for OS X.
http://dayglojesus.github.io/managedmac/
Apache License 2.0
62 stars 21 forks source link

managedmac::softwareupdate class needs to be updated for Yosemite #82

Closed dayglojesus closed 8 years ago

dayglojesus commented 9 years ago

In the App Store preference pane:

The first is a new feature, the other is an existing feature that does not work in 10.10 because the preference domain for it has been changed to com.apple.commerce from com.apple.storeagent. Annoying, but it makes sense because the "commerce" tag describes what this does so well. 🗿

dayglojesus commented 9 years ago

Here's an example workaround...

  ##############################################################
  # App Store apps autoupdates
  ##############################################################

  $commerce_content = {
    'AutoUpdate'                              => true,
    'AutoUpdateRestartRequired'               => false,
    'AutoUpdateRestartRequiredMajorOSVersion' => '10.10'
  }

  propertylist { '/Library/Preferences/com.apple.commerce.plist':
    method    => insert,
    provider  => defaults,
    content   => $commerce_content,
    format    => 'binary',
    group     => 'wheel',
    mode      => '0644',
    owner     => 'root',
  }
dayglojesus commented 8 years ago

Fix is in develop. Ready for release 3.8.3.