cookstyle
cookstyle copied to clipboard
Detect the usage of the windows_dns resource
What category of cop is this?:
Please try to select as few as possible.
- [ ] Deprecation - A cop that alerts to a deprecation in the Chef Infra Client
- [ ] Correctness - A cop that alerts when incorrect coding behavior is being used
- [ ] Sharing - A cop that alerts to missing functionality necessary for sharing cookboooks with others
- [ ] Style - A cop that alerts to a style best practice
- [ ] Simplification - A cop that alerts to ways code can be simplified through refactoring
- [ ] Effortless - A cop that alerts on code that must be resolved to move to the Effortless pattern
- [ ] Policyfiles - A cop that alerts on code that must be resolved to move to the Policyfiles pattern
Describe the new cop:
We have windows_dns_record resource built into Chef Infra Client 15 now
What it would trigger on:
windows_dns 'foo' do
bar 'baz'
end
https://devblogs.microsoft.com/powershell/configuration-in-a-devops-world-windows-powershell-desired-state-configuration/
If you’re running Windows 7, Windows Server 2008 R2, or Windows Server 2012, install Windows Management Framework 4.0 to get the benefits of DSC
This implies that 2012 (pre-R2) also doesn't have DSC by default, is that right?