Skip to content

Commit 3aa9e85

Browse files
authoredMar 23, 2023
Merge pull request #276 from puppetlabs/release-prep
Release prep v4.1.2
2 parents 79c534c + 661ea17 commit 3aa9e85

File tree

3 files changed

+62
-51
lines changed

3 files changed

+62
-51
lines changed
 

‎CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org).
44

5+
## [v4.1.2](https://github.com/puppetlabs/puppetlabs-registry/tree/v4.1.2) (2023-03-23)
6+
7+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-registry/compare/v4.1.1...v4.1.2)
8+
9+
### Fixed
10+
11+
- \(CONT-362\) Syntax update [\#273](https://github.com/puppetlabs/puppetlabs-registry/pull/273) ([LukasAud](https://github.com/LukasAud))
12+
513
## [v4.1.1](https://github.com/puppetlabs/puppetlabs-registry/tree/v4.1.1) (2022-10-03)
614

715
[Full Changelog](https://github.com/puppetlabs/puppetlabs-registry/compare/v4.1.0...v4.1.1)

‎REFERENCE.md

+53-50
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66

77
### Defined types
88

9-
* [`registry::service`](#registryservice): Defined resource type that manages service entries
10-
* [`registry::value`](#registryvalue): High level abstraction on top of registry_key and registry_value resources
9+
* [`registry::service`](#registry--service): Defined resource type that manages service entries
10+
* [`registry::value`](#registry--value): High level abstraction on top of registry_key and registry_value resources
1111

1212
### Resource types
1313

@@ -16,7 +16,7 @@
1616

1717
## Defined types
1818

19-
### <a name="registryservice"></a>`registry::service`
19+
### <a name="registry--service"></a>`registry::service`
2020

2121
Manages the values in the key HKLM\System\CurrentControlSet\Services\$name\
2222

@@ -36,7 +36,7 @@ registry::service { puppet:
3636
ensure => present,
3737
display_name => 'Puppet Agent',
3838
description => 'Periodically fetches and applies
39-
configurations from a Puppet Server.',
39+
configurations from a Puppet Server.',
4040
command => 'C:\PuppetLabs\Puppet\service\daemon.bat',
4141
}
4242
```
@@ -45,56 +45,55 @@ registry::service { puppet:
4545

4646
The following parameters are available in the `registry::service` defined type:
4747

48-
* [`ensure`](#ensure)
49-
* [`display_name`](#display_name)
50-
* [`description`](#description)
51-
* [`command`](#command)
52-
* [`start`](#start)
48+
* [`ensure`](#-registry--service--ensure)
49+
* [`display_name`](#-registry--service--display_name)
50+
* [`description`](#-registry--service--description)
51+
* [`command`](#-registry--service--command)
52+
* [`start`](#-registry--service--start)
5353

54-
##### <a name="ensure"></a>`ensure`
55-
56-
Data type: `present, absent`
54+
##### <a name="-registry--service--ensure"></a>`ensure`
5755

56+
Data type: `Enum['present', 'absent', 'UNSET']`
5857

58+
Ensures the presence or absence of a registry key. Valid values: 'present', 'absent', 'UNSET'.
5959

6060
Default value: `'UNSET'`
6161

62-
##### <a name="display_name"></a>`display_name`
62+
##### <a name="-registry--service--display_name"></a>`display_name`
6363

64-
Data type: `Any`
64+
Data type: `String[1]`
6565

66-
The Display Name of the service. Defaults to the title of
67-
the resource.
66+
The Display Name of the service. Defaults to the title of the resource.
6867

6968
Default value: `'UNSET'`
7069

71-
##### <a name="description"></a>`description`
70+
##### <a name="-registry--service--description"></a>`description`
7271

73-
Data type: `Any`
72+
Data type: `String[1]`
7473

75-
A description of the service
74+
A description of the service. String value set to 'UNSET' by default.
7675

7776
Default value: `'UNSET'`
7877

79-
##### <a name="command"></a>`command`
78+
##### <a name="-registry--service--command"></a>`command`
8079

81-
Data type: `Any`
80+
Data type: `String[1]`
8281

83-
The command to execute
82+
The command to execute. Set to 'UNSET' by default.
8483

8584
Default value: `'UNSET'`
8685

87-
##### <a name="start"></a>`start`
86+
##### <a name="-registry--service--start"></a>`start`
8887

89-
Data type: `Any`
88+
Data type: `Enum['automatic', 'manual', 'disabled', 'UNSET']`
9089

9190
The starting mode of the service. (Note, the native service
9291
resource can also be used to manage this setting.)
93-
[ automatic, manual, disabled ]
92+
Valid values: 'automatic', 'manual', 'disabled'
9493

9594
Default value: `'UNSET'`
9695

97-
### <a name="registryvalue"></a>`registry::value`
96+
### <a name="registry--value"></a>`registry::value`
9897

9998
Actions:
10099
- Manage the parent key if not already managed.
@@ -126,28 +125,28 @@ class myapp {
126125

127126
The following parameters are available in the `registry::value` defined type:
128127

129-
* [`key`](#key)
130-
* [`value`](#value)
131-
* [`type`](#type)
132-
* [`data`](#data)
128+
* [`key`](#-registry--value--key)
129+
* [`value`](#-registry--value--value)
130+
* [`type`](#-registry--value--type)
131+
* [`data`](#-registry--value--data)
133132

134-
##### <a name="key"></a>`key`
133+
##### <a name="-registry--value--key"></a>`key`
135134

136135
Data type: `Pattern[/^\w+/]`
137136

138137
The path of key the value will placed inside.
139138

140-
##### <a name="value"></a>`value`
139+
##### <a name="-registry--value--value"></a>`value`
141140

142141
Data type: `Optional[String]`
143142

144143
The name of the registry value to manage. This will be copied from
145144
the resource title if not specified. The special value of
146145
'(default)' may be used to manage the default value of the key.
147146

148-
Default value: ``undef``
147+
Default value: `undef`
149148

150-
##### <a name="type"></a>`type`
149+
##### <a name="-registry--value--type"></a>`type`
151150

152151
Data type: `Pattern[/^\w+/]`
153152

@@ -157,17 +156,21 @@ The type the registry value. Defaults to 'string'. See the output of
157156

158157
Default value: `'string'`
159158

160-
##### <a name="data"></a>`data`
159+
##### <a name="-registry--value--data"></a>`data`
160+
161+
Data type:
161162

162-
Data type: `Optional[Variant[
163+
```puppet
164+
Optional[Variant[
163165
String,
164166
Numeric,
165167
Array[String]
166-
]]`
168+
]]
169+
```
167170

168171
The data to place inside the registry value.
169172

170-
Default value: ``undef``
173+
Default value: `undef`
171174

172175
## Resource types
173176

@@ -191,26 +194,26 @@ Default value: `present`
191194

192195
The following parameters are available in the `registry_key` type.
193196

194-
* [`path`](#path)
195-
* [`provider`](#provider)
196-
* [`purge_values`](#purge_values)
197+
* [`path`](#-registry_key--path)
198+
* [`provider`](#-registry_key--provider)
199+
* [`purge_values`](#-registry_key--purge_values)
197200

198-
##### <a name="path"></a>`path`
201+
##### <a name="-registry_key--path"></a>`path`
199202

200203
The path to the registry key to manage
201204

202-
##### <a name="provider"></a>`provider`
205+
##### <a name="-registry_key--provider"></a>`provider`
203206

204207
The specific backend to use for this `registry_key` resource. You will seldom need to specify this --- Puppet will
205208
usually discover the appropriate provider for your platform.
206209

207-
##### <a name="purge_values"></a>`purge_values`
210+
##### <a name="-registry_key--purge_values"></a>`purge_values`
208211

209-
Valid values: ``true``, ``false``
212+
Valid values: `true`, `false`
210213

211214
Common boolean for munging and validation.
212215

213-
Default value: ``false``
216+
Default value: `false`
214217

215218
### <a name="registry_value"></a>`registry_value`
216219

@@ -244,14 +247,14 @@ Default value: `string`
244247

245248
The following parameters are available in the `registry_value` type.
246249

247-
* [`path`](#path)
248-
* [`provider`](#provider)
250+
* [`path`](#-registry_value--path)
251+
* [`provider`](#-registry_value--provider)
249252

250-
##### <a name="path"></a>`path`
253+
##### <a name="-registry_value--path"></a>`path`
251254

252255
The path to the registry value to manage.
253256

254-
##### <a name="provider"></a>`provider`
257+
##### <a name="-registry_value--provider"></a>`provider`
255258

256259
The specific backend to use for this `registry_value` resource. You will seldom need to specify this --- Puppet will
257260
usually discover the appropriate provider for your platform.

‎metadata.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "puppetlabs-registry",
3-
"version": "4.1.1",
3+
"version": "4.1.2",
44
"author": "puppetlabs",
55
"summary": "This module provides a native type and provider to manage keys and values in the Windows Registry",
66
"license": "Apache-2.0",

0 commit comments

Comments
 (0)
Please sign in to comment.