https://supermarket.chef.io/cookbooks/windows_uac windows_uac 'Disable UAC prompts for the admin' do enable_uac true prompt_on_secure_desktop false consent_behavior_admins :no_prompt end
https://supermarket.chef.io/cookbooks/windows_dns windows_dns_zone 'chef.local' do server_type 'standalone' end windows_dns_record 'chef-server' do record_type 'cname' zone 'chef.local' target 'web01.chef.local' end
https://supermarket.chef.io/cookbooks/windows_dfs windows_dfs_namespace 'prodshare' do description 'Used to easily access shares on other servers' action :install full_users 'localhost\\users' end windows_dfs_folder "Some\\Nested\\Path" do description "Link to MyServer share MyShare" namespace_name 'prodshare' target_path "\\\\server\\target_share\\Some\\Nested\\Path" action :install end
• Resources can have descriptions and additional metadata (e.g. mark as deprecated) • chef-resource-inspector helps show actions and properties without leaving the CLI
Container Instances • Access via Azure Portal or via dedicated site https://shell.azure.com • Pre-loaded with tools required to administer and deploy within the Azure environment
describe azurerm_virtual_machine(resource_group: 'MyResourceGroup', name: 'prod-web-01') do it { should exist } it { should have_monitoring_agent_installed } it { should_not have_endpoint_protection_installed([]) } it { should have_only_approved_extensions(['MicrosoftMonitoringAgent']) } its('installed_extensions_types') { should include('MicrosoftMonitoringAgent') } end end
7/2008 (yay!) • No more 32 bit installations (please!) • Policyfile workflow gaining on Chef Server workflow and move into Habitat • PowerShell Core 6 support (think: powershell_script on Linux) • The end of the Windows cookbook? Expect more announcements between now and ChefConf (May 20-23, Seattle)