puppet-resource_api 1.9.0 → 1.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +15 -0
- data/lib/puppet/resource_api/version.rb +1 -1
- data/lib/puppet/resource_api.rb +22 -0
- metadata +3 -7
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f040155a6bb7bd8575bcc81e0a9c7a54c663e4e2419d60ec835d744ec49a0abd
|
|
4
|
+
data.tar.gz: 7020756cafa3f28cab07d5363e5325f7a824e4e0dac252a6c38004972c27ec9f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b092384ea009b7d41ae56b0f4503ced423fc9b6cb30a243bdf4a961551f09b0d7d58941ccc68438e0094c6a8c4714a01038298470e1c707e1564b5b174c3402a
|
|
7
|
+
data.tar.gz: 2c903d9c06b36c4ed33326f1e276bb98a6e74857a328247e17c18a3b3428e2753a8a8014126e508d9930a5b4cd38fef3cf7d51be32e20e447900638765658cc7
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
|
|
3
3
|
All significant changes to this repo will be summarized in this file.
|
|
4
4
|
|
|
5
|
+
## [1.9.2](https://github.com/puppetlabs/puppet-resource_api/tree/1.9.2) (2026-05-18)
|
|
6
|
+
|
|
7
|
+
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/1.9.1...1.9.2)
|
|
8
|
+
|
|
9
|
+
**Fixed bugs:**
|
|
10
|
+
|
|
11
|
+
- \(PA-8346\): Preserve sensitive parameters [\#384](https://github.com/puppetlabs/puppet-resource_api/pull/384) ([joshcooper](https://github.com/joshcooper))
|
|
12
|
+
|
|
13
|
+
## [1.9.1](https://github.com/puppetlabs/puppet-resource_api/tree/1.9.1) (2025-12-17)
|
|
14
|
+
|
|
15
|
+
[Full Changelog](https://github.com/puppetlabs/puppet-resource_api/compare/1.9.0...1.9.1)
|
|
16
|
+
|
|
17
|
+
**Fixed bugs:**
|
|
18
|
+
|
|
19
|
+
- \(MODULES-11462\): Implement finish method for class tag inheritance in Puppet::ResourceApi in 1.9.0 branch [\#381](https://github.com/puppetlabs/puppet-resource_api/pull/381) ([span786](https://github.com/span786))
|
|
5
20
|
|
|
6
21
|
## [1.9.0](https://github.com/puppetlabs/puppet-resource_api/tree/1.9.0) (2023-08-08)
|
|
7
22
|
|
data/lib/puppet/resource_api.rb
CHANGED
|
@@ -104,9 +104,31 @@ module Puppet::ResourceApi
|
|
|
104
104
|
end
|
|
105
105
|
end
|
|
106
106
|
|
|
107
|
+
attributes[:sensitive_parameters] = sensitives unless sensitives.empty?
|
|
107
108
|
super(attributes)
|
|
108
109
|
end
|
|
109
110
|
|
|
111
|
+
# Override finish method to ensure scope tags (like class names) are properly inherited
|
|
112
|
+
# This is called after the resource is added to the catalog and containment is established
|
|
113
|
+
def finish
|
|
114
|
+
super if defined?(super)
|
|
115
|
+
return unless @catalog
|
|
116
|
+
|
|
117
|
+
# Use pathbuilder to tag all containing classes
|
|
118
|
+
# Pathbuilder returns the containment hierarchy; class names appear as plain strings
|
|
119
|
+
# while other resources have the format "Type[title]"
|
|
120
|
+
return unless respond_to?(:pathbuilder)
|
|
121
|
+
|
|
122
|
+
pathbuilder.each do |container|
|
|
123
|
+
next unless container.is_a?(String)
|
|
124
|
+
|
|
125
|
+
# Classes don't contain '[' or ']' characters, resources do
|
|
126
|
+
# Classes: "Test::Modules_11462", "Settings"
|
|
127
|
+
# Resources: "Stage[main]", "Firewall[001 test rule]"
|
|
128
|
+
tag(container) unless container.include?('[')
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
|
|
110
132
|
def name
|
|
111
133
|
title
|
|
112
134
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: puppet-resource_api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.9.
|
|
4
|
+
version: 1.9.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- David Schmitt
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 2026-05-18 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: hocon
|
|
@@ -24,7 +23,6 @@ dependencies:
|
|
|
24
23
|
- - ">="
|
|
25
24
|
- !ruby/object:Gem::Version
|
|
26
25
|
version: '1.0'
|
|
27
|
-
description:
|
|
28
26
|
email:
|
|
29
27
|
- david.schmitt@puppet.com
|
|
30
28
|
executables: []
|
|
@@ -68,7 +66,6 @@ homepage: https://github.com/puppetlabs/puppet-resource_api
|
|
|
68
66
|
licenses:
|
|
69
67
|
- Apache-2.0
|
|
70
68
|
metadata: {}
|
|
71
|
-
post_install_message:
|
|
72
69
|
rdoc_options: []
|
|
73
70
|
require_paths:
|
|
74
71
|
- lib
|
|
@@ -83,8 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
83
80
|
- !ruby/object:Gem::Version
|
|
84
81
|
version: '0'
|
|
85
82
|
requirements: []
|
|
86
|
-
rubygems_version: 3.
|
|
87
|
-
signing_key:
|
|
83
|
+
rubygems_version: 3.6.3
|
|
88
84
|
specification_version: 4
|
|
89
85
|
summary: This library provides a simple way to write new native resources for puppet.
|
|
90
86
|
test_files: []
|