-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Encode default-ness in the registry path
Previously, there was a separate parameter for specifying whether a registry value is the unnamed (aka default). However, the following example resulted in non unique paths: registry_value { 'hklm\foo': isdefault => true } registry_value { 'hklm\foo': isdefault => false } The first value is managing the default value for the `hklm\foo` key. The second value is managing the value named `foo` for the `hklm` key. This commit eliminates this issue and eliminates the need for an isdefault parameter. The above examples become: registry_value { 'hklm\foo\\': } registry_value { 'hklm\foo': } Note, the trailing backslash must be escaped, since it is immediately followed by a single quote.
- Loading branch information
1 parent
d05d1e6
commit 64bba67
Showing
3 changed files
with
43 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters