Skip to content

Commit 023fcd6

Browse files
authored
Merge pull request #84 from puppetlabs/release_prep
Release prep v1.0.0
2 parents c066ae3 + c03d999 commit 023fcd6

File tree

3 files changed

+210
-84
lines changed

3 files changed

+210
-84
lines changed

CHANGELOG.md

+73-78
Original file line numberDiff line numberDiff line change
@@ -1,130 +1,125 @@
1-
## 2023-06-14 - Release 0.8.0
1+
<!-- markdownlint-disable MD024 -->
2+
# Changelog
23

3-
### Summary
4+
All notable changes to this project will be documented in this file.
45

5-
- Updated for Ruby 3.x
6-
- Removal of deprecations
6+
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).
77

8-
## 2021-03-21 - Release 0.7.5
8+
## [v1.0.0](https://github.com/puppetlabs/puppetlabs-node_manager/tree/v1.0.0) - 2024-06-07
99

10-
### Summary
10+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-node_manager/compare/0.8.0...v1.0.0)
1111

12-
- Fix `purge_behavior` bug which prevented node group creation when using this parameter
13-
- Validate user input for the `override_environment` parameter. This parameter must be boolean to be valid. Previously, no error was raised until the type was synced. Now, the input will be validated early. Note that boolean-coerced strings such as "true", "false" are permitted.
14-
- Additional Gemfile cleanup
15-
- LTS Travis testing updates
12+
### Added
1613

17-
## 2021-01-12 - Release 0.7.4
14+
- (CAT-1731) improve handling of pinned nodes [#80](https://github.com/puppetlabs/puppetlabs-node_manager/pull/80) ([jonathannewman](https://github.com/jonathannewman))
1815

19-
### Summary
16+
### Fixed
2017

21-
- Add `purge_behavior` parameter to node\_group resource type
22-
- Cleaned up Gemfile
18+
- (CAT-1731) add rules tests [#81](https://github.com/puppetlabs/puppetlabs-node_manager/pull/81) ([jonathannewman](https://github.com/jonathannewman))
2319

24-
## 2019-12-27 - Release 0.7.3
20+
## [0.8.0](https://github.com/puppetlabs/puppetlabs-node_manager/tree/0.8.0) - 2023-06-14
2521

26-
### Summary
22+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-node_manager/compare/0.7.6...0.8.0)
2723

28-
- Updating version to be compatible with Puppet 5
24+
## [0.7.6](https://github.com/puppetlabs/puppetlabs-node_manager/tree/0.7.6) - 2023-04-05
2925

30-
## 2019-06-20 - Release 0.7.2
26+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-node_manager/compare/0.7.5...0.7.6)
3127

32-
### Summary
28+
### Added
3329

34-
- `Update to allow get_nodes() without argument`
30+
- Added ability to set the purge behavior for node group rules [#68](https://github.com/puppetlabs/puppetlabs-node_manager/pull/68) ([benjamin-robertson](https://github.com/benjamin-robertson))
3531

36-
#### Bugfixes
32+
## [0.7.5](https://github.com/puppetlabs/puppetlabs-node_manager/tree/0.7.5) - 2023-04-05
3733

38-
- Unpin actions had an errant pry statement
34+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-node_manager/compare/0.7.4...0.7.5)
3935

40-
## 2018-03-15 - Release 0.7.1
36+
### Added
4137

42-
## Summary
38+
- Added ability to set the purge behavior for node group rules [#68](https://github.com/puppetlabs/puppetlabs-node_manager/pull/68) ([benjamin-robertson](https://github.com/benjamin-robertson))
39+
- Force override_environment to a symbol to maintain idempotency. [#67](https://github.com/puppetlabs/puppetlabs-node_manager/pull/67) ([bwilcox](https://github.com/bwilcox))
40+
- Allow string bool input for override_environment [#61](https://github.com/puppetlabs/puppetlabs-node_manager/pull/61) ([reidmv](https://github.com/reidmv))
4341

44-
- Typo fix in README
45-
- Change of repo name to puppet-node_manager
42+
### Fixed
4643

47-
## 2018-03-15 - Release 0.7.0
44+
- Fixing bug where false variables are treated as nil [#69](https://github.com/puppetlabs/puppetlabs-node_manager/pull/69) ([rcontisplk](https://github.com/rcontisplk))
45+
- Updated PE test versions [#65](https://github.com/puppetlabs/puppetlabs-node_manager/pull/65) ([WhatsARanjit](https://github.com/WhatsARanjit))
46+
- Fixes bad schema issues with purge_behavior [#62](https://github.com/puppetlabs/puppetlabs-node_manager/pull/62) ([ody](https://github.com/ody))
4847

49-
### Summary
48+
## [0.7.4](https://github.com/puppetlabs/puppetlabs-node_manager/tree/0.7.4) - 2021-01-12
5049

51-
- Added task for update-classes endpoint
52-
- JRuby method fix for Net::Http
50+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-node_manager/compare/0.7.3...0.7.4)
5351

54-
## 2018-01-31 - Release 0.6.1
52+
### Added
5553

56-
### Summary
54+
- Implement `purge_behavior` parameter [#60](https://github.com/puppetlabs/puppetlabs-node_manager/pull/60) ([reidmv](https://github.com/reidmv))
55+
- Adding Puppet5 tests [#50](https://github.com/puppetlabs/puppetlabs-node_manager/pull/50) ([WhatsARanjit](https://github.com/WhatsARanjit))
5756

58-
- Typo in face output
59-
- JRuby method fix
57+
## [0.7.3](https://github.com/puppetlabs/puppetlabs-node_manager/tree/0.7.3) - 2019-12-27
6058

61-
## 2017-10-20 - Release 0.6.0
59+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-node_manager/compare/0.7.2...0.7.3)
6260

63-
### Summary
61+
### Fixed
6462

65-
- Added `pin` action to face
66-
- Added `data` parameter to `node_group` type for Console data
67-
- Added support for `data` parameter to `https` provider
68-
- Added `config_data` argument to puppet-less provider
63+
- Update metadata to indicate compatibility with Puppet 6 [#47](https://github.com/puppetlabs/puppetlabs-node_manager/pull/47) ([gabe-sky](https://github.com/gabe-sky))
6964

70-
## 2017-08-20 - Release 0.5.0
65+
## [0.7.2](https://github.com/puppetlabs/puppetlabs-node_manager/tree/0.7.2) - 2019-06-20
7166

72-
### Summary
67+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-node_manager/compare/0.7.1...0.7.2)
7368

74-
- Can remove parameters from classes
75-
- Can upin nodes from a group
76-
- Added a puppet-less provider for node_group in bash
77-
- Removed puppet_environment type and provider
78-
- Removed puppetclassify provider and gem dependency
69+
## [0.7.1](https://github.com/puppetlabs/puppetlabs-node_manager/tree/0.7.1) - 2018-03-16
7970

80-
#### Bugfixes
81-
- Provider submits nulls for removed parameters to remove them
82-
- Submitting `''` to rules can remove everything
71+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-node_manager/compare/0.6.0...0.7.1)
8372

73+
### Added
8474

85-
## 2017-05-12 - Release 0.4.2
75+
- New task for update-classes API [#41](https://github.com/puppetlabs/puppetlabs-node_manager/pull/41) ([WhatsARanjit](https://github.com/WhatsARanjit))
76+
- PR-35: Make error message more informative [#39](https://github.com/puppetlabs/puppetlabs-node_manager/pull/39) ([WhatsARanjit](https://github.com/WhatsARanjit))
77+
- Added Console config_data support [#33](https://github.com/puppetlabs/puppetlabs-node_manager/pull/33) ([WhatsARanjit](https://github.com/WhatsARanjit))
8678

87-
### Summary
79+
### Fixed
8880

89-
- Added a `node_manager` face for classifier API
90-
- Added ability to manage node_groups using SSL or token authentication
91-
- Added ability to manage node_groups from a remote client
92-
- Set `https` provider as default
81+
- Fix Net::Http::Get constant error [#37](https://github.com/puppetlabs/puppetlabs-node_manager/pull/37) ([natemccurdy](https://github.com/natemccurdy))
9382

94-
#### Bugfixes
83+
## [0.6.0](https://github.com/puppetlabs/puppetlabs-node_manager/tree/0.6.0) - 2017-10-20
9584

96-
- `classes` attribute Hash is now deep-sorted to maintain idempotency
85+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-node_manager/compare/0.5.0...0.6.0)
9786

98-
## 2017-03-31 - Release 0.4.1
87+
## [0.5.0](https://github.com/puppetlabs/puppetlabs-node_manager/tree/0.5.0) - 2017-08-20
9988

100-
### Summary
89+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-node_manager/compare/0.4.2...0.5.0)
10190

102-
- Added `description` attribute to groups
91+
### Added
10392

104-
#### Bugfixes
93+
- Release polish [#24](https://github.com/puppetlabs/puppetlabs-node_manager/pull/24) ([WhatsARanjit](https://github.com/WhatsARanjit))
10594

106-
- Added logic for cancelling unwanted classes/variables
107-
- Able to now submit empty class/variables values
95+
### Fixed
10896

109-
## 2017-03-30 - Release 0.4.0
97+
- Issue 26 [#30](https://github.com/puppetlabs/puppetlabs-node_manager/pull/30) ([WhatsARanjit](https://github.com/WhatsARanjit))
98+
- Issue 25 [#29](https://github.com/puppetlabs/puppetlabs-node_manager/pull/29) ([WhatsARanjit](https://github.com/WhatsARanjit))
11099

111-
### Summary
100+
## [0.4.2](https://github.com/puppetlabs/puppetlabs-node_manager/tree/0.4.2) - 2017-05-12
112101

113-
- Added `https` provider which doesn't need `puppeclassify` gem
114-
- Added deprecation notice for `puppetclassify` provider
102+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-node_manager/compare/0.4.1...0.4.2)
115103

116-
## 2016-10-26 - Release 0.3.0
117-
### Summary
104+
### Added
118105

119-
Needed to pin some gems because Ruby 2.1.x is approaching end of life.
106+
- Initial commit on face [#21](https://github.com/puppetlabs/puppetlabs-node_manager/pull/21) ([WhatsARanjit](https://github.com/WhatsARanjit))
107+
- Initial commit for remote authentication [#20](https://github.com/puppetlabs/puppetlabs-node_manager/pull/20) ([WhatsARanjit](https://github.com/WhatsARanjit))
120108

121-
#### Bugfixes
122-
- Hardened ruby load issues on agents
109+
### Fixed
123110

124-
## 2015-11-15 - Release 0.2.1
125-
### Summary
111+
- Hash order [#16](https://github.com/puppetlabs/puppetlabs-node_manager/pull/16) ([WhatsARanjit](https://github.com/WhatsARanjit))
126112

127-
Add some bugfixes.
113+
## [0.4.1](https://github.com/puppetlabs/puppetlabs-node_manager/tree/0.4.1) - 2017-03-31
128114

129-
#### Bugfixes
130-
- Added empty dependencies to metadata.json to fix `puppet module list` error.
115+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-node_manager/compare/0.1.0...0.4.1)
116+
117+
### Added
118+
119+
- Added logic for cancelling unwanted classes/variables for issue #11 [#14](https://github.com/puppetlabs/puppetlabs-node_manager/pull/14) ([WhatsARanjit](https://github.com/WhatsARanjit))
120+
- Fix markdown rendering issues [#12](https://github.com/puppetlabs/puppetlabs-node_manager/pull/12) ([natemccurdy](https://github.com/natemccurdy))
121+
- Initial release of https provider [#8](https://github.com/puppetlabs/puppetlabs-node_manager/pull/8) ([WhatsARanjit](https://github.com/WhatsARanjit))
122+
123+
## [0.1.0](https://github.com/puppetlabs/puppetlabs-node_manager/tree/0.1.0) - 2015-04-11
124+
125+
[Full Changelog](https://github.com/puppetlabs/puppetlabs-node_manager/compare/0520df7a19dc78ebdd07338881a88be0e8a41eef...0.1.0)

REFERENCE.md

+131
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
# Reference
2+
3+
<!-- DO NOT EDIT: This document was generated by Puppet Strings -->
4+
5+
## Table of Contents
6+
7+
### Resource types
8+
9+
* [`node_group`](#node_group): The node_group type creates and manages node groups for the PE Node Manager
10+
11+
### Functions
12+
13+
* [`node_groups`](#node_groups)
14+
15+
### Tasks
16+
17+
* [`update_classes`](#update_classes): Kick off update classes
18+
19+
## Resource types
20+
21+
### <a name="node_group"></a>`node_group`
22+
23+
The node_group type creates and manages node groups for the PE Node Manager
24+
25+
#### Properties
26+
27+
The following properties are available in the `node_group` type.
28+
29+
##### `classes`
30+
31+
Classes applied to this group
32+
33+
##### `data`
34+
35+
Data applied to this group
36+
37+
##### `description`
38+
39+
Description of this group
40+
41+
##### `ensure`
42+
43+
Valid values: `present`, `absent`
44+
45+
The basic property that the resource should be in.
46+
47+
Default value: `present`
48+
49+
##### `environment`
50+
51+
Environment for this group
52+
53+
Default value: `production`
54+
55+
##### `id`
56+
57+
The ID of the group
58+
59+
##### `override_environment`
60+
61+
Override parent environments
62+
63+
##### `parent`
64+
65+
The ID of the parent group
66+
67+
##### `rule`
68+
69+
Match conditions for this group
70+
71+
##### `variables`
72+
73+
Variables set this group\'s scope
74+
75+
#### Parameters
76+
77+
The following parameters are available in the `node_group` type.
78+
79+
* [`name`](#-node_group--name)
80+
* [`provider`](#-node_group--provider)
81+
* [`purge_behavior`](#-node_group--purge_behavior)
82+
83+
##### <a name="-node_group--name"></a>`name`
84+
85+
namevar
86+
87+
This is the common name for the node group
88+
89+
##### <a name="-node_group--provider"></a>`provider`
90+
91+
The specific backend to use for this `node_group` resource. You will seldom need to specify this --- Puppet will usually
92+
discover the appropriate provider for your platform.
93+
94+
##### <a name="-node_group--purge_behavior"></a>`purge_behavior`
95+
96+
Valid values: `none`, `data`, `classes`, `rule`, `all`
97+
98+
Whether or not to remove data or class parameters not specified
99+
100+
Default value: `all`
101+
102+
## Functions
103+
104+
### <a name="node_groups"></a>`node_groups`
105+
106+
Type: Ruby 3.x API
107+
108+
The node_groups function.
109+
110+
#### `node_groups()`
111+
112+
The node_groups function.
113+
114+
Returns: `Any`
115+
116+
## Tasks
117+
118+
### <a name="update_classes"></a>`update_classes`
119+
120+
Kick off update classes
121+
122+
**Supports noop?** false
123+
124+
#### Parameters
125+
126+
##### `environment`
127+
128+
Data type: `Optional[String[1]]`
129+
130+
Environment to update
131+

metadata.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
2-
"name": "WhatsARanjit-node_manager",
3-
"version": "0.8.0",
4-
"author": "WhatsARanjit",
2+
"name": "puppetlabs-node_manager",
3+
"version": "1.0.0",
4+
"author": "puppetlabs",
55
"summary": "Create and manage PE Console node groups as resources.",
66
"license": "Apache-2.0",
7-
"source": "https://github.com/WhatsARanjit/puppet-node_manager",
8-
"project_page": "https://github.com/WhatsARanjit/puppet-node_manager",
9-
"issues_url": "https://github.com/WhatsARanjit/puppet-node_manager/issues",
7+
"source": "https://github.com/puppetlabs/puppet-node_manager",
8+
"project_page": "https://github.com/puppetlabs/puppet-node_manager",
9+
"issues_url": "https://github.com/puppetlabs/puppet-node_manager/issues",
1010
"dependencies": [
1111

1212
],

0 commit comments

Comments
 (0)