puppet 7.21.0-x86-mingw32 → 7.22.0-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (68) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +48 -34
  3. data/Guardfile.example +1 -1
  4. data/ext/project_data.yaml +1 -1
  5. data/ext/windows/service/daemon.rb +1 -1
  6. data/lib/puppet/indirector/facts/facter.rb +4 -1
  7. data/lib/puppet/version.rb +1 -1
  8. data/man/man5/puppet.conf.5 +2 -2
  9. data/man/man8/puppet-agent.8 +1 -1
  10. data/man/man8/puppet-apply.8 +1 -1
  11. data/man/man8/puppet-catalog.8 +1 -1
  12. data/man/man8/puppet-config.8 +1 -1
  13. data/man/man8/puppet-describe.8 +1 -1
  14. data/man/man8/puppet-device.8 +1 -1
  15. data/man/man8/puppet-doc.8 +1 -1
  16. data/man/man8/puppet-epp.8 +1 -1
  17. data/man/man8/puppet-facts.8 +1 -1
  18. data/man/man8/puppet-filebucket.8 +1 -1
  19. data/man/man8/puppet-generate.8 +1 -1
  20. data/man/man8/puppet-help.8 +1 -1
  21. data/man/man8/puppet-lookup.8 +1 -1
  22. data/man/man8/puppet-module.8 +1 -1
  23. data/man/man8/puppet-node.8 +1 -1
  24. data/man/man8/puppet-parser.8 +1 -1
  25. data/man/man8/puppet-plugin.8 +1 -1
  26. data/man/man8/puppet-report.8 +1 -1
  27. data/man/man8/puppet-resource.8 +1 -1
  28. data/man/man8/puppet-script.8 +1 -1
  29. data/man/man8/puppet-ssl.8 +1 -1
  30. data/man/man8/puppet.8 +2 -2
  31. data/spec/integration/application/agent_spec.rb +1 -1
  32. data/spec/unit/application/agent_spec.rb +1 -1
  33. data/spec/unit/application/device_spec.rb +1 -1
  34. data/spec/unit/application/resource_spec.rb +1 -1
  35. data/spec/unit/daemon_spec.rb +1 -1
  36. data/spec/unit/file_bucket/dipper_spec.rb +1 -1
  37. data/spec/unit/file_serving/fileset_spec.rb +14 -14
  38. data/spec/unit/file_system_spec.rb +3 -1
  39. data/spec/unit/graph/simple_graph_spec.rb +1 -1
  40. data/spec/unit/indirector/facts/facter_spec.rb +18 -3
  41. data/spec/unit/indirector/file_server_spec.rb +5 -5
  42. data/spec/unit/indirector/node/plain_spec.rb +1 -1
  43. data/spec/unit/provider/file/posix_spec.rb +4 -4
  44. data/spec/unit/provider/ldap_spec.rb +1 -1
  45. data/spec/unit/provider/nameservice_spec.rb +15 -15
  46. data/spec/unit/provider/package/aix_spec.rb +1 -1
  47. data/spec/unit/provider/package/nim_spec.rb +2 -2
  48. data/spec/unit/provider/service/bsd_spec.rb +4 -4
  49. data/spec/unit/provider/service/debian_spec.rb +2 -2
  50. data/spec/unit/provider/service/gentoo_spec.rb +20 -20
  51. data/spec/unit/provider/service/openbsd_spec.rb +18 -18
  52. data/spec/unit/provider/service/openrc_spec.rb +19 -19
  53. data/spec/unit/provider/service/systemd_spec.rb +22 -22
  54. data/spec/unit/provider/service/upstart_spec.rb +6 -6
  55. data/spec/unit/provider/user/aix_spec.rb +1 -1
  56. data/spec/unit/provider/user/hpux_spec.rb +1 -1
  57. data/spec/unit/provider/user/openbsd_spec.rb +1 -1
  58. data/spec/unit/provider/user/useradd_spec.rb +1 -1
  59. data/spec/unit/resource/type_spec.rb +2 -2
  60. data/spec/unit/ssl/base_spec.rb +1 -1
  61. data/spec/unit/ssl/certificate_request_spec.rb +1 -1
  62. data/spec/unit/ssl/certificate_spec.rb +1 -1
  63. data/spec/unit/transaction/event_manager_spec.rb +2 -2
  64. data/spec/unit/type/exec_spec.rb +1 -1
  65. data/spec/unit/util/backups_spec.rb +1 -1
  66. data/spec/unit/util/filetype_spec.rb +3 -3
  67. data/spec/unit/util/resource_template_spec.rb +1 -1
  68. metadata +9 -3
@@ -16,7 +16,7 @@ describe Puppet::Util::FileType do
16
16
  describe "when the file already exists" do
17
17
  it "should return the file's contents when asked to read it" do
18
18
  expect(Puppet::FileSystem).to receive(:exist?).with(path).and_return(true)
19
- expect(Puppet::FileSystem).to receive(:read).with(path, :encoding => Encoding.default_external).and_return("my text")
19
+ expect(Puppet::FileSystem).to receive(:read).with(path, {:encoding => Encoding.default_external}).and_return("my text")
20
20
 
21
21
  expect(file.read).to eq("my text")
22
22
  end
@@ -46,7 +46,7 @@ describe Puppet::Util::FileType do
46
46
  end
47
47
 
48
48
  it "should first create a temp file and copy its contents over to the file location" do
49
- expect(Tempfile).to receive(:new).with("puppet", :encoding => Encoding.default_external).and_return(tempfile)
49
+ expect(Tempfile).to receive(:new).with("puppet", {:encoding => Encoding.default_external}).and_return(tempfile)
50
50
  expect(tempfile).to receive(:print).with("my text")
51
51
  expect(tempfile).to receive(:flush)
52
52
  expect(tempfile).to receive(:close)
@@ -163,7 +163,7 @@ describe Puppet::Util::FileType do
163
163
  @tmp_cron = Tempfile.new("puppet_crontab_spec")
164
164
  @tmp_cron_path = @tmp_cron.path
165
165
  allow(Puppet::Util).to receive(:uid).with(uid).and_return(9000)
166
- expect(Tempfile).to receive(:new).with("puppet_#{name}", :encoding => Encoding.default_external).and_return(@tmp_cron)
166
+ expect(Tempfile).to receive(:new).with("puppet_#{name}", {:encoding => Encoding.default_external}).and_return(@tmp_cron)
167
167
  end
168
168
 
169
169
  after :each do
@@ -38,7 +38,7 @@ describe Puppet::Util::ResourceTemplate do
38
38
  end
39
39
 
40
40
  it "should create a template instance with the contents of the file" do
41
- expect(Puppet::FileSystem).to receive(:read).with("/my/template", :encoding => 'utf-8').and_return("yay")
41
+ expect(Puppet::FileSystem).to receive(:read).with("/my/template", {:encoding => 'utf-8'}).and_return("yay")
42
42
  expect(Puppet::Util).to receive(:create_erb).with("yay").and_return(@template)
43
43
 
44
44
  allow(@wrapper).to receive(:set_resource_variables)
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.21.0
4
+ version: 7.22.0
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Puppet Labs
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-08 00:00:00.000000000 Z
11
+ date: 2023-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: facter
@@ -133,6 +133,9 @@ dependencies:
133
133
  - - "~>"
134
134
  - !ruby/object:Gem::Version
135
135
  version: '1.0'
136
+ - - "<"
137
+ - !ruby/object:Gem::Version
138
+ version: 1.2.0
136
139
  type: :runtime
137
140
  prerelease: false
138
141
  version_requirements: !ruby/object:Gem::Requirement
@@ -140,6 +143,9 @@ dependencies:
140
143
  - - "~>"
141
144
  - !ruby/object:Gem::Version
142
145
  version: '1.0'
146
+ - - "<"
147
+ - !ruby/object:Gem::Version
148
+ version: 1.2.0
143
149
  - !ruby/object:Gem::Dependency
144
150
  name: deep_merge
145
151
  requirement: !ruby/object:Gem::Requirement
@@ -2572,7 +2578,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2572
2578
  - !ruby/object:Gem::Version
2573
2579
  version: 1.3.1
2574
2580
  requirements: []
2575
- rubygems_version: 3.1.6
2581
+ rubygems_version: 3.0.9
2576
2582
  signing_key:
2577
2583
  specification_version: 4
2578
2584
  summary: Puppet, an automated configuration management tool