puppet 7.21.0 → 7.22.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +48 -34
- data/Guardfile.example +1 -1
- data/ext/project_data.yaml +1 -1
- data/ext/windows/service/daemon.rb +1 -1
- data/lib/puppet/indirector/facts/facter.rb +4 -1
- data/lib/puppet/version.rb +1 -1
- data/man/man5/puppet.conf.5 +2 -2
- data/man/man8/puppet-agent.8 +1 -1
- data/man/man8/puppet-apply.8 +1 -1
- data/man/man8/puppet-catalog.8 +1 -1
- data/man/man8/puppet-config.8 +1 -1
- data/man/man8/puppet-describe.8 +1 -1
- data/man/man8/puppet-device.8 +1 -1
- data/man/man8/puppet-doc.8 +1 -1
- data/man/man8/puppet-epp.8 +1 -1
- data/man/man8/puppet-facts.8 +1 -1
- data/man/man8/puppet-filebucket.8 +1 -1
- data/man/man8/puppet-generate.8 +1 -1
- data/man/man8/puppet-help.8 +1 -1
- data/man/man8/puppet-lookup.8 +1 -1
- data/man/man8/puppet-module.8 +1 -1
- data/man/man8/puppet-node.8 +1 -1
- data/man/man8/puppet-parser.8 +1 -1
- data/man/man8/puppet-plugin.8 +1 -1
- data/man/man8/puppet-report.8 +1 -1
- data/man/man8/puppet-resource.8 +1 -1
- data/man/man8/puppet-script.8 +1 -1
- data/man/man8/puppet-ssl.8 +1 -1
- data/man/man8/puppet.8 +2 -2
- data/spec/integration/application/agent_spec.rb +1 -1
- data/spec/unit/application/agent_spec.rb +1 -1
- data/spec/unit/application/device_spec.rb +1 -1
- data/spec/unit/application/resource_spec.rb +1 -1
- data/spec/unit/daemon_spec.rb +1 -1
- data/spec/unit/file_bucket/dipper_spec.rb +1 -1
- data/spec/unit/file_serving/fileset_spec.rb +14 -14
- data/spec/unit/file_system_spec.rb +3 -1
- data/spec/unit/graph/simple_graph_spec.rb +1 -1
- data/spec/unit/indirector/facts/facter_spec.rb +18 -3
- data/spec/unit/indirector/file_server_spec.rb +5 -5
- data/spec/unit/indirector/node/plain_spec.rb +1 -1
- data/spec/unit/provider/file/posix_spec.rb +4 -4
- data/spec/unit/provider/ldap_spec.rb +1 -1
- data/spec/unit/provider/nameservice_spec.rb +15 -15
- data/spec/unit/provider/package/aix_spec.rb +1 -1
- data/spec/unit/provider/package/nim_spec.rb +2 -2
- data/spec/unit/provider/service/bsd_spec.rb +4 -4
- data/spec/unit/provider/service/debian_spec.rb +2 -2
- data/spec/unit/provider/service/gentoo_spec.rb +20 -20
- data/spec/unit/provider/service/openbsd_spec.rb +18 -18
- data/spec/unit/provider/service/openrc_spec.rb +19 -19
- data/spec/unit/provider/service/systemd_spec.rb +22 -22
- data/spec/unit/provider/service/upstart_spec.rb +6 -6
- data/spec/unit/provider/user/aix_spec.rb +1 -1
- data/spec/unit/provider/user/hpux_spec.rb +1 -1
- data/spec/unit/provider/user/openbsd_spec.rb +1 -1
- data/spec/unit/provider/user/useradd_spec.rb +1 -1
- data/spec/unit/resource/type_spec.rb +2 -2
- data/spec/unit/ssl/base_spec.rb +1 -1
- data/spec/unit/ssl/certificate_request_spec.rb +1 -1
- data/spec/unit/ssl/certificate_spec.rb +1 -1
- data/spec/unit/transaction/event_manager_spec.rb +2 -2
- data/spec/unit/type/exec_spec.rb +1 -1
- data/spec/unit/util/backups_spec.rb +1 -1
- data/spec/unit/util/filetype_spec.rb +3 -3
- data/spec/unit/util/resource_template_spec.rb +1 -1
- metadata +9 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f67fc60be8faa215d351c2dd5a542e7f0cf4d6a8938e23acb936e98acbc0b397
|
4
|
+
data.tar.gz: 2b1c28c21b9b440ba0e6b17e651fdfd1b52ec5dd8733841e39425067ea648a81
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d1524ac6ebd21288ae6059fc9d86f4df21482bd2bd2927b27cee31b01b2bced6be2f7c80b9a2877426650f231e928f6258e8bfcca4e7de3b938b9e5cde0760b5
|
7
|
+
data.tar.gz: da488f748fd7ee1bda3aa4d9d34a3c47af0b7b3f526b6c81d4f531567e650c06f402f7f2cb353bc97dc03e0f7f3e158a39df94d2a13add0658a44d2a1b14a738
|
data/Gemfile.lock
CHANGED
@@ -1,23 +1,9 @@
|
|
1
|
-
GIT
|
2
|
-
remote: https://github.com/puppetlabs/packaging
|
3
|
-
revision: 43e14adf3cc3756bb5a776db9bc245c685c11f71
|
4
|
-
branch: 1.0.x
|
5
|
-
specs:
|
6
|
-
packaging (0.108.0)
|
7
|
-
apt_stage_artifacts
|
8
|
-
artifactory (~> 3)
|
9
|
-
csv (= 3.1.5)
|
10
|
-
google-cloud-storage
|
11
|
-
googleauth
|
12
|
-
rake (>= 12.3)
|
13
|
-
release-metrics
|
14
|
-
|
15
1
|
PATH
|
16
2
|
remote: .
|
17
3
|
specs:
|
18
|
-
puppet (7.
|
4
|
+
puppet (7.22.0)
|
19
5
|
CFPropertyList (~> 2.2)
|
20
|
-
concurrent-ruby (~> 1.0)
|
6
|
+
concurrent-ruby (~> 1.0, < 1.2.0)
|
21
7
|
deep_merge (~> 1.0)
|
22
8
|
facter (>= 2.4.0, < 5)
|
23
9
|
fast_gettext (>= 1.1, < 3)
|
@@ -28,7 +14,7 @@ PATH
|
|
28
14
|
semantic_puppet (~> 1.0)
|
29
15
|
|
30
16
|
GEM
|
31
|
-
remote: https://
|
17
|
+
remote: https://rubygems.org/
|
32
18
|
specs:
|
33
19
|
CFPropertyList (2.3.6)
|
34
20
|
addressable (2.8.1)
|
@@ -48,13 +34,32 @@ GEM
|
|
48
34
|
digest-crc (0.6.4)
|
49
35
|
rake (>= 12.0.0, < 14.0.0)
|
50
36
|
docopt (0.6.1)
|
51
|
-
facter (4.2.
|
37
|
+
facter (4.2.14)
|
52
38
|
hocon (~> 1.3)
|
53
39
|
thor (>= 1.0.1, < 2.0)
|
54
|
-
faraday (
|
55
|
-
faraday-
|
40
|
+
faraday (1.10.3)
|
41
|
+
faraday-em_http (~> 1.0)
|
42
|
+
faraday-em_synchrony (~> 1.0)
|
43
|
+
faraday-excon (~> 1.1)
|
44
|
+
faraday-httpclient (~> 1.0)
|
45
|
+
faraday-multipart (~> 1.0)
|
46
|
+
faraday-net_http (~> 1.0)
|
47
|
+
faraday-net_http_persistent (~> 1.0)
|
48
|
+
faraday-patron (~> 1.0)
|
49
|
+
faraday-rack (~> 1.0)
|
50
|
+
faraday-retry (~> 1.0)
|
56
51
|
ruby2_keywords (>= 0.0.4)
|
57
|
-
faraday-
|
52
|
+
faraday-em_http (1.0.0)
|
53
|
+
faraday-em_synchrony (1.0.0)
|
54
|
+
faraday-excon (1.1.0)
|
55
|
+
faraday-httpclient (1.0.1)
|
56
|
+
faraday-multipart (1.0.4)
|
57
|
+
multipart-post (~> 2)
|
58
|
+
faraday-net_http (1.0.1)
|
59
|
+
faraday-net_http_persistent (1.2.0)
|
60
|
+
faraday-patron (1.0.0)
|
61
|
+
faraday-rack (1.0.0)
|
62
|
+
faraday-retry (1.0.3)
|
58
63
|
fast_gettext (1.1.2)
|
59
64
|
ffi (1.15.5)
|
60
65
|
gettext (3.2.9)
|
@@ -64,7 +69,7 @@ GEM
|
|
64
69
|
fast_gettext (~> 1.1.0)
|
65
70
|
gettext (>= 3.0.2, < 3.3.0)
|
66
71
|
locale
|
67
|
-
google-apis-core (0.9.
|
72
|
+
google-apis-core (0.9.5)
|
68
73
|
addressable (~> 2.5, >= 2.5.1)
|
69
74
|
googleauth (>= 0.16.2, < 2.a)
|
70
75
|
httpclient (>= 2.8.1, < 3.a)
|
@@ -91,7 +96,7 @@ GEM
|
|
91
96
|
google-cloud-core (~> 1.6)
|
92
97
|
googleauth (>= 0.16.2, < 2.a)
|
93
98
|
mini_mime (~> 1.0)
|
94
|
-
googleauth (1.3
|
99
|
+
googleauth (1.1.3)
|
95
100
|
faraday (>= 0.17.3, < 3.a)
|
96
101
|
jwt (>= 1.4, < 3.0)
|
97
102
|
memoist (~> 0.16)
|
@@ -99,17 +104,17 @@ GEM
|
|
99
104
|
os (>= 0.9, < 2.0)
|
100
105
|
signet (>= 0.16, < 2.a)
|
101
106
|
hashdiff (1.0.1)
|
102
|
-
hiera (3.
|
107
|
+
hiera (3.11.0)
|
103
108
|
hiera-eyaml (3.3.0)
|
104
109
|
highline
|
105
110
|
optimist
|
106
|
-
highline (2.0
|
111
|
+
highline (2.1.0)
|
107
112
|
hocon (1.3.1)
|
108
113
|
hpricot (0.8.6)
|
109
114
|
httpclient (2.8.3)
|
110
115
|
json-schema (2.8.1)
|
111
116
|
addressable (>= 2.4)
|
112
|
-
jwt (2.
|
117
|
+
jwt (2.6.0)
|
113
118
|
locale (2.1.3)
|
114
119
|
memoist (0.16.2)
|
115
120
|
memory_profiler (1.0.1)
|
@@ -118,20 +123,29 @@ GEM
|
|
118
123
|
minitar (0.9)
|
119
124
|
msgpack (1.6.0)
|
120
125
|
multi_json (1.15.0)
|
126
|
+
multipart-post (2.2.3)
|
121
127
|
mustache (1.1.1)
|
122
128
|
optimist (3.0.1)
|
123
129
|
os (1.1.4)
|
130
|
+
packaging (0.108.1)
|
131
|
+
apt_stage_artifacts
|
132
|
+
artifactory (~> 3)
|
133
|
+
csv (= 3.1.5)
|
134
|
+
google-cloud-storage
|
135
|
+
googleauth
|
136
|
+
rake (>= 12.3)
|
137
|
+
release-metrics
|
124
138
|
parallel (1.22.1)
|
125
139
|
parser (2.7.2.0)
|
126
140
|
ast (~> 2.4.1)
|
127
141
|
powerpack (0.1.3)
|
128
|
-
pry (0.14.
|
142
|
+
pry (0.14.2)
|
129
143
|
coderay (~> 1.1)
|
130
144
|
method_source (~> 1.0)
|
131
|
-
public_suffix (
|
145
|
+
public_suffix (4.0.7)
|
132
146
|
puppet-resource_api (1.8.14)
|
133
147
|
hocon (>= 1.0)
|
134
|
-
puppetserver-ca (2.
|
148
|
+
puppetserver-ca (2.4.0)
|
135
149
|
facter (>= 2.0.1, < 5)
|
136
150
|
racc (1.5.2)
|
137
151
|
rainbow (2.2.2)
|
@@ -158,13 +172,13 @@ GEM
|
|
158
172
|
rspec-mocks (~> 3.12.0)
|
159
173
|
rspec-core (3.12.0)
|
160
174
|
rspec-support (~> 3.12.0)
|
161
|
-
rspec-expectations (3.12.
|
175
|
+
rspec-expectations (3.12.2)
|
162
176
|
diff-lcs (>= 1.2.0, < 2.0)
|
163
177
|
rspec-support (~> 3.12.0)
|
164
178
|
rspec-its (1.3.0)
|
165
179
|
rspec-core (>= 3.0.0)
|
166
180
|
rspec-expectations (>= 3.0.0)
|
167
|
-
rspec-mocks (3.12.
|
181
|
+
rspec-mocks (3.12.3)
|
168
182
|
diff-lcs (>= 1.2.0, < 2.0)
|
169
183
|
rspec-support (~> 3.12.0)
|
170
184
|
rspec-support (3.12.0)
|
@@ -182,9 +196,9 @@ GEM
|
|
182
196
|
ruby2_keywords (0.0.5)
|
183
197
|
scanf (1.0.0)
|
184
198
|
semantic_puppet (1.0.4)
|
185
|
-
signet (0.
|
199
|
+
signet (0.16.1)
|
186
200
|
addressable (~> 2.8)
|
187
|
-
faraday (>= 0.17.5, < 3.
|
201
|
+
faraday (>= 0.17.5, < 3.0)
|
188
202
|
jwt (>= 1.5, < 3.0)
|
189
203
|
multi_json (~> 1.10)
|
190
204
|
text (1.3.1)
|
@@ -214,7 +228,7 @@ DEPENDENCIES
|
|
214
228
|
memory_profiler
|
215
229
|
minitar (~> 0.9)
|
216
230
|
msgpack (~> 1.2)
|
217
|
-
packaging
|
231
|
+
packaging (~> 0.99)
|
218
232
|
pry
|
219
233
|
puppet!
|
220
234
|
puppet-resource_api (~> 1.5)
|
data/Guardfile.example
CHANGED
@@ -16,7 +16,7 @@ notification(:terminal_notifier, app_name: "Puppet ::", group: `pwd`.chomp) if `
|
|
16
16
|
|
17
17
|
## Uncomment and set this to only include directories you want to watch
|
18
18
|
# directories %w(app lib config test spec features) \
|
19
|
-
# .select{|d| Dir.
|
19
|
+
# .select{|d| Dir.exist?(d) ? d : UI.warning("Directory #{d} does not exist")}
|
20
20
|
|
21
21
|
## Note: if you are using the `directories` clause above and you are not
|
22
22
|
## watching the project directory ('.'), then you will want to move
|
data/ext/project_data.yaml
CHANGED
@@ -48,7 +48,7 @@ class WindowsDaemon < Puppet::Util::Windows::Daemon
|
|
48
48
|
#
|
49
49
|
# Example code to register an event source;
|
50
50
|
# eventlogdll = File.expand_path(File.join(basedir, 'puppet', 'ext', 'windows', 'eventlog', 'puppetres.dll'))
|
51
|
-
# if (File.
|
51
|
+
# if (File.exist?(eventlogdll))
|
52
52
|
# Win32::EventLog.add_event_source(
|
53
53
|
# 'source' => "Application",
|
54
54
|
# 'key_name' => "Puppet Agent",
|
@@ -40,7 +40,10 @@ class Puppet::Node::Facts::Facter < Puppet::Indirector::Code
|
|
40
40
|
Puppet::Node::Facts.new(request.key, Puppet.runtime[:facter].to_hash)
|
41
41
|
else
|
42
42
|
# resolve does not return legacy facts unless requested
|
43
|
-
|
43
|
+
facts = Puppet.runtime[:facter].resolve('')
|
44
|
+
# some versions of Facter 4 return a Facter::FactCollection instead of
|
45
|
+
# a Hash, breaking API compatibility, so force a hash using `to_h`
|
46
|
+
Puppet::Node::Facts.new(request.key, facts.to_h)
|
44
47
|
end
|
45
48
|
|
46
49
|
result.add_local_facts unless request.options[:resolve_options]
|
data/lib/puppet/version.rb
CHANGED
data/man/man5/puppet.conf.5
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "PUPPETCONF" "5" "
|
4
|
+
.TH "PUPPETCONF" "5" "January 2023" "Puppet, Inc." "Puppet manual"
|
5
5
|
\fBThis page is autogenerated; any changes will get overwritten\fR
|
6
6
|
.
|
7
7
|
.SH "Configuration settings"
|
@@ -937,7 +937,7 @@ The time to wait for data to be read from an HTTP connection\. If nothing is rea
|
|
937
937
|
The HTTP User\-Agent string to send when making network requests\.
|
938
938
|
.
|
939
939
|
.IP "\(bu" 4
|
940
|
-
\fIDefault\fR: \fBPuppet/7\.
|
940
|
+
\fIDefault\fR: \fBPuppet/7\.22\.0 Ruby/2\.7\.5\-p203 (x86_64\-linux)\fR
|
941
941
|
.
|
942
942
|
.IP "" 0
|
943
943
|
.
|
data/man/man8/puppet-agent.8
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "PUPPET\-AGENT" "8" "
|
4
|
+
.TH "PUPPET\-AGENT" "8" "January 2023" "Puppet, Inc." "Puppet manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBpuppet\-agent\fR \- The puppet agent daemon
|
data/man/man8/puppet-apply.8
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "PUPPET\-APPLY" "8" "
|
4
|
+
.TH "PUPPET\-APPLY" "8" "January 2023" "Puppet, Inc." "Puppet manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBpuppet\-apply\fR \- Apply Puppet manifests locally
|
data/man/man8/puppet-catalog.8
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "PUPPET\-CATALOG" "8" "
|
4
|
+
.TH "PUPPET\-CATALOG" "8" "January 2023" "Puppet, Inc." "Puppet manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBpuppet\-catalog\fR \- Compile, save, view, and convert catalogs\.
|
data/man/man8/puppet-config.8
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "PUPPET\-CONFIG" "8" "
|
4
|
+
.TH "PUPPET\-CONFIG" "8" "January 2023" "Puppet, Inc." "Puppet manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBpuppet\-config\fR \- Interact with Puppet\'s settings\.
|
data/man/man8/puppet-describe.8
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "PUPPET\-DESCRIBE" "8" "
|
4
|
+
.TH "PUPPET\-DESCRIBE" "8" "January 2023" "Puppet, Inc." "Puppet manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBpuppet\-describe\fR \- Display help about resource types
|
data/man/man8/puppet-device.8
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "PUPPET\-DEVICE" "8" "
|
4
|
+
.TH "PUPPET\-DEVICE" "8" "January 2023" "Puppet, Inc." "Puppet manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBpuppet\-device\fR \- Manage remote network devices
|
data/man/man8/puppet-doc.8
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "PUPPET\-DOC" "8" "
|
4
|
+
.TH "PUPPET\-DOC" "8" "January 2023" "Puppet, Inc." "Puppet manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBpuppet\-doc\fR \- Generate Puppet references
|
data/man/man8/puppet-epp.8
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "PUPPET\-EPP" "8" "
|
4
|
+
.TH "PUPPET\-EPP" "8" "January 2023" "Puppet, Inc." "Puppet manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBpuppet\-epp\fR \- Interact directly with the EPP template parser/renderer\.
|
data/man/man8/puppet-facts.8
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "PUPPET\-FACTS" "8" "
|
4
|
+
.TH "PUPPET\-FACTS" "8" "January 2023" "Puppet, Inc." "Puppet manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBpuppet\-facts\fR \- Retrieve and store facts\.
|
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "PUPPET\-FILEBUCKET" "8" "
|
4
|
+
.TH "PUPPET\-FILEBUCKET" "8" "January 2023" "Puppet, Inc." "Puppet manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBpuppet\-filebucket\fR \- Store and retrieve files in a filebucket
|
data/man/man8/puppet-generate.8
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "PUPPET\-GENERATE" "8" "
|
4
|
+
.TH "PUPPET\-GENERATE" "8" "January 2023" "Puppet, Inc." "Puppet manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBpuppet\-generate\fR \- Generates Puppet code from Ruby definitions\.
|
data/man/man8/puppet-help.8
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "PUPPET\-HELP" "8" "
|
4
|
+
.TH "PUPPET\-HELP" "8" "January 2023" "Puppet, Inc." "Puppet manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBpuppet\-help\fR \- Display Puppet help\.
|
data/man/man8/puppet-lookup.8
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "PUPPET\-LOOKUP" "8" "
|
4
|
+
.TH "PUPPET\-LOOKUP" "8" "January 2023" "Puppet, Inc." "Puppet manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBpuppet\-lookup\fR \- Interactive Hiera lookup
|
data/man/man8/puppet-module.8
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "PUPPET\-MODULE" "8" "
|
4
|
+
.TH "PUPPET\-MODULE" "8" "January 2023" "Puppet, Inc." "Puppet manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBpuppet\-module\fR \- Creates, installs and searches for modules on the Puppet Forge\.
|
data/man/man8/puppet-node.8
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "PUPPET\-NODE" "8" "
|
4
|
+
.TH "PUPPET\-NODE" "8" "January 2023" "Puppet, Inc." "Puppet manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBpuppet\-node\fR \- View and manage node definitions\.
|
data/man/man8/puppet-parser.8
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "PUPPET\-PARSER" "8" "
|
4
|
+
.TH "PUPPET\-PARSER" "8" "January 2023" "Puppet, Inc." "Puppet manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBpuppet\-parser\fR \- Interact directly with the parser\.
|
data/man/man8/puppet-plugin.8
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "PUPPET\-PLUGIN" "8" "
|
4
|
+
.TH "PUPPET\-PLUGIN" "8" "January 2023" "Puppet, Inc." "Puppet manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBpuppet\-plugin\fR \- Interact with the Puppet plugin system\.
|
data/man/man8/puppet-report.8
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "PUPPET\-REPORT" "8" "
|
4
|
+
.TH "PUPPET\-REPORT" "8" "January 2023" "Puppet, Inc." "Puppet manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBpuppet\-report\fR \- Create, display, and submit reports\.
|
data/man/man8/puppet-resource.8
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "PUPPET\-RESOURCE" "8" "
|
4
|
+
.TH "PUPPET\-RESOURCE" "8" "January 2023" "Puppet, Inc." "Puppet manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBpuppet\-resource\fR \- The resource abstraction layer shell
|
data/man/man8/puppet-script.8
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "PUPPET\-SCRIPT" "8" "
|
4
|
+
.TH "PUPPET\-SCRIPT" "8" "January 2023" "Puppet, Inc." "Puppet manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBpuppet\-script\fR \- Run a puppet manifests as a script without compiling a catalog
|
data/man/man8/puppet-ssl.8
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "PUPPET\-SSL" "8" "
|
4
|
+
.TH "PUPPET\-SSL" "8" "January 2023" "Puppet, Inc." "Puppet manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBpuppet\-ssl\fR \- Manage SSL keys and certificates for puppet SSL clients
|
data/man/man8/puppet.8
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
.\" generated with Ronn/v0.7.3
|
2
2
|
.\" http://github.com/rtomayko/ronn/tree/0.7.3
|
3
3
|
.
|
4
|
-
.TH "PUPPET" "8" "
|
4
|
+
.TH "PUPPET" "8" "January 2023" "Puppet, Inc." "Puppet manual"
|
5
5
|
.
|
6
6
|
.SH "NAME"
|
7
7
|
\fBpuppet\fR
|
@@ -25,4 +25,4 @@ Specialized:
|
|
25
25
|
catalog Compile, save, view, and convert catalogs\. describe Display help about resource types device Manage remote network devices doc Generate Puppet references epp Interact directly with the EPP template parser/renderer\. facts Retrieve and store facts\. filebucket Store and retrieve files in a filebucket generate Generates Puppet code from Ruby definitions\. node View and manage node definitions\. parser Interact directly with the parser\. plugin Interact with the Puppet plugin system\. script Run a puppet manifests as a script without compiling a catalog ssl Manage SSL keys and certificates for puppet SSL clients
|
26
26
|
.
|
27
27
|
.P
|
28
|
-
See \'puppet help \fIsubcommand\fR \fIaction\fR\' for help on a specific subcommand action\. See \'puppet help \fIsubcommand\fR\' for help on a specific subcommand\. Puppet v7\.
|
28
|
+
See \'puppet help \fIsubcommand\fR \fIaction\fR\' for help on a specific subcommand action\. See \'puppet help \fIsubcommand\fR\' for help on a specific subcommand\. Puppet v7\.22\.0
|
@@ -527,7 +527,7 @@ describe "puppet agent", unless: Puppet::Util::Platform.jruby? do
|
|
527
527
|
}
|
528
528
|
|
529
529
|
# ensure file is written before yielding
|
530
|
-
until File.
|
530
|
+
until File.exist?(path) && File.size(path) > 0 do
|
531
531
|
sleep 0.1
|
532
532
|
end
|
533
533
|
|
@@ -524,7 +524,7 @@ describe Puppet::Application::Agent do
|
|
524
524
|
end
|
525
525
|
|
526
526
|
it "should stop the daemon" do
|
527
|
-
expect(@daemon).to receive(:stop).with(:exit => false)
|
527
|
+
expect(@daemon).to receive(:stop).with({:exit => false})
|
528
528
|
|
529
529
|
expect { execute_agent }.to exit_with 0
|
530
530
|
end
|
@@ -535,7 +535,7 @@ describe Puppet::Application::Device do
|
|
535
535
|
end
|
536
536
|
|
537
537
|
it "makes the Puppet::Pops::Loaders available" do
|
538
|
-
expect(configurer).to receive(:run).with(:network_device => true, :pluginsync => false) do
|
538
|
+
expect(configurer).to receive(:run).with({:network_device => true, :pluginsync => false}) do
|
539
539
|
fail('Loaders not available') unless Puppet.lookup(:loaders) { nil }.is_a?(Puppet::Pops::Loaders)
|
540
540
|
true
|
541
541
|
end.and_return(6, 2)
|
@@ -122,7 +122,7 @@ describe Puppet::Application::Resource do
|
|
122
122
|
allow(@resource_app.command_line).to receive(:args).and_return(['type','name','param=temp'])
|
123
123
|
|
124
124
|
expect(Puppet::Resource.indirection).to receive(:save).with(@res, 'type/name').and_return([@res, @report])
|
125
|
-
expect(Puppet::Resource).to receive(:new).with('type', 'name', :parameters => {'param' => 'temp'}).and_return(@res)
|
125
|
+
expect(Puppet::Resource).to receive(:new).with('type', 'name', {:parameters => {'param' => 'temp'}}).and_return(@res)
|
126
126
|
|
127
127
|
@resource_app.main
|
128
128
|
end
|
data/spec/unit/daemon_spec.rb
CHANGED
@@ -180,7 +180,7 @@ describe Puppet::Daemon, :unless => Puppet::Util::Platform.windows? do
|
|
180
180
|
|
181
181
|
it "should shut down without exiting" do
|
182
182
|
daemon.argv = %w{foo}
|
183
|
-
expect(daemon).to receive(:stop).with(:exit => false)
|
183
|
+
expect(daemon).to receive(:stop).with({:exit => false})
|
184
184
|
daemon.reexec
|
185
185
|
end
|
186
186
|
|
@@ -322,7 +322,7 @@ describe Puppet::FileBucket::Dipper, :uses_checksums => true do
|
|
322
322
|
file = make_tmp_file(plaintext)
|
323
323
|
|
324
324
|
expect(Puppet::FileBucket::File.indirection).to receive(:head).with(
|
325
|
-
%r{#{digest_algorithm}/#{checksum}}, :bucket_path => "/my/bucket"
|
325
|
+
%r{#{digest_algorithm}/#{checksum}}, {:bucket_path => "/my/bucket"}
|
326
326
|
).and_return(true)
|
327
327
|
expect(Puppet::FileBucket::File.indirection).not_to receive(:save)
|
328
328
|
expect(@dipper.backup(file)).to eq(checksum)
|