-
Type:
Bug
-
Status: Resolved
-
Priority:
Critical
-
Resolution: Fixed
-
Affects Version/s: registry 2.0.0
-
Fix Version/s: registry 2.0.1
-
Component/s: registry
-
Template:
-
Acceptance Criteria:
-
Epic Link:
-
Team:Windows
-
Method Found:Needs Assessment
-
QA Risk Assessment:Needs Assessment
When running a manifest like:
registry::value { 'DebugPolicies':
|
key => 'HKLM\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon',
|
value => 'UserEnvDebugLevel',
|
data => 196610,
|
type => 'dword'
|
}
|
As of registry 2.0.0, this generates an error like:
Error: Evaluation Error: Error while evaluating a Resource Statement, Registry::Value[DebugPolicies]: parameter 'data' expects a value of type Undef or String, got Integer
|
Note that use of the registry_value type in an equivalent fashion, as in the following, is not impacted:
registry_value { 'DebugPolicies':
|
path => 'HKLM\\Software\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon\\UserEnvDebugLevel',
|
data => 196610,
|
type => 'dword'
|
}
|