puppet-resource_api 1.6.0 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/lib/puppet/resource_api.rb +1 -1
- data/lib/puppet/resource_api/version.rb +1 -1
- data/misc/ANNOUNCEMENT_TEMPLATE.md +15 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1210710979a59465dd518138104351804fa49991eb2d82c26c934d75893c905c
|
4
|
+
data.tar.gz: f247fb3e745a6c9c479a2a1444703c93ad6271b3cb007ff8cf0ac4eb896426e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91e3564bb0115c59cb5fea76054dbbf03c2a8680081a6f7d42dcc11a9bc818413f7a6a9c7c4cd03d2653f9d86b70392a391473e2f14dece7e3b6ba356e495a60
|
7
|
+
data.tar.gz: 3b04556650e6850eb6fd9a54d783d18c8639d45ac80d50d469f30eedac571300b717bff37bb2dfe0e235cc15fffe9dbe608eff7965336dcced4635fbeb448ab2
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,21 @@
|
|
3
3
|
All significant changes to this repo will be summarized in this file.
|
4
4
|
|
5
5
|
|
6
|
+
## [v1.6.1](https://github.com/puppetlabs/puppet-resource_api/tree/v1.6.1) (2018-10-25)
|
7
|
+
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v1.6.0...v1.6.1)
|
8
|
+
|
9
|
+
**Fixed bugs:**
|
10
|
+
|
11
|
+
- \(PDK-1209\) setting inherited const\_defined lookup to false [\#132](https://github.com/puppetlabs/puppet-resource_api/pull/132) ([Thomas-Franklin](https://github.com/Thomas-Franklin))
|
12
|
+
|
13
|
+
**Merged pull requests:**
|
14
|
+
|
15
|
+
- Updated announcement instructions [\#131](https://github.com/puppetlabs/puppet-resource_api/pull/131) ([davinhanlon](https://github.com/davinhanlon))
|
16
|
+
- Minor spelling fix [\#130](https://github.com/puppetlabs/puppet-resource_api/pull/130) ([AlmogCohen](https://github.com/AlmogCohen))
|
17
|
+
- Add internal announcement list to template [\#129](https://github.com/puppetlabs/puppet-resource_api/pull/129) ([DavidS](https://github.com/DavidS))
|
18
|
+
- Adjust announcement template to reality [\#128](https://github.com/puppetlabs/puppet-resource_api/pull/128) ([DavidS](https://github.com/DavidS))
|
19
|
+
- Release prep for v1.6.0 [\#127](https://github.com/puppetlabs/puppet-resource_api/pull/127) ([da-ar](https://github.com/da-ar))
|
20
|
+
|
6
21
|
## [v1.6.0](https://github.com/puppetlabs/puppet-resource_api/tree/v1.6.0) (2018-09-25)
|
7
22
|
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/v1.5.0...v1.6.0)
|
8
23
|
|
data/lib/puppet/resource_api.rb
CHANGED
@@ -46,7 +46,7 @@ module Puppet::ResourceApi
|
|
46
46
|
# this has to happen before Puppet::Type.newtype starts autoloading providers
|
47
47
|
# it also needs to be guarded against the namespace already being defined by something
|
48
48
|
# else to avoid ruby warnings
|
49
|
-
unless Puppet::Provider.const_defined?(class_name_from_type_name(definition[:name]))
|
49
|
+
unless Puppet::Provider.const_defined?(class_name_from_type_name(definition[:name]), false)
|
50
50
|
Puppet::Provider.const_set(class_name_from_type_name(definition[:name]), Module.new)
|
51
51
|
end
|
52
52
|
|
@@ -1,5 +1,17 @@
|
|
1
|
-
Send out announcements for major new feature releases
|
1
|
+
Send out announcements for major new feature releases and high-impact bugfixes.
|
2
2
|
|
3
|
+
For each release two announcements should be sent: an internal one and an external one.
|
4
|
+
|
5
|
+
Both emails must be sent from the puppet-product-updates@puppet.com email alias. You must add yourself to the alias in order to have rights to send the email from that alias.
|
6
|
+
|
7
|
+
### Internal email
|
8
|
+
Send from the puppet-product-updates@puppet.com email alias to the internal-puppet-product-updates email address. This will send the announcement to internal only people and most internal groups have been auto-subscribed to that list, so it should hit everyone in the organisation. It may include specific internal-only information, but most of the core content should be the same as the external email. Indeed, it is acceptable for both emails to be the same if there is no internal only information.
|
9
|
+
|
10
|
+
### External email
|
11
|
+
Send from the puppet-product-updates@puppet.com email alias to the following external aliases: <puppet-announce@googlegroups.com>, <puppet-dev@googlegroups.com>, <puppet-users@googlegroups.com>, <voxpupuli@groups.io>.
|
12
|
+
|
13
|
+
|
14
|
+
### Instructions on email content
|
3
15
|
Before sending, do check that all links are still valid. Feel free to adjust the text to match better with the circumstances of the release, or add other news that are relevant at the time. If you make changes, consider committing them here, for the benefit of future-you.
|
4
16
|
|
5
17
|
The github rendering of the markdown seems to copy&paste acceptably into Google Inbox.
|
@@ -18,7 +30,7 @@ We're pleased to announce that version X.Y.Z of the Resource API is being releas
|
|
18
30
|
|
19
31
|
The Resource API provides a simple way to create new native resources in the form of types and providers for Puppet. Using a little bit of ruby, you can finally get rid of that brittle exec, or manage that one API that eluded you until now.
|
20
32
|
|
21
|
-
It is provided as a Ruby gem to be referenced within modules. Support for it has been included as an experimental feature in the Puppet Development Kit (see `pdk new provider --help`). Use the [
|
33
|
+
It is provided as a Ruby gem to be referenced within modules. Support for it has been included as an experimental feature in the Puppet Development Kit (see `pdk new provider --help`). Use the [Puppet 6 packages](https://puppet.com/blog/introducing-puppet-6) or the [resource_api module](https://forge.puppet.com/puppetlabs/resource_api) to deploy it in your infrastructure. Note that if you are using Puppet 6 packages, you will have to wait until the next release to upgrade.
|
22
34
|
|
23
35
|
The new release of the Resource API provides the following enhancements:
|
24
36
|
|
@@ -34,7 +46,7 @@ The new release also contains the following notable bugfixes:
|
|
34
46
|
|
35
47
|
See the [CHANGELOG](https://github.com/puppetlabs/puppet-resource_api/blob/master/CHANGELOG.md) for a full list of changes.
|
36
48
|
|
37
|
-
We encourage all module developers to review the Resource API and use it when creating types and providers. The [README](https://github.com/puppetlabs/puppet-resource_api/blob/master/README.md) gets you going quickly. To see some example code see [this simple Philips Hue type](https://github.com/da-ar/hue_rsapi) or [
|
49
|
+
We encourage all module developers to review the Resource API and use it when creating types and providers. The [README](https://github.com/puppetlabs/puppet-resource_api/blob/master/README.md) gets you going quickly. To see some example code see [this simple Philips Hue type](https://github.com/da-ar/hue_rsapi) or [the Palo Alto firewall module](https://github.com/puppetlabs/puppetlabs-panos).
|
38
50
|
|
39
51
|
Please let us know of your experiences with the Resource API, either here, on [Slack](https://slack.puppet.com/) (#forge-modules), or on the [github repo](https://github.com/puppetlabs/puppet-resource_api).
|
40
52
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet-resource_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.6.
|
4
|
+
version: 1.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Schmitt
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hocon
|
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
82
82
|
version: '0'
|
83
83
|
requirements: []
|
84
84
|
rubyforge_project:
|
85
|
-
rubygems_version: 2.7.
|
85
|
+
rubygems_version: 2.7.6
|
86
86
|
signing_key:
|
87
87
|
specification_version: 4
|
88
88
|
summary: This library provides a simple way to write new native resources for puppet.
|