We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
configure
I try to run
security_policy 'Local Policy' do action :configure end
but I get the following error:
================================================================================ Error executing action `configure` on resource 'security_policy[Local Policy]' ================================================================================ RuntimeError ------------ Property `template` of `security_policy[Local Policy]` was incorrectly passed a block. Possible property-resource collision. To call a resource named `template` either rename the property or else use `declare_resource(:template, ...)` Resource Declaration: --------------------- # In C:/Users/vagrant/AppData/Local/Temp/kitchen/cache/cookbooks/windows-hardening/recipes/security_policy.rb 12: security_policy 'Local Policy' do 13: action :configure 14: end Compiled Resource: ------------------ # Declared in C:/Users/vagrant/AppData/Local/Temp/kitchen/cache/cookbooks/windows-hardening/recipes/security_policy.rb:12:in `from_file' security_policy("Local Policy") do action [:configure] retries 0 retry_delay 2 default_guard_interpreter :default declared_type :security_policy cookbook_name "windows-hardening" recipe_name "security_policy" template "C:\\Windows\\security\\templates\\chefNewPolicy.inf" database "C:\\Windows\\security\\database\\chef.sdb" log_location "C:\\Windows\\security\\logs\\chef-secedit.log" end Platform: --------- x64-mingw32
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I try to run
but I get the following error:
The text was updated successfully, but these errors were encountered: