deprecate keep_awake
This commit is contained in:
Родитель
fd9c5032dd
Коммит
2571208282
|
@ -20,6 +20,7 @@ Chef resources and recipes for managing and provisioning macOS.
|
||||||
- macOS High Sierra 10.13
|
- macOS High Sierra 10.13
|
||||||
- macOS Mojave 10.14
|
- macOS Mojave 10.14
|
||||||
- macOS Catalina 10.15
|
- macOS Catalina 10.15
|
||||||
|
- macOS Big Sur 11.0
|
||||||
|
|
||||||
## Attributes
|
## Attributes
|
||||||
|
|
||||||
|
@ -36,6 +37,8 @@ should be an admin user with passwordless super-user rights.
|
||||||
|
|
||||||
## Recipes
|
## Recipes
|
||||||
|
|
||||||
|
#### ***All macos-cookbook recipes are deprecated and will be removed in a future release.***
|
||||||
|
|
||||||
### Keep Awake
|
### Keep Awake
|
||||||
|
|
||||||
Prevent macOS from falling asleep, disable the screensaver, reboot upon power failure,
|
Prevent macOS from falling asleep, disable the screensaver, reboot upon power failure,
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
Chef.deprecated :generic
|
||||||
|
|
||||||
form_factor = MacOS::System::FormFactor.new(node['hardware'])
|
form_factor = MacOS::System::FormFactor.new(node['hardware'])
|
||||||
environment = MacOS::System::Environment.new(node['virtualization']['systems'])
|
environment = MacOS::System::Environment.new(node['virtualization']['systems'])
|
||||||
screensaver = MacOS::System::ScreenSaver.new(node['macos']['admin_user'])
|
screensaver = MacOS::System::ScreenSaver.new(node['macos']['admin_user'])
|
||||||
|
|
Загрузка…
Ссылка в новой задаче