puppet 6.18.0-universal-darwin → 6.19.0-universal-darwin
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.
Potentially problematic release.
This version of puppet might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Gemfile.lock +8 -10
- data/README.md +1 -2
- data/Rakefile +4 -12
- data/lib/puppet/agent/locker.rb +0 -7
- data/lib/puppet/application/agent.rb +8 -3
- data/lib/puppet/application/doc.rb +1 -1
- data/lib/puppet/application/lookup.rb +5 -5
- data/lib/puppet/configurer.rb +39 -7
- data/lib/puppet/defaults.rb +55 -29
- data/lib/puppet/environments.rb +51 -10
- data/lib/puppet/face/catalog.rb +1 -1
- data/lib/puppet/face/config.rb +46 -16
- data/lib/puppet/face/node.rb +3 -3
- data/lib/puppet/face/node/clean.rb +2 -2
- data/lib/puppet/face/status.rb +1 -1
- data/lib/puppet/file_bucket/dipper.rb +1 -1
- data/lib/puppet/functions/new.rb +8 -3
- data/lib/puppet/http.rb +1 -0
- data/lib/puppet/http/client.rb +1 -1
- data/lib/puppet/http/resolver.rb +5 -8
- data/lib/puppet/http/resolver/server_list.rb +18 -36
- data/lib/puppet/http/resolver/settings.rb +4 -4
- data/lib/puppet/http/resolver/srv.rb +5 -5
- data/lib/puppet/http/service.rb +3 -1
- data/lib/puppet/http/service/compiler.rb +1 -1
- data/lib/puppet/http/service/file_server.rb +1 -1
- data/lib/puppet/http/service/puppetserver.rb +39 -0
- data/lib/puppet/http/session.rb +5 -4
- data/lib/puppet/indirector/catalog/compiler.rb +1 -1
- data/lib/puppet/indirector/facts/yaml.rb +1 -1
- data/lib/puppet/indirector/json.rb +1 -1
- data/lib/puppet/indirector/msgpack.rb +1 -1
- data/lib/puppet/indirector/request.rb +4 -4
- data/lib/puppet/indirector/yaml.rb +1 -1
- data/lib/puppet/network/http/api/master/v3/environments.rb +0 -1
- data/lib/puppet/node/facts.rb +17 -0
- data/lib/puppet/pops/evaluator/collectors/abstract_collector.rb +1 -3
- data/lib/puppet/pops/evaluator/runtime3_converter.rb +2 -2
- data/lib/puppet/pops/types/p_meta_type.rb +1 -1
- data/lib/puppet/pops/types/p_type_set_type.rb +4 -0
- data/lib/puppet/provider/package/dpkg.rb +1 -1
- data/lib/puppet/provider/package/pip2.rb +17 -0
- data/lib/puppet/provider/package/puppetserver_gem.rb +180 -0
- data/lib/puppet/provider/package/yum.rb +1 -0
- data/lib/puppet/resource/type.rb +2 -1
- data/lib/puppet/rest/route.rb +2 -2
- data/lib/puppet/settings.rb +19 -5
- data/lib/puppet/transaction/report.rb +11 -7
- data/lib/puppet/type/file/source.rb +1 -1
- data/lib/puppet/type/filebucket.rb +1 -1
- data/lib/puppet/util/connection.rb +8 -8
- data/lib/puppet/util/run_mode.rb +5 -1
- data/lib/puppet/version.rb +1 -1
- data/locales/puppet.pot +153 -156
- data/man/man5/puppet.conf.5 +29 -13
- data/man/man8/puppet-agent.8 +6 -3
- data/man/man8/puppet-apply.8 +1 -1
- data/man/man8/puppet-catalog.8 +1 -1
- data/man/man8/puppet-config.8 +6 -6
- 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-key.8 +1 -1
- data/man/man8/puppet-lookup.8 +1 -1
- data/man/man8/puppet-man.8 +1 -1
- data/man/man8/puppet-module.8 +1 -1
- data/man/man8/puppet-node.8 +4 -4
- 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-status.8 +2 -2
- data/man/man8/puppet.8 +2 -2
- data/spec/fixtures/unit/provider/package/puppetserver_gem/gem-list-local-packages +30 -0
- data/spec/integration/application/agent_spec.rb +23 -19
- data/spec/integration/application/filebucket_spec.rb +7 -7
- data/spec/integration/application/plugin_spec.rb +3 -3
- data/spec/integration/configurer_spec.rb +14 -0
- data/spec/integration/defaults_spec.rb +26 -1
- data/spec/integration/util/windows/adsi_spec.rb +2 -2
- data/spec/shared_contexts/types_setup.rb +2 -0
- data/spec/unit/application/doc_spec.rb +2 -2
- data/spec/unit/application/facts_spec.rb +3 -1
- data/spec/unit/application_spec.rb +9 -4
- data/spec/unit/configurer_spec.rb +39 -6
- data/spec/unit/environments_spec.rb +99 -32
- data/spec/unit/face/config_spec.rb +56 -0
- data/spec/unit/face/node_spec.rb +2 -2
- data/spec/unit/file_system_spec.rb +1 -2
- data/spec/unit/http/resolver_spec.rb +24 -4
- data/spec/unit/http/service/ca_spec.rb +2 -2
- data/spec/unit/http/service/compiler_spec.rb +2 -2
- data/spec/unit/http/service/file_server_spec.rb +2 -2
- data/spec/unit/http/service/puppetserver_spec.rb +82 -0
- data/spec/unit/http/service/report_spec.rb +2 -2
- data/spec/unit/http/session_spec.rb +8 -20
- data/spec/unit/indirector/catalog/json_spec.rb +1 -1
- data/spec/unit/indirector/catalog/rest_spec.rb +1 -1
- data/spec/unit/indirector/facts/rest_spec.rb +1 -1
- data/spec/unit/indirector/json_spec.rb +8 -8
- data/spec/unit/indirector/msgpack_spec.rb +8 -8
- data/spec/unit/indirector/node/rest_spec.rb +1 -1
- data/spec/unit/indirector/request_spec.rb +4 -4
- data/spec/unit/indirector/rest_spec.rb +1 -1
- data/spec/unit/indirector/status/rest_spec.rb +1 -1
- data/spec/unit/indirector/yaml_spec.rb +7 -7
- data/spec/unit/network/http/api/master/v3/environments_spec.rb +12 -23
- data/spec/unit/provider/exec_spec.rb +4 -3
- data/spec/unit/provider/package/dpkg_spec.rb +22 -7
- data/spec/unit/provider/package/openbsd_spec.rb +2 -0
- data/spec/unit/provider/package/pip2_spec.rb +36 -0
- data/spec/unit/provider/package/puppetserver_gem_spec.rb +137 -0
- data/spec/unit/provider/package/yum_spec.rb +31 -0
- data/spec/unit/provider/service/base_spec.rb +2 -4
- data/spec/unit/provider/service/bsd_spec.rb +5 -1
- data/spec/unit/provider/service/daemontools_spec.rb +1 -1
- data/spec/unit/provider/service/debian_spec.rb +3 -5
- data/spec/unit/provider/service/freebsd_spec.rb +1 -1
- data/spec/unit/provider/service/gentoo_spec.rb +4 -5
- data/spec/unit/provider/service/init_spec.rb +4 -5
- data/spec/unit/provider/service/launchd_spec.rb +5 -6
- data/spec/unit/provider/service/openrc_spec.rb +4 -5
- data/spec/unit/provider/service/openwrt_spec.rb +1 -1
- data/spec/unit/provider/service/redhat_spec.rb +1 -1
- data/spec/unit/provider/service/runit_spec.rb +2 -1
- data/spec/unit/provider/service/smf_spec.rb +1 -1
- data/spec/unit/provider/service/src_spec.rb +3 -5
- data/spec/unit/provider/service/systemd_spec.rb +3 -1
- data/spec/unit/provider/service/upstart_spec.rb +4 -5
- data/spec/unit/rest/route_spec.rb +4 -4
- data/spec/unit/settings_spec.rb +44 -22
- data/spec/unit/transaction/report_spec.rb +2 -0
- data/spec/unit/type/file/source_spec.rb +1 -1
- data/spec/unit/type/filebucket_spec.rb +1 -1
- data/spec/unit/util/run_mode_spec.rb +6 -6
- metadata +13 -2
@@ -676,6 +676,7 @@ Version:
|
|
676
676
|
report.catalog_uuid = "some catalog uuid"
|
677
677
|
report.cached_catalog_status = "not_used"
|
678
678
|
report.master_used = "test:000"
|
679
|
+
report.server_used = "test:000"
|
679
680
|
report.add_resource_status(status)
|
680
681
|
report.transaction_completed = true
|
681
682
|
report.finalize_report
|
@@ -694,6 +695,7 @@ Version:
|
|
694
695
|
report.catalog_uuid = "some catalog uuid"
|
695
696
|
report.cached_catalog_status = "not_used"
|
696
697
|
report.master_used = "test:000"
|
698
|
+
report.server_used = "test:000"
|
697
699
|
report.add_resource_status(status)
|
698
700
|
report.transaction_completed = true
|
699
701
|
report.finalize_report
|
@@ -521,7 +521,7 @@ describe Puppet::Type.type(:file).attrclass(:source), :uses_checksums => true do
|
|
521
521
|
end
|
522
522
|
|
523
523
|
it "should return the default source port" do
|
524
|
-
Puppet[:
|
524
|
+
Puppet[:serverport] = 1234
|
525
525
|
expect(resource.parameter(:source).port).to eq(1234)
|
526
526
|
end
|
527
527
|
end
|
@@ -25,12 +25,12 @@ describe Puppet::Util::RunMode do
|
|
25
25
|
as_non_root { expect(@run_mode.conf_dir).to eq(File.expand_path('~/.puppetlabs/etc/puppet')) }
|
26
26
|
end
|
27
27
|
|
28
|
-
context "
|
28
|
+
context "server run mode" do
|
29
29
|
before do
|
30
|
-
@run_mode = Puppet::Util::UnixRunMode.new('
|
30
|
+
@run_mode = Puppet::Util::UnixRunMode.new('server')
|
31
31
|
end
|
32
32
|
|
33
|
-
it "has confdir ~/.puppetlabs/etc/puppet when run as non-root and
|
33
|
+
it "has confdir ~/.puppetlabs/etc/puppet when run as non-root and server run mode" do
|
34
34
|
as_non_root { expect(@run_mode.conf_dir).to eq(File.expand_path('~/.puppetlabs/etc/puppet')) }
|
35
35
|
end
|
36
36
|
end
|
@@ -53,12 +53,12 @@ describe Puppet::Util::RunMode do
|
|
53
53
|
as_non_root { expect(@run_mode.code_dir).to eq(File.expand_path('~/.puppetlabs/etc/code')) }
|
54
54
|
end
|
55
55
|
|
56
|
-
context "
|
56
|
+
context "server run mode" do
|
57
57
|
before do
|
58
|
-
@run_mode = Puppet::Util::UnixRunMode.new('
|
58
|
+
@run_mode = Puppet::Util::UnixRunMode.new('server')
|
59
59
|
end
|
60
60
|
|
61
|
-
it "has codedir ~/.puppetlabs/etc/code when run as non-root and
|
61
|
+
it "has codedir ~/.puppetlabs/etc/code when run as non-root and server run mode" do
|
62
62
|
as_non_root { expect(@run_mode.code_dir).to eq(File.expand_path('~/.puppetlabs/etc/code')) }
|
63
63
|
end
|
64
64
|
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: 6.
|
4
|
+
version: 6.19.0
|
5
5
|
platform: universal-darwin
|
6
6
|
authors:
|
7
7
|
- Puppet Labs
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-10-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: facter
|
@@ -587,6 +587,7 @@ files:
|
|
587
587
|
- lib/puppet/http/service/ca.rb
|
588
588
|
- lib/puppet/http/service/compiler.rb
|
589
589
|
- lib/puppet/http/service/file_server.rb
|
590
|
+
- lib/puppet/http/service/puppetserver.rb
|
590
591
|
- lib/puppet/http/service/report.rb
|
591
592
|
- lib/puppet/http/session.rb
|
592
593
|
- lib/puppet/indirector.rb
|
@@ -1067,6 +1068,7 @@ files:
|
|
1067
1068
|
- lib/puppet/provider/package/opkg.rb
|
1068
1069
|
- lib/puppet/provider/package/pacman.rb
|
1069
1070
|
- lib/puppet/provider/package/pip.rb
|
1071
|
+
- lib/puppet/provider/package/pip2.rb
|
1070
1072
|
- lib/puppet/provider/package/pip3.rb
|
1071
1073
|
- lib/puppet/provider/package/pkg.rb
|
1072
1074
|
- lib/puppet/provider/package/pkgdmg.rb
|
@@ -1077,6 +1079,7 @@ files:
|
|
1077
1079
|
- lib/puppet/provider/package/ports.rb
|
1078
1080
|
- lib/puppet/provider/package/portupgrade.rb
|
1079
1081
|
- lib/puppet/provider/package/puppet_gem.rb
|
1082
|
+
- lib/puppet/provider/package/puppetserver_gem.rb
|
1080
1083
|
- lib/puppet/provider/package/rpm.rb
|
1081
1084
|
- lib/puppet/provider/package/rug.rb
|
1082
1085
|
- lib/puppet/provider/package/sun.rb
|
@@ -1764,6 +1767,7 @@ files:
|
|
1764
1767
|
- spec/fixtures/unit/provider/package/pkgng/pkg.query
|
1765
1768
|
- spec/fixtures/unit/provider/package/pkgng/pkg.query.zsh
|
1766
1769
|
- spec/fixtures/unit/provider/package/pkgng/pkg.version
|
1770
|
+
- spec/fixtures/unit/provider/package/puppetserver_gem/gem-list-local-packages
|
1767
1771
|
- spec/fixtures/unit/provider/package/sun/dummy.server
|
1768
1772
|
- spec/fixtures/unit/provider/package/sun/simple
|
1769
1773
|
- spec/fixtures/unit/provider/package/yum/yum-check-update-broken-notices.txt
|
@@ -2113,6 +2117,7 @@ files:
|
|
2113
2117
|
- spec/unit/http/service/ca_spec.rb
|
2114
2118
|
- spec/unit/http/service/compiler_spec.rb
|
2115
2119
|
- spec/unit/http/service/file_server_spec.rb
|
2120
|
+
- spec/unit/http/service/puppetserver_spec.rb
|
2116
2121
|
- spec/unit/http/service/report_spec.rb
|
2117
2122
|
- spec/unit/http/service_spec.rb
|
2118
2123
|
- spec/unit/http/session_spec.rb
|
@@ -2415,6 +2420,7 @@ files:
|
|
2415
2420
|
- spec/unit/provider/package/openbsd_spec.rb
|
2416
2421
|
- spec/unit/provider/package/opkg_spec.rb
|
2417
2422
|
- spec/unit/provider/package/pacman_spec.rb
|
2423
|
+
- spec/unit/provider/package/pip2_spec.rb
|
2418
2424
|
- spec/unit/provider/package/pip3_spec.rb
|
2419
2425
|
- spec/unit/provider/package/pip_spec.rb
|
2420
2426
|
- spec/unit/provider/package/pkg_spec.rb
|
@@ -2424,6 +2430,7 @@ files:
|
|
2424
2430
|
- spec/unit/provider/package/pkgutil_spec.rb
|
2425
2431
|
- spec/unit/provider/package/portage_spec.rb
|
2426
2432
|
- spec/unit/provider/package/puppet_gem_spec.rb
|
2433
|
+
- spec/unit/provider/package/puppetserver_gem_spec.rb
|
2427
2434
|
- spec/unit/provider/package/rpm_spec.rb
|
2428
2435
|
- spec/unit/provider/package/sun_spec.rb
|
2429
2436
|
- spec/unit/provider/package/tdnf_spec.rb
|
@@ -3029,6 +3036,7 @@ test_files:
|
|
3029
3036
|
- spec/fixtures/unit/provider/package/pkgng/pkg.query
|
3030
3037
|
- spec/fixtures/unit/provider/package/pkgng/pkg.query.zsh
|
3031
3038
|
- spec/fixtures/unit/provider/package/pkgng/pkg.version
|
3039
|
+
- spec/fixtures/unit/provider/package/puppetserver_gem/gem-list-local-packages
|
3032
3040
|
- spec/fixtures/unit/provider/package/sun/dummy.server
|
3033
3041
|
- spec/fixtures/unit/provider/package/sun/simple
|
3034
3042
|
- spec/fixtures/unit/provider/package/yum/yum-check-update-broken-notices.txt
|
@@ -3378,6 +3386,7 @@ test_files:
|
|
3378
3386
|
- spec/unit/http/service/ca_spec.rb
|
3379
3387
|
- spec/unit/http/service/compiler_spec.rb
|
3380
3388
|
- spec/unit/http/service/file_server_spec.rb
|
3389
|
+
- spec/unit/http/service/puppetserver_spec.rb
|
3381
3390
|
- spec/unit/http/service/report_spec.rb
|
3382
3391
|
- spec/unit/http/service_spec.rb
|
3383
3392
|
- spec/unit/http/session_spec.rb
|
@@ -3680,6 +3689,7 @@ test_files:
|
|
3680
3689
|
- spec/unit/provider/package/openbsd_spec.rb
|
3681
3690
|
- spec/unit/provider/package/opkg_spec.rb
|
3682
3691
|
- spec/unit/provider/package/pacman_spec.rb
|
3692
|
+
- spec/unit/provider/package/pip2_spec.rb
|
3683
3693
|
- spec/unit/provider/package/pip3_spec.rb
|
3684
3694
|
- spec/unit/provider/package/pip_spec.rb
|
3685
3695
|
- spec/unit/provider/package/pkg_spec.rb
|
@@ -3689,6 +3699,7 @@ test_files:
|
|
3689
3699
|
- spec/unit/provider/package/pkgutil_spec.rb
|
3690
3700
|
- spec/unit/provider/package/portage_spec.rb
|
3691
3701
|
- spec/unit/provider/package/puppet_gem_spec.rb
|
3702
|
+
- spec/unit/provider/package/puppetserver_gem_spec.rb
|
3692
3703
|
- spec/unit/provider/package/rpm_spec.rb
|
3693
3704
|
- spec/unit/provider/package/sun_spec.rb
|
3694
3705
|
- spec/unit/provider/package/tdnf_spec.rb
|