dayglojesus / managedmac

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

Portable Home Directory policy fails on Yosemite #42

Closed dayglojesus closed 9 years ago

dayglojesus commented 9 years ago

The policy that controls portable home directory sync does not work on Yosemite due to some mysterious network file protocol errors.

Radar filed #18062828

Until such time as Yosemite will support PHD sync with AFP homes, it may be necessary to make this class conditionally applicable to Mavericks-only.

dayglojesus commented 9 years ago

Rather than make this purely Mavericks-only, the $enable parameter has been expanded to validate bool-like strings ('true' or 'false') and version-like strings ('10.9', '10.10').

Passing a version-like string scopes the policy to that specific version of OS X.

Example:

# Enables PHD policy ONLY on Mavericks
class { 'managedmac::portablehomes':
    enable => '10.9',
}
dayglojesus commented 9 years ago

fixed in 0.5.6