Open dayglojesus opened 9 years ago
Tried this...
$content = [
{
'Defer' => true,
'Enable' => 'On',
'OutputPath' => '/private/var/root/fdesetup_output.plist',
'PayloadType' => 'com.apple.MCX.FileVault2',
'ShowRecoveryKey' => false,
'UseKeychain' => true,
'UseRecoveryKey' => true,
'AskAtUserLoginMaxBypassValue' => 7,
'DontAskAtUserLogout' => true,
'ForceRestart' => true,
},
{
'DestroyFVKeyOnStandby' => false,
'PayloadType' => 'com.apple.MCX',
'dontAllowFDEDisable' => false,
},
]
mobileconfig { 'managedmac.filevault.alacarte':
ensure => present,
content => $content,
description => 'FileVault 2 configuration. Installed by Puppet.',
displayname => 'Managed Mac: FileVault 2',
organization => 'Simon Fraser University',
removaldisallowed => false,
}
But the new keys AskAtUserLoginMaxBypassValue
, DontAskAtUserLogout
and ForceRestart
are not supported by the Apple profiles schema...
bash-3.2# fdesetup showdeferralinfo
{
Defer = 1;
OutputPath = "/private/var/root/fdesetup_output.plist";
UseKeychain = 1;
}
Implementing these new keys will require some kind of "reach around".
Profiles are so the worst.
There are a whack of new FV2 toys in Yosemite. Make this class support those params.