puppet 5.5.3-x64-mingw32 → 5.5.6-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of puppet might be problematic. Click here for more details.

Files changed (71) hide show
  1. checksums.yaml +5 -5
  2. data/CONTRIBUTING.md +1 -4
  3. data/Gemfile +5 -1
  4. data/Gemfile.lock +167 -0
  5. data/Rakefile +4 -34
  6. data/ext/build_defaults.yaml +0 -2
  7. data/lib/puppet/application/cert.rb +3 -1
  8. data/lib/puppet/defaults.rb +55 -26
  9. data/lib/puppet/face/certificate.rb +2 -0
  10. data/lib/puppet/indirector/ldap.rb +6 -0
  11. data/lib/puppet/node/environment.rb +4 -2
  12. data/lib/puppet/parser/functions/tagged.rb +1 -4
  13. data/lib/puppet/pops/issues.rb +4 -0
  14. data/lib/puppet/pops/validation/checker4_0.rb +100 -0
  15. data/lib/puppet/pops/validation/validator_factory_4_0.rb +4 -3
  16. data/lib/puppet/provider/augeas/augeas.rb +198 -4
  17. data/lib/puppet/provider/service/smf.rb +2 -3
  18. data/lib/puppet/provider/service/upstart.rb +10 -2
  19. data/lib/puppet/test/test_helper.rb +0 -3
  20. data/lib/puppet/type/file/source.rb +10 -1
  21. data/lib/puppet/version.rb +1 -1
  22. data/locales/puppet.pot +132 -118
  23. data/man/man5/puppet.conf.5 +23 -23
  24. data/man/man8/puppet-agent.8 +1 -1
  25. data/man/man8/puppet-apply.8 +1 -1
  26. data/man/man8/puppet-ca.8 +3 -3
  27. data/man/man8/puppet-catalog.8 +1 -1
  28. data/man/man8/puppet-cert.8 +2 -2
  29. data/man/man8/puppet-certificate.8 +3 -3
  30. data/man/man8/puppet-certificate_request.8 +1 -1
  31. data/man/man8/puppet-certificate_revocation_list.8 +1 -1
  32. data/man/man8/puppet-config.8 +1 -1
  33. data/man/man8/puppet-describe.8 +1 -1
  34. data/man/man8/puppet-device.8 +1 -1
  35. data/man/man8/puppet-doc.8 +1 -1
  36. data/man/man8/puppet-epp.8 +1 -1
  37. data/man/man8/puppet-facts.8 +1 -1
  38. data/man/man8/puppet-filebucket.8 +1 -1
  39. data/man/man8/puppet-generate.8 +1 -1
  40. data/man/man8/puppet-help.8 +1 -1
  41. data/man/man8/puppet-key.8 +1 -1
  42. data/man/man8/puppet-lookup.8 +1 -1
  43. data/man/man8/puppet-man.8 +1 -1
  44. data/man/man8/puppet-master.8 +1 -1
  45. data/man/man8/puppet-module.8 +1 -1
  46. data/man/man8/puppet-node.8 +1 -1
  47. data/man/man8/puppet-parser.8 +1 -1
  48. data/man/man8/puppet-plugin.8 +1 -1
  49. data/man/man8/puppet-report.8 +1 -1
  50. data/man/man8/puppet-resource.8 +1 -1
  51. data/man/man8/puppet-script.8 +1 -1
  52. data/man/man8/puppet-status.8 +1 -1
  53. data/man/man8/puppet.8 +3 -3
  54. data/spec/integration/type/file_spec.rb +18 -3
  55. data/spec/integration/util/settings_spec.rb +1 -0
  56. data/spec/integration/util/windows/security_spec.rb +78 -1
  57. data/spec/unit/application/master_spec.rb +2 -0
  58. data/spec/unit/configurer/downloader_spec.rb +5 -0
  59. data/spec/unit/defaults_spec.rb +13 -0
  60. data/spec/unit/face/help_spec.rb +2 -1
  61. data/spec/unit/indirector/ldap_spec.rb +22 -1
  62. data/spec/unit/node/environment_spec.rb +14 -0
  63. data/spec/unit/parser/functions/tagged_spec.rb +16 -0
  64. data/spec/unit/pops/validator/validator_spec.rb +139 -4
  65. data/spec/unit/provider/augeas/augeas_spec.rb +66 -1
  66. data/spec/unit/provider/service/smf_spec.rb +2 -6
  67. data/spec/unit/provider/service/upstart_spec.rb +37 -0
  68. data/spec/unit/settings/autosign_setting_spec.rb +2 -2
  69. data/spec/unit/settings/file_setting_spec.rb +6 -0
  70. data/spec/unit/ssl/certificate_authority_spec.rb +1 -0
  71. metadata +4 -3
@@ -182,12 +182,14 @@ describe Puppet::Settings::FileSetting do
182
182
  end
183
183
 
184
184
  it "should set the mode on the file if a mode is provided as an octal number" do
185
+ Puppet[:manage_internal_file_permissions] = true
185
186
  @file.mode = 0755
186
187
 
187
188
  expect(@file.to_resource[:mode]).to eq('755')
188
189
  end
189
190
 
190
191
  it "should set the mode on the file if a mode is provided as a string" do
192
+ Puppet[:manage_internal_file_permissions] = true
191
193
  @file.mode = '0755'
192
194
 
193
195
  expect(@file.to_resource[:mode]).to eq('755')
@@ -202,6 +204,7 @@ describe Puppet::Settings::FileSetting do
202
204
  end
203
205
 
204
206
  it "should set the owner if running as root and the owner is provided" do
207
+ Puppet[:manage_internal_file_permissions] = true
205
208
  Puppet.features.expects(:root?).returns true
206
209
  Puppet.features.stubs(:microsoft_windows?).returns false
207
210
 
@@ -218,6 +221,7 @@ describe Puppet::Settings::FileSetting do
218
221
  end
219
222
 
220
223
  it "should set the group if running as root and the group is provided" do
224
+ Puppet[:manage_internal_file_permissions] = true
221
225
  Puppet.features.expects(:root?).returns true
222
226
  Puppet.features.stubs(:microsoft_windows?).returns false
223
227
 
@@ -235,6 +239,7 @@ describe Puppet::Settings::FileSetting do
235
239
 
236
240
 
237
241
  it "should not set owner if not running as root" do
242
+ Puppet[:manage_internal_file_permissions] = true
238
243
  Puppet.features.expects(:root?).returns false
239
244
  Puppet.features.stubs(:microsoft_windows?).returns false
240
245
  @file.stubs(:owner).returns "foo"
@@ -242,6 +247,7 @@ describe Puppet::Settings::FileSetting do
242
247
  end
243
248
 
244
249
  it "should not set group if not running as root" do
250
+ Puppet[:manage_internal_file_permissions] = true
245
251
  Puppet.features.expects(:root?).returns false
246
252
  Puppet.features.stubs(:microsoft_windows?).returns false
247
253
  @file.stubs(:group).returns "foo"
@@ -943,6 +943,7 @@ describe Puppet::SSL::CertificateAuthority do
943
943
  end
944
944
 
945
945
  it "should be deprecated" do
946
+ Puppet.expects(:deprecation_warning).with(regexp_matches(/Accessing 'cacert' as a setting is deprecated/))
946
947
  Puppet.expects(:deprecation_warning).with(regexp_matches(/certificate_is_alive\? is deprecated/))
947
948
  @ca.certificate_is_alive?(@cert)
948
949
  end
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: 5.5.3
4
+ version: 5.5.6
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: 2018-07-16 00:00:00.000000000 Z
11
+ date: 2018-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: facter
@@ -186,6 +186,7 @@ files:
186
186
  - COMMITTERS.md
187
187
  - CONTRIBUTING.md
188
188
  - Gemfile
189
+ - Gemfile.lock
189
190
  - LICENSE
190
191
  - MAINTAINERS
191
192
  - README.md
@@ -2774,7 +2775,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
2774
2775
  version: 1.3.1
2775
2776
  requirements: []
2776
2777
  rubyforge_project: puppet
2777
- rubygems_version: 2.5.2.1
2778
+ rubygems_version: 2.7.7
2778
2779
  signing_key:
2779
2780
  specification_version: 4
2780
2781
  summary: Puppet, an automated configuration management tool