The Chef Desktop cookbook provides Windows and macOS desktop administrators a straightforward experience for configuring and managing remote devices without requiring deep command-line knowledge or experience with Ruby or Chef Infra. Administrators can set common configuration options in Chef Desktop cookbook, such as using FileVault or BitLocker drive encryption, and then deploy the configuration to the fleet.
The Chef Desktop cookbook installs onto your development environment. Once configured and tested, you then upload the Chef Desktop cookbook to your Chef Infra Server. From there, you deliver the Chef Desktop cookbook to your managed devices by adding the cookbook to the runlist in one of your Policyfiles. Like the Chef Desktop cookbook, you edit the Policyfiles for your Windows and macOS devices in your development environment and upload them to the Chef Infra Server.
disk_encryption 'Turns on BitLocker Drive Encryption' do
action :enable
# valid options include :enable, :disable, :nothing
end
chef_client_launchd 'Setup the Chef client to run every 30 minutes' do
interval 30
action :enable
# valid options include :enable, :disable
end
This cookbook uses a Policyfile, which is preset to run the cookbook when you call from the directory above where your Chef Desktop cookbook lives. Example:
chef-client -z -o chefdesktop
Resources with operating system label prefixes indicate the operating system they belong to, such as osName_app_management or (os name) disk_encryption. Resources with no operating system label prefix work interchangeably between macOS and Windows.
See the Desktop resources documentation for information about each resource.
© Chef Software, Inc.
Licensed under the Creative Commons Attribution 3.0 Unported License.
The Chef™ Mark and Chef Logo are either registered trademarks/service marks or trademarks/servicemarks of Chef, in the United States and other countries and are used with Chef Inc's permission.
We are not affiliated with, endorsed or sponsored by Chef Inc.
https://docs.chef.io/desktop/desktop-cookbook/