You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
describe registry_key({
name: 'Task Scheduler',
hive: 'HKEY_LOCAL_MACHINE',
key: ''\SYSTEM\CurrentControlSet\services\Schedule'
}) do
its('Start') { should eq 2 }
end
The key clearly has an issue with the double single quote, but it seems to indicate that key path can start with a backslash. But using a path like `\SYSTEM\CurrentControlSet\services\Schedule' will result in something like:
Description
http://inspec.io/docs/reference/resources/registry_key/ has this:
The
key
clearly has an issue with the double single quote, but it seems to indicate that key path can start with a backslash. But using a path like `\SYSTEM\CurrentControlSet\services\Schedule' will result in something like:InSpec and Platform Version
Replication Case
A cookbook with
test/integration/default/inspec/default_spec.rb
:against win2012rs kitchen verify:
Possible Solutions
Allow leading backslash
Clarify the documentation
Which shall we do...??
The text was updated successfully, but these errors were encountered: