puppet 7.20.0-x64-mingw32 → 7.21.0-x64-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +23 -23
- data/lib/puppet/application/lookup.rb +5 -5
- data/lib/puppet/defaults.rb +14 -0
- data/lib/puppet/indirector/facts/facter.rb +5 -1
- data/lib/puppet/info_service/task_information_service.rb +10 -2
- data/lib/puppet/transaction/report.rb +18 -1
- data/lib/puppet/type/resources.rb +1 -6
- data/lib/puppet/type/tidy.rb +3 -2
- data/lib/puppet/type/user.rb +1 -3
- data/lib/puppet/type.rb +10 -0
- data/lib/puppet/version.rb +1 -1
- data/man/man5/puppet.conf.5 +18 -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 +99 -0
- data/spec/integration/application/lookup_spec.rb +55 -0
- data/spec/unit/agent_spec.rb +1 -1
- data/spec/unit/confiner_spec.rb +1 -1
- data/spec/unit/http/service/compiler_spec.rb +1 -1
- data/spec/unit/indirector/facts/facter_spec.rb +10 -0
- data/spec/unit/indirector/indirection_spec.rb +1 -1
- data/spec/unit/info_service_spec.rb +21 -0
- data/spec/unit/module_tool/tar/mini_spec.rb +1 -1
- data/spec/unit/network/formats_spec.rb +1 -1
- data/spec/unit/provider/ldap_spec.rb +2 -2
- data/spec/unit/provider/package/dpkg_spec.rb +3 -3
- data/spec/unit/provider/package/pkgutil_spec.rb +4 -4
- data/spec/unit/provider/parsedfile_spec.rb +4 -4
- data/spec/unit/reports/store_spec.rb +5 -1
- data/spec/unit/transaction/event_manager_spec.rb +2 -2
- data/spec/unit/transaction/report_spec.rb +38 -1
- data/spec/unit/transaction_spec.rb +2 -2
- data/spec/unit/type/file_spec.rb +4 -4
- data/spec/unit/type/filebucket_spec.rb +3 -3
- data/spec/unit/type/resources_spec.rb +14 -0
- data/spec/unit/type/tidy_spec.rb +27 -17
- data/spec/unit/util/execution_spec.rb +6 -6
- data/spec/unit/util/network_device_spec.rb +1 -6
- data/spec/unit/util/storage_spec.rb +1 -1
- data/spec/unit/x509/cert_provider_spec.rb +1 -1
- metadata +2 -2
@@ -153,11 +153,11 @@ describe Puppet::Util::Execution, if: !Puppet::Util::Platform.jruby? do
|
|
153
153
|
end
|
154
154
|
|
155
155
|
it "should create a new process for the command" do
|
156
|
-
expect(Process).to receive(:create).with(
|
156
|
+
expect(Process).to receive(:create).with({
|
157
157
|
:command_line => "test command",
|
158
158
|
:startup_info => {:stdin => @stdin, :stdout => @stdout, :stderr => @stderr},
|
159
159
|
:close_handles => false
|
160
|
-
).and_return(proc_info_stub)
|
160
|
+
}).and_return(proc_info_stub)
|
161
161
|
|
162
162
|
call_exec_windows('test command', {}, @stdin, @stdout, @stderr)
|
163
163
|
end
|
@@ -165,7 +165,7 @@ describe Puppet::Util::Execution, if: !Puppet::Util::Platform.jruby? do
|
|
165
165
|
context 'cwd option' do
|
166
166
|
let(:cwd) { 'cwd' }
|
167
167
|
it "should execute the command in the specified working directory" do
|
168
|
-
expect(Process).to receive(:create).with(
|
168
|
+
expect(Process).to receive(:create).with({
|
169
169
|
:command_line => "test command",
|
170
170
|
:startup_info => {
|
171
171
|
:stdin => @stdin,
|
@@ -174,7 +174,7 @@ describe Puppet::Util::Execution, if: !Puppet::Util::Platform.jruby? do
|
|
174
174
|
},
|
175
175
|
:close_handles => false,
|
176
176
|
:cwd => cwd
|
177
|
-
)
|
177
|
+
})
|
178
178
|
|
179
179
|
call_exec_windows('test command', { :cwd => cwd }, @stdin, @stdout, @stderr)
|
180
180
|
end
|
@@ -192,7 +192,7 @@ describe Puppet::Util::Execution, if: !Puppet::Util::Platform.jruby? do
|
|
192
192
|
context 'suppress_window option' do
|
193
193
|
let(:cwd) { 'cwd' }
|
194
194
|
it "should execute the command in the specified working directory" do
|
195
|
-
expect(Process).to receive(:create).with(
|
195
|
+
expect(Process).to receive(:create).with({
|
196
196
|
:command_line => "test command",
|
197
197
|
:startup_info => {
|
198
198
|
:stdin => @stdin,
|
@@ -201,7 +201,7 @@ describe Puppet::Util::Execution, if: !Puppet::Util::Platform.jruby? do
|
|
201
201
|
},
|
202
202
|
:close_handles => false,
|
203
203
|
:creation_flags => Puppet::Util::Windows::Process::CREATE_NO_WINDOW
|
204
|
-
)
|
204
|
+
})
|
205
205
|
|
206
206
|
call_exec_windows('test command', { :suppress_window => true }, @stdin, @stdout, @stderr)
|
207
207
|
end
|
@@ -20,14 +20,9 @@ describe Puppet::Util::NetworkDevice do
|
|
20
20
|
end
|
21
21
|
|
22
22
|
describe "when initializing the remote network device singleton" do
|
23
|
-
it "should load the network device code" do
|
24
|
-
expect(Puppet::Util::NetworkDevice).to receive(:require)
|
25
|
-
Puppet::Util::NetworkDevice.init(@device)
|
26
|
-
end
|
27
|
-
|
28
23
|
it "should create a network device instance" do
|
29
24
|
allow(Puppet::Util::NetworkDevice).to receive(:require)
|
30
|
-
expect(Puppet::Util::NetworkDevice::Test::Device).to receive(:new).with("telnet://admin:password@127.0.0.1", :debug => false)
|
25
|
+
expect(Puppet::Util::NetworkDevice::Test::Device).to receive(:new).with("telnet://admin:password@127.0.0.1", {:debug => false})
|
31
26
|
Puppet::Util::NetworkDevice.init(@device)
|
32
27
|
end
|
33
28
|
|
@@ -170,7 +170,7 @@ describe Puppet::Util::Storage do
|
|
170
170
|
it 'should load Time and Symbols' do
|
171
171
|
state = {
|
172
172
|
'File[/etc/puppetlabs/puppet]' =>
|
173
|
-
{ :checked => Time.new(
|
173
|
+
{ :checked => Time.new(2018, 8, 8, 15, 28, 25, "-07:00") }
|
174
174
|
}
|
175
175
|
write_state_file(YAML.dump(state))
|
176
176
|
|
@@ -135,7 +135,7 @@ describe Puppet::X509::CertProvider do
|
|
135
135
|
|
136
136
|
expect {
|
137
137
|
create_provider(crlpath: crl_path).load_crls
|
138
|
-
}.to raise_error(OpenSSL::X509::CRLError,
|
138
|
+
}.to raise_error(OpenSSL::X509::CRLError, /(PEM_read_bio_X509_CRL: bad base64 decode|nested asn1 error)/)
|
139
139
|
end
|
140
140
|
|
141
141
|
it 'raises if the input is empty' do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: puppet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.
|
4
|
+
version: 7.21.0
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- Puppet Labs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-12-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: facter
|