puppet 7.29.1-universal-darwin → 7.31.0-universal-darwin

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +8 -2
  3. data/Gemfile.lock +50 -47
  4. data/Rakefile +41 -0
  5. data/ext/project_data.yaml +0 -46
  6. data/lib/puppet/application/resource.rb +9 -2
  7. data/lib/puppet/daemon.rb +1 -0
  8. data/lib/puppet/defaults.rb +6 -0
  9. data/lib/puppet/http/redirector.rb +4 -0
  10. data/lib/puppet/indirector/catalog/rest.rb +7 -5
  11. data/lib/puppet/info_service/class_information_service.rb +4 -5
  12. data/lib/puppet/node/environment.rb +4 -5
  13. data/lib/puppet/pops/validation/validator_factory_4_0.rb +1 -1
  14. data/lib/puppet/provider/group/groupadd.rb +30 -9
  15. data/lib/puppet/provider/package/dnfmodule.rb +1 -1
  16. data/lib/puppet/provider/package/pacman.rb +12 -2
  17. data/lib/puppet/provider/package/pip.rb +3 -0
  18. data/lib/puppet/scheduler/splay_job.rb +9 -0
  19. data/lib/puppet/version.rb +1 -1
  20. data/man/man5/puppet.conf.5 +10 -2
  21. data/man/man8/puppet-agent.8 +1 -1
  22. data/man/man8/puppet-apply.8 +1 -1
  23. data/man/man8/puppet-catalog.8 +1 -1
  24. data/man/man8/puppet-config.8 +1 -1
  25. data/man/man8/puppet-describe.8 +1 -1
  26. data/man/man8/puppet-device.8 +1 -1
  27. data/man/man8/puppet-doc.8 +1 -1
  28. data/man/man8/puppet-epp.8 +1 -1
  29. data/man/man8/puppet-facts.8 +1 -1
  30. data/man/man8/puppet-filebucket.8 +1 -1
  31. data/man/man8/puppet-generate.8 +1 -1
  32. data/man/man8/puppet-help.8 +1 -1
  33. data/man/man8/puppet-lookup.8 +1 -1
  34. data/man/man8/puppet-module.8 +1 -1
  35. data/man/man8/puppet-node.8 +1 -1
  36. data/man/man8/puppet-parser.8 +1 -1
  37. data/man/man8/puppet-plugin.8 +1 -1
  38. data/man/man8/puppet-report.8 +1 -1
  39. data/man/man8/puppet-resource.8 +5 -1
  40. data/man/man8/puppet-script.8 +1 -1
  41. data/man/man8/puppet-ssl.8 +1 -1
  42. data/man/man8/puppet.8 +2 -2
  43. metadata +6 -5
  44. data/tasks/cfpropertylist.rake +0 -15
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8b729e8e785fd2cb88a298209705431c74ad4d5d81a78f4963d45ed211f35b85
4
- data.tar.gz: 9334a4b47c4b02e41f38e0bc9cdca3b26583f99aa0fa8e0bfa6ddfbc6aaac426
3
+ metadata.gz: 1f73756c0bf4d24a233fc7f920f4c79f46237283748d304b9de0e7d2e8f6261c
4
+ data.tar.gz: ed008208235f076f8cdb89ef06bf3a3182b74b87934da515288ce75c09ff2c55
5
5
  SHA512:
6
- metadata.gz: 430978e61bed0ed35bc5a4d0f721fb74cb771435015954191f4c91d6670309192a0f64ee0370f53c084c968492e78459ab5de3116609caae7a23d4301fecc206
7
- data.tar.gz: 2bcfa908c81677261872d4927b55e64067dcab86bcc21cbadb2362e53eeaa0a760f3e4a32b1ad3856ea33c3f3dea912958f5f66e978a56febaf6727449ecf584
6
+ metadata.gz: 5691780693e508b0c1033b614462ca3bc2f4f563aa84edbccdf380759fa9005de91b60ea5de2563dcff50f7eeccee1778c2922209a8f650f092915a9fabc573d
7
+ data.tar.gz: f9632ca813cdc89759b7ecef41af6367a4e1d3c1b329ea6e1a0ded610b545de218ce223babdb739f7048987aa23a780eb0e700b647d6be695b3da648cc2eea24
data/Gemfile CHANGED
@@ -12,7 +12,11 @@ def location_for(place, fake_version = nil)
12
12
  end
13
13
  end
14
14
 
15
- # override .gemspec deps - may issue warning depending on Bundler version
15
+ # Make sure these gem requirements are in sync with the gempspec. Specifically,
16
+ # the runtime_dependencies in puppet.gemspec match the runtime dependencies here
17
+ # (like semantic_puppet and puppet-resource_api)
18
+
19
+ # override .gemspec deps for facter & hiera - may issue warning depending on Bundler version
16
20
  gem "facter", *location_for(ENV['FACTER_LOCATION']) if ENV.has_key?('FACTER_LOCATION')
17
21
  gem "hiera", *location_for(ENV['HIERA_LOCATION']) if ENV.has_key?('HIERA_LOCATION')
18
22
  gem "semantic_puppet", *location_for(ENV['SEMANTIC_PUPPET_LOCATION'] || ["~> 1.0"])
@@ -32,10 +36,12 @@ group(:features) do
32
36
  # requires native ldap headers/libs
33
37
  # gem 'ruby-ldap', '~> 0.9', require: false, platforms: [:ruby]
34
38
  gem 'puppetserver-ca', '~> 2.0', require: false
39
+ gem 'CFPropertyList', '~> 2.2', require: false
35
40
  end
36
41
 
37
42
  group(:test) do
38
- gem "ffi", '1.15.5', require: false
43
+ # 1.16.0 - 1.16.2 are broken on Windows
44
+ gem 'ffi', '>= 1.15.5', '< 1.17.0', '!= 1.16.0', '!= 1.16.1', '!= 1.16.2', require: false
39
45
  gem "json-schema", "~> 2.0", require: false
40
46
  gem "rake", *location_for(ENV['RAKE_LOCATION'] || '~> 13.0')
41
47
  gem "rspec", "~> 3.1", require: false
data/Gemfile.lock CHANGED
@@ -1,15 +1,15 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- puppet (7.29.1)
5
- CFPropertyList (~> 2.2)
4
+ puppet (7.31.0)
6
5
  concurrent-ruby (~> 1.0)
7
6
  deep_merge (~> 1.0)
8
- facter (>= 2.4.0, < 5)
7
+ facter (> 2.0.1, < 5)
9
8
  fast_gettext (>= 1.1, < 3)
10
9
  hiera (>= 3.2.1, < 4)
11
10
  locale (~> 2.1)
12
- multi_json (~> 1.13)
11
+ multi_json (~> 1.10)
12
+ puppet-resource_api (~> 1.5)
13
13
  scanf (~> 1.0)
14
14
  semantic_puppet (~> 1.0)
15
15
 
@@ -19,34 +19,31 @@ GEM
19
19
  CFPropertyList (2.3.6)
20
20
  addressable (2.8.6)
21
21
  public_suffix (>= 2.0.2, < 6.0)
22
- apt_stage_artifacts (0.11.0)
23
- docopt
24
22
  artifactory (3.0.17)
25
23
  ast (2.4.2)
26
24
  base64 (0.2.0)
27
- bigdecimal (3.1.6)
25
+ bigdecimal (3.1.8)
28
26
  coderay (1.1.3)
29
- concurrent-ruby (1.2.3)
27
+ concurrent-ruby (1.3.1)
30
28
  crack (1.0.0)
31
29
  bigdecimal
32
30
  rexml
33
- csv (3.2.8)
31
+ csv (3.3.0)
34
32
  declarative (0.0.20)
35
33
  deep_merge (1.2.2)
36
34
  diff-lcs (1.5.1)
37
35
  digest-crc (0.6.5)
38
36
  rake (>= 12.0.0, < 14.0.0)
39
37
  docopt (0.6.1)
40
- facter (4.6.1)
38
+ facter (4.7.0)
41
39
  hocon (~> 1.3)
42
- thor (>= 1.0.1, < 2.0)
43
- faraday (2.8.1)
44
- base64
45
- faraday-net_http (>= 2.0, < 3.1)
46
- ruby2_keywords (>= 0.0.4)
47
- faraday-net_http (3.0.2)
40
+ thor (>= 1.0.1, < 1.3)
41
+ faraday (2.9.1)
42
+ faraday-net_http (>= 2.0, < 3.2)
43
+ faraday-net_http (3.1.0)
44
+ net-http
48
45
  fast_gettext (1.1.2)
49
- ffi (1.15.5)
46
+ ffi (1.16.3)
50
47
  gettext (3.2.9)
51
48
  locale (>= 2.0.5)
52
49
  text (>= 1.3.0)
@@ -54,7 +51,7 @@ GEM
54
51
  fast_gettext (~> 1.1.0)
55
52
  gettext (>= 3.0.2, < 3.3.0)
56
53
  locale
57
- google-apis-core (0.14.0)
54
+ google-apis-core (0.15.0)
58
55
  addressable (~> 2.5, >= 2.5.1)
59
56
  googleauth (~> 1.9)
60
57
  httpclient (>= 2.8.1, < 3.a)
@@ -62,22 +59,22 @@ GEM
62
59
  representable (~> 3.0)
63
60
  retriable (>= 2.0, < 4.a)
64
61
  rexml
65
- google-apis-iamcredentials_v1 (0.19.0)
66
- google-apis-core (>= 0.14.0, < 2.a)
67
- google-apis-storage_v1 (0.34.0)
68
- google-apis-core (>= 0.14.0, < 2.a)
69
- google-cloud-core (1.6.1)
62
+ google-apis-iamcredentials_v1 (0.21.0)
63
+ google-apis-core (>= 0.15.0, < 2.a)
64
+ google-apis-storage_v1 (0.39.0)
65
+ google-apis-core (>= 0.15.0, < 2.a)
66
+ google-cloud-core (1.7.0)
70
67
  google-cloud-env (>= 1.0, < 3.a)
71
68
  google-cloud-errors (~> 1.0)
72
69
  google-cloud-env (2.1.1)
73
70
  faraday (>= 1.0, < 3.a)
74
- google-cloud-errors (1.3.1)
75
- google-cloud-storage (1.49.0)
71
+ google-cloud-errors (1.4.0)
72
+ google-cloud-storage (1.52.0)
76
73
  addressable (~> 2.8)
77
74
  digest-crc (~> 0.4)
78
75
  google-apis-core (~> 0.13)
79
76
  google-apis-iamcredentials_v1 (~> 0.18)
80
- google-apis-storage_v1 (~> 0.33)
77
+ google-apis-storage_v1 (~> 0.38)
81
78
  google-cloud-core (~> 1.6)
82
79
  googleauth (~> 1.9)
83
80
  mini_mime (~> 1.0)
@@ -90,9 +87,9 @@ GEM
90
87
  signet (>= 0.16, < 2.a)
91
88
  hashdiff (1.1.0)
92
89
  hiera (3.12.0)
93
- hiera-eyaml (3.4.0)
94
- highline
95
- optimist
90
+ hiera-eyaml (4.1.0)
91
+ highline (~> 2.1)
92
+ optimist (~> 3.1)
96
93
  highline (2.1.0)
97
94
  hocon (1.4.0)
98
95
  hpricot (0.8.6)
@@ -101,18 +98,19 @@ GEM
101
98
  addressable (>= 2.4)
102
99
  jwt (2.8.1)
103
100
  base64
104
- locale (2.1.3)
101
+ locale (2.1.4)
105
102
  memory_profiler (1.0.1)
106
- method_source (1.0.0)
103
+ method_source (1.1.0)
107
104
  mini_mime (1.1.5)
108
105
  minitar (0.9)
109
106
  msgpack (1.7.2)
110
107
  multi_json (1.15.0)
111
108
  mustache (1.1.1)
109
+ net-http (0.4.1)
110
+ uri
112
111
  optimist (3.1.0)
113
112
  os (1.1.4)
114
- packaging (0.116.0)
115
- apt_stage_artifacts
113
+ packaging (0.120.0)
116
114
  artifactory (~> 3)
117
115
  csv (>= 3.1.5)
118
116
  google-cloud-storage
@@ -120,23 +118,23 @@ GEM
120
118
  rake (>= 12.3)
121
119
  release-metrics
122
120
  parallel (1.24.0)
123
- parser (3.3.0.5)
121
+ parser (3.3.2.0)
124
122
  ast (~> 2.4.1)
125
123
  racc
126
124
  pry (0.14.2)
127
125
  coderay (~> 1.1)
128
126
  method_source (~> 1.0)
129
- public_suffix (5.0.4)
127
+ public_suffix (5.0.5)
130
128
  puppet-resource_api (1.9.0)
131
129
  hocon (>= 1.0)
132
130
  puppetserver-ca (2.7.0)
133
131
  facter (>= 2.0.1, < 5)
134
132
  racc (1.5.2)
135
133
  rainbow (3.1.1)
136
- rake (13.1.0)
134
+ rake (13.2.1)
137
135
  rdiscount (2.2.7.3)
138
- rdoc (6.3.3)
139
- regexp_parser (2.9.0)
136
+ rdoc (6.3.4.1)
137
+ regexp_parser (2.9.2)
140
138
  release-metrics (1.1.0)
141
139
  csv
142
140
  docopt
@@ -145,7 +143,8 @@ GEM
145
143
  trailblazer-option (>= 0.1.1, < 0.2.0)
146
144
  uber (< 0.2.0)
147
145
  retriable (3.1.2)
148
- rexml (3.2.6)
146
+ rexml (3.2.8)
147
+ strscan (>= 3.0.9)
149
148
  ronn (0.7.3)
150
149
  hpricot (>= 0.8.2)
151
150
  mustache (>= 0.7.0)
@@ -162,7 +161,7 @@ GEM
162
161
  rspec-its (1.3.0)
163
162
  rspec-core (>= 3.0.0)
164
163
  rspec-expectations (>= 3.0.0)
165
- rspec-mocks (3.13.0)
164
+ rspec-mocks (3.13.1)
166
165
  diff-lcs (>= 1.2.0, < 2.0)
167
166
  rspec-support (~> 3.13.0)
168
167
  rspec-support (3.13.1)
@@ -175,13 +174,12 @@ GEM
175
174
  rubocop-ast (>= 1.17.0, < 2.0)
176
175
  ruby-progressbar (~> 1.7)
177
176
  unicode-display_width (>= 1.4.0, < 3.0)
178
- rubocop-ast (1.31.1)
179
- parser (>= 3.3.0.4)
177
+ rubocop-ast (1.31.3)
178
+ parser (>= 3.3.1.0)
180
179
  rubocop-i18n (3.0.0)
181
180
  rubocop (~> 1.0)
182
- ruby-prof (1.6.3)
181
+ ruby-prof (1.7.0)
183
182
  ruby-progressbar (1.13.0)
184
- ruby2_keywords (0.0.5)
185
183
  scanf (1.0.0)
186
184
  semantic_puppet (1.1.0)
187
185
  signet (0.19.0)
@@ -189,24 +187,28 @@ GEM
189
187
  faraday (>= 0.17.5, < 3.a)
190
188
  jwt (>= 1.5, < 3.0)
191
189
  multi_json (~> 1.10)
190
+ strscan (3.1.0)
192
191
  text (1.3.1)
193
- thor (1.3.1)
192
+ thor (1.2.2)
194
193
  trailblazer-option (0.1.2)
195
194
  uber (0.1.0)
196
195
  unicode-display_width (2.5.0)
196
+ uri (0.13.0)
197
197
  vcr (5.1.0)
198
- webmock (3.23.0)
198
+ webmock (3.23.1)
199
199
  addressable (>= 2.8.0)
200
200
  crack (>= 0.3.2)
201
201
  hashdiff (>= 0.4.0, < 2.0.0)
202
+ webrick (1.8.1)
202
203
  yard (0.9.36)
203
204
 
204
205
  PLATFORMS
205
206
  x86_64-linux
206
207
 
207
208
  DEPENDENCIES
209
+ CFPropertyList (~> 2.2)
208
210
  diff-lcs (~> 1.3)
209
- ffi (= 1.15.5)
211
+ ffi (>= 1.15.5, < 1.17.0, != 1.16.2, != 1.16.1, != 1.16.0)
210
212
  gettext-setup (~> 0.28)
211
213
  hiera-eyaml
212
214
  hocon (~> 1.0)
@@ -232,6 +234,7 @@ DEPENDENCIES
232
234
  semantic_puppet (~> 1.0)
233
235
  vcr (~> 5.0)
234
236
  webmock (~> 3.0)
237
+ webrick (~> 1.7)
235
238
  yard
236
239
 
237
240
  BUNDLED WITH
data/Rakefile CHANGED
@@ -45,6 +45,47 @@ task :default do
45
45
  sh %{rake -T}
46
46
  end
47
47
 
48
+ namespace :pl_ci do
49
+ desc 'Build puppet gems'
50
+ task :gem_build, [:gemspec] do |t, args|
51
+ args.with_defaults(gemspec: 'puppet.gemspec')
52
+ stdout, stderr, status = Open3.capture3(<<~END)
53
+ gem build #{args.gemspec} --platform x86-mingw32 && \
54
+ gem build #{args.gemspec} --platform x64-mingw32 && \
55
+ gem build #{args.gemspec} --platform universal-darwin && \
56
+ gem build #{args.gemspec}
57
+ END
58
+ if !status.exitstatus.zero?
59
+ puts "Error building #{args.gemspec}\n#{stdout} \n#{stderr}"
60
+ exit(1)
61
+ else
62
+ puts stdout
63
+ end
64
+ end
65
+
66
+ desc 'build the nightly puppet gems'
67
+ task :nightly_gem_build do
68
+ # this is taken from `rake package:nightly_gem`
69
+ extended_dot_version = %x{git describe --tags --dirty --abbrev=7}.chomp.tr('-', '.')
70
+
71
+ # we must create tempfile in the same directory as puppetg.gemspec, since
72
+ # it uses __dir__ to determine which files to include
73
+ require 'tempfile'
74
+ Tempfile.create('gemspec', __dir__) do |dst|
75
+ File.open('puppet.gemspec', 'r') do |src|
76
+ src.readlines.each do |line|
77
+ if line.match?(/version\s*=\s*['"][0-9.]+['"]/)
78
+ line = "spec.version = '#{extended_dot_version}'"
79
+ end
80
+ dst.puts line
81
+ end
82
+ end
83
+ dst.flush
84
+ Rake::Task['pl_ci:gem_build'].invoke(dst.path)
85
+ end
86
+ end
87
+ end
88
+
48
89
  task :spec do
49
90
  ENV["LOG_SPEC_ORDER"] = "true"
50
91
  sh %{rspec #{ENV['TEST'] || ENV['TESTS'] || 'spec'}}
@@ -1,54 +1,8 @@
1
1
  ---
2
2
  project: 'puppet'
3
- author: 'Puppet Labs'
4
- email: 'info@puppetlabs.com'
5
- homepage: 'https://github.com/puppetlabs/puppet'
6
- summary: 'Puppet, an automated configuration management tool'
7
- description: 'Puppet, an automated configuration management tool'
8
- version_file: 'lib/puppet/version.rb'
9
- # files and gem_files are space separated lists
10
- files: '[A-Z]* install.rb bin lib conf man examples ext tasks locales'
11
- # Make sure these gem requirements are in sync with the gemspec and Gemfile
12
- gem_files: '[A-Z]* install.rb bin lib conf man examples ext tasks locales'
13
- gem_test_files:
14
- gem_executables: 'puppet'
15
- gem_default_executables: 'puppet'
16
- gem_license: 'Apache-2.0'
17
- gem_forge_project: 'puppet'
18
- gem_required_ruby_version: '>= 2.5.0'
19
- gem_required_rubygems_version: '> 1.3.1'
20
- gem_runtime_dependencies:
21
- facter: ['> 2.0.1', '< 5']
22
- hiera: ['>= 3.2.1', '< 4']
23
- semantic_puppet: '~> 1.0'
24
- fast_gettext: ['>= 1.1', '< 3']
25
- locale: '~> 2.1'
26
- multi_json: '~> 1.10'
27
- puppet-resource_api: '~>1.5'
28
- concurrent-ruby: "~> 1.0"
29
- deep_merge: '~> 1.0'
30
- scanf: '~> 1.0'
31
3
  gem_rdoc_options:
32
4
  - --title
33
5
  - "Puppet - Configuration Management"
34
6
  - --main
35
7
  - README.md
36
8
  - --line-numbers
37
- gem_platform_dependencies:
38
- universal-darwin:
39
- gem_runtime_dependencies:
40
- CFPropertyList: '~> 2.2'
41
- x86-mingw32:
42
- gem_runtime_dependencies:
43
- ffi: '1.15.5'
44
- minitar: '~> 0.9'
45
- x64-mingw32:
46
- gem_runtime_dependencies:
47
- ffi: '1.15.5'
48
- minitar: '~> 0.9'
49
- bundle_platforms:
50
- universal-darwin: all
51
- x86-mingw32: mingw
52
- x64-mingw32: x64_mingw
53
- pre_tasks:
54
- 'package:apple': 'cfpropertylist'
@@ -13,6 +13,7 @@ class Puppet::Application::Resource < Puppet::Application
13
13
  option("--verbose","-v")
14
14
  option("--edit","-e")
15
15
  option("--to_yaml","-y")
16
+ option('--fail', '-f')
16
17
 
17
18
  option("--types", "-t") do |arg|
18
19
  env = Puppet.lookup(:environments).get(Puppet[:environment]) || create_default_environment
@@ -106,6 +107,9 @@ configuration options can also be generated by running puppet with
106
107
  Output found resources in yaml format, suitable to use with Hiera and
107
108
  create_resources.
108
109
 
110
+ * --fail:
111
+ Fails and returns an exit code of 1 if the resource could not be modified.
112
+
109
113
  EXAMPLE
110
114
  -------
111
115
  This example uses `puppet resource` to return a Puppet configuration for
@@ -233,8 +237,11 @@ Copyright (c) 2011 Puppet Inc., LLC Licensed under the Apache 2.0 License
233
237
  resource = Puppet::Resource.new( type, name, :parameters => params )
234
238
 
235
239
  # save returns [resource that was saved, transaction log from applying the resource]
236
- save_result = Puppet::Resource.indirection.save(resource, key)
237
- [ save_result.first ]
240
+ save_result, report = Puppet::Resource.indirection.save(resource, key)
241
+ status = report.resource_statuses[resource.ref]
242
+ raise "Failed to manage resource #{resource.ref}" if status&.failed? && options[:fail]
243
+
244
+ [save_result]
238
245
  end
239
246
  else
240
247
  if type == "file"
data/lib/puppet/daemon.rb CHANGED
@@ -161,6 +161,7 @@ class Puppet::Daemon
161
161
  reparse_run = Puppet::Scheduler.create_job(Puppet[:filetimeout]) do
162
162
  Puppet.settings.reparse_config_files
163
163
  agent_run.run_interval = Puppet[:runinterval]
164
+ agent_run.splay_limit = Puppet[:splaylimit] if Puppet[:splay]
164
165
  if Puppet[:filetimeout] == 0
165
166
  reparse_run.disable
166
167
  else
@@ -170,6 +170,12 @@ module Puppet
170
170
  end
171
171
  end
172
172
  },
173
+ :skip_logging_catalog_request_destination => {
174
+ :default => false,
175
+ :type => :boolean,
176
+ :desc => "If you wish to suppress the notice of which compiler supplied the
177
+ catalog",
178
+ },
173
179
  :merge_dependency_warnings => {
174
180
  :default => false,
175
181
  :type => :boolean,
@@ -54,6 +54,10 @@ class Puppet::HTTP::Redirector
54
54
  next if header.casecmp('Authorization').zero? && request.uri.host.casecmp(location.host) != 0
55
55
  next if header.casecmp('Cookie').zero? && request.uri.host.casecmp(location.host) != 0
56
56
  end
57
+ # Allow Net::HTTP to set its own Accept-Encoding header to avoid errors with HTTP compression.
58
+ # See https://github.com/puppetlabs/puppet/issues/9143
59
+ next if header.casecmp('Accept-Encoding').zero?
60
+
57
61
  new_request[header] = value
58
62
  end
59
63
 
@@ -14,12 +14,14 @@ class Puppet::Resource::Catalog::Rest < Puppet::Indirector::REST
14
14
  session = Puppet.lookup(:http_session)
15
15
  api = session.route_to(:puppet)
16
16
 
17
- ip_address = begin
18
- " (#{Resolv.getaddress(api.url.host)})"
19
- rescue Resolv::ResolvError
20
- nil
17
+ unless Puppet.settings[:skip_logging_catalog_request_destination]
18
+ ip_address = begin
19
+ " (#{Resolv.getaddress(api.url.host)})"
20
+ rescue Resolv::ResolvError
21
+ nil
22
+ end
23
+ Puppet.notice("Requesting catalog from #{api.url.host}:#{api.url.port}#{ip_address}")
21
24
  end
22
- Puppet.notice("Requesting catalog from #{api.url.host}:#{api.url.port}#{ip_address}")
23
25
 
24
26
  _, catalog = api.post_catalog(
25
27
  request.key,
@@ -74,7 +74,7 @@ class Puppet::InfoService::ClassInformationService
74
74
 
75
75
  def extract_type(structure, p)
76
76
  return structure if p.type_expr.nil?
77
- structure[:type] = typeexpr_to_string(p.type_expr)
77
+ structure[:type] = typeexpr_to_string(p.name, p.type_expr)
78
78
  structure
79
79
  end
80
80
 
@@ -87,12 +87,11 @@ class Puppet::InfoService::ClassInformationService
87
87
  structure
88
88
  end
89
89
 
90
- def typeexpr_to_string(type_expr)
90
+ def typeexpr_to_string(name, type_expr)
91
91
  begin
92
92
  type_parser.interpret_any(type_expr, nil).to_s
93
- rescue Puppet::ParseError
94
- # type is to complex - contains expressions that are not literal
95
- nil
93
+ rescue Puppet::ParseError => e
94
+ raise Puppet::Error, "The parameter '$#{name}' is invalid: #{e.message}", e.backtrace
96
95
  end
97
96
  end
98
97
 
@@ -591,12 +591,11 @@ class Puppet::Node::Environment
591
591
  if file == NO_MANIFEST
592
592
  empty_parse_result
593
593
  elsif File.directory?(file)
594
- # JRuby does not properly perform Dir.glob operations with wildcards, (see PUP-11788 and https://github.com/jruby/jruby/issues/7836).
595
594
  # We sort the results because Dir.glob order is inconsistent in Ruby < 3 (see PUP-10115).
596
- parse_results = Puppet::FileSystem::PathPattern.absolute(File.join(file, '**/*')).glob.select {|globbed_file| globbed_file.end_with?('.pp')}.sort.map do | file_to_parse |
597
- parser.file = file_to_parse
598
- parser.parse
599
- end
595
+ parse_results = Puppet::FileSystem::PathPattern.absolute(File.join(file, '**/*.pp')).glob.sort.map do | file_to_parse |
596
+ parser.file = file_to_parse
597
+ parser.parse
598
+ end
600
599
  # Use a parser type specific merger to concatenate the results
601
600
  Puppet::Parser::AST::Hostclass.new('', :code => Puppet::Parser::ParserFactory.code_merger.concatenate(parse_results))
602
601
  else
@@ -37,7 +37,7 @@ class ValidatorFactory_4_0 < Factory
37
37
  p[Issues::EMPTY_RESOURCE_SPECIALIZATION] = :ignore
38
38
  p[Issues::CLASS_NOT_VIRTUALIZABLE] = :error
39
39
 
40
- p[Issues::ILLEGAL_NONLITERAL_PARAMETER_TYPE] = Puppet[:strict] == :off ? :ignore : Puppet[:strict]
40
+ p[Issues::ILLEGAL_NONLITERAL_PARAMETER_TYPE] = :deprecation
41
41
  p
42
42
  end
43
43
  end
@@ -15,11 +15,20 @@ Puppet::Type.type(:group).provide :groupadd, :parent => Puppet::Provider::NameSe
15
15
  value.is_a? Integer
16
16
  end
17
17
 
18
- optional_commands :localadd => "lgroupadd", :localdelete => "lgroupdel", :localmodify => "lgroupmod"
19
-
20
- has_feature :manages_local_users_and_groups, :manages_members if Puppet.features.libuser?
21
-
22
- options :members, :flag => '-M', :method => :mem
18
+ optional_commands :localadd => "lgroupadd", :localdelete => "lgroupdel", :localmodify => "lgroupmod", :purgemember => "usermod"
19
+
20
+ has_feature :manages_local_users_and_groups if Puppet.features.libuser?
21
+ has_feature :manages_members if Puppet.features.libuser? ||
22
+ (Puppet.runtime[:facter].value('os.name') == "Fedora" &&
23
+ Puppet.runtime[:facter].value('os.release.major').to_i >= 40)
24
+
25
+ # Libuser's modify command 'lgroupmod' requires '-M' flag for member additions.
26
+ # 'groupmod' command requires the '-aU' flags for it.
27
+ if Puppet.features.libuser?
28
+ options :members, :flag => '-M', :method => :mem
29
+ else
30
+ options :members, :flag => '-aU', :method => :mem
31
+ end
23
32
 
24
33
  def exists?
25
34
  return !!localgid if @resource.forcelocal?
@@ -58,7 +67,8 @@ Puppet::Type.type(:group).provide :groupadd, :parent => Puppet::Provider::NameSe
58
67
  end
59
68
 
60
69
  def addcmd
61
- if @resource.forcelocal?
70
+ # The localadd command (lgroupadd) must only be called when libuser is supported.
71
+ if Puppet.features.libuser? && @resource.forcelocal?
62
72
  cmd = [command(:localadd)]
63
73
  @custom_environment = Puppet::Util::Libuser.getenv
64
74
  else
@@ -86,7 +96,8 @@ Puppet::Type.type(:group).provide :groupadd, :parent => Puppet::Provider::NameSe
86
96
  end
87
97
 
88
98
  def modifycmd(param, value)
89
- if @resource.forcelocal? || @resource[:members]
99
+ # The localmodify command (lgroupmod) must only be called when libuser is supported.
100
+ if Puppet.features.libuser? && (@resource.forcelocal? || @resource[:members])
90
101
  cmd = [command(:localmodify)]
91
102
  @custom_environment = Puppet::Util::Libuser.getenv
92
103
  else
@@ -109,7 +120,8 @@ Puppet::Type.type(:group).provide :groupadd, :parent => Puppet::Provider::NameSe
109
120
  end
110
121
 
111
122
  def deletecmd
112
- if @resource.forcelocal?
123
+ # The localdelete command (lgroupdel) must only be called when libuser is supported.
124
+ if Puppet.features.libuser? && @resource.forcelocal?
113
125
  @custom_environment = Puppet::Util::Libuser.getenv
114
126
  [command(:localdelete), @resource[:name]]
115
127
  else
@@ -127,7 +139,16 @@ Puppet::Type.type(:group).provide :groupadd, :parent => Puppet::Provider::NameSe
127
139
  end
128
140
 
129
141
  def purge_members
130
- localmodify('-m', members_to_s(members), @resource.name)
142
+ # The groupadd provider doesn't have the ability currently to remove members from a group, libuser does.
143
+ # Use libuser's lgroupmod command to achieve purging members if libuser is supported.
144
+ # Otherwise use the 'usermod' command.
145
+ if Puppet.features.libuser?
146
+ localmodify('-m', members_to_s(members), @resource.name)
147
+ else
148
+ members.each do |member|
149
+ purgemember('-rG', @resource.name, member)
150
+ end
151
+ end
131
152
  end
132
153
 
133
154
  private
@@ -34,7 +34,7 @@ Puppet::Type.type(:package).provide :dnfmodule, :parent => :dnf do
34
34
 
35
35
  def self.instances
36
36
  packages = []
37
- cmd = "#{command(:dnf)} module list -d 0 -e #{error_level}"
37
+ cmd = "#{command(:dnf)} module list -y -d 0 -e #{error_level}"
38
38
  execute(cmd).each_line do |line|
39
39
  # select only lines with actual packages since DNF clutters the output
40
40
  next unless line =~ /\[[eix]\][, ]/
@@ -23,6 +23,7 @@ Puppet::Type.type(:package).provide :pacman, :parent => Puppet::Provider::Packag
23
23
  has_feature :uninstall_options
24
24
  has_feature :upgradeable
25
25
  has_feature :virtual_packages
26
+ has_feature :purgeable
26
27
 
27
28
  # Checks if a given name is a group
28
29
  def self.group?(name)
@@ -193,6 +194,16 @@ Puppet::Type.type(:package).provide :pacman, :parent => Puppet::Provider::Packag
193
194
 
194
195
  # Removes a package from the system.
195
196
  def uninstall
197
+ remove_package(false)
198
+ end
199
+
200
+ def purge
201
+ remove_package(true)
202
+ end
203
+
204
+ private
205
+
206
+ def remove_package(purge_configs = false)
196
207
  resource_name = @resource[:name]
197
208
 
198
209
  is_group = self.class.group?(resource_name)
@@ -203,6 +214,7 @@ Puppet::Type.type(:package).provide :pacman, :parent => Puppet::Provider::Packag
203
214
  cmd += uninstall_options if @resource[:uninstall_options]
204
215
  cmd << "-R"
205
216
  cmd << '-s' if is_group
217
+ cmd << '--nosave' if purge_configs
206
218
  cmd << resource_name
207
219
 
208
220
  if self.class.yaourt?
@@ -212,8 +224,6 @@ Puppet::Type.type(:package).provide :pacman, :parent => Puppet::Provider::Packag
212
224
  end
213
225
  end
214
226
 
215
- private
216
-
217
227
  def install_options
218
228
  join_options(@resource[:install_options])
219
229
  end
@@ -99,9 +99,12 @@ Puppet::Type.type(:package).provide :pip, :parent => ::Puppet::Provider::Package
99
99
 
100
100
  # Parse lines of output from `pip freeze`, which are structured as:
101
101
  # _package_==_version_ or _package_===_version_
102
+ # or _package_ @ someURL@_version_
102
103
  def self.parse(line)
103
104
  if line.chomp =~ /^([^=]+)===?([^=]+)$/
104
105
  {:ensure => $2, :name => $1, :provider => name}
106
+ elsif line.chomp =~ /^([^@]+) @ [^@]+@(.+)$/
107
+ { :ensure => Regexp.last_match(2), :name => Regexp.last_match(1), :provider => name }
105
108
  end
106
109
  end
107
110
 
@@ -23,6 +23,15 @@ module Puppet::Scheduler
23
23
  end
24
24
  end
25
25
 
26
+ # Recalculates splay.
27
+ #
28
+ # @param splay_limit [Integer] the maximum time (in seconds) to delay before an agent's first run.
29
+ # @return @splay [Integer] a random integer less than or equal to the splay limit that represents the seconds to
30
+ # delay before next agent run.
31
+ def splay_limit=(splay_limit)
32
+ @splay = calculate_splay(splay_limit)
33
+ end
34
+
26
35
  private
27
36
 
28
37
  def calculate_splay(limit)
@@ -6,7 +6,7 @@
6
6
  # Raketasks and such to set the version based on the output of `git describe`
7
7
 
8
8
  module Puppet
9
- PUPPETVERSION = '7.29.1'
9
+ PUPPETVERSION = '7.31.0'
10
10
 
11
11
  ##
12
12
  # version is a public API method intended to always provide a fast and
@@ -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" "February 2024" "Puppet, Inc." "Puppet manual"
4
+ .TH "PUPPETCONF" "5" "June 2024" "Puppet, Inc." "Puppet manual"
5
5
  \fBThis page is autogenerated; any changes will get overwritten\fR
6
6
  .
7
7
  .SH "Configuration settings"
@@ -945,7 +945,7 @@ The time to wait for data to be read from an HTTP connection\. If nothing is rea
945
945
  The HTTP User\-Agent string to send when making network requests\.
946
946
  .
947
947
  .IP "\(bu" 4
948
- \fIDefault\fR: \fBPuppet/7\.29\.0 Ruby/2\.7\.5\-p203 (x86_64\-linux)\fR
948
+ \fIDefault\fR: \fBPuppet/7\.31\.0 Ruby/3\.1\.1\-p18 (x86_64\-linux)\fR
949
949
  .
950
950
  .IP "" 0
951
951
  .
@@ -1803,6 +1803,14 @@ Where the CA stores signed certificates\.
1803
1803
  .
1804
1804
  .IP "" 0
1805
1805
  .
1806
+ .SS "skip_logging_catalog_request_destination"
1807
+ If you wish to suppress the notice of which compiler supplied the catalog
1808
+ .
1809
+ .IP "\(bu" 4
1810
+ \fIDefault\fR: \fBfalse\fR
1811
+ .
1812
+ .IP "" 0
1813
+ .
1806
1814
  .SS "skip_tags"
1807
1815
  Tags to use to filter resources\. If this is set, then only resources not tagged with the specified tags will be applied\. Values must be comma\-separated\.
1808
1816
  .
@@ -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" "February 2024" "Puppet, Inc." "Puppet manual"
4
+ .TH "PUPPET\-AGENT" "8" "June 2024" "Puppet, Inc." "Puppet manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBpuppet\-agent\fR \- The puppet agent daemon
@@ -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" "February 2024" "Puppet, Inc." "Puppet manual"
4
+ .TH "PUPPET\-APPLY" "8" "June 2024" "Puppet, Inc." "Puppet manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBpuppet\-apply\fR \- Apply Puppet manifests locally
@@ -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" "February 2024" "Puppet, Inc." "Puppet manual"
4
+ .TH "PUPPET\-CATALOG" "8" "June 2024" "Puppet, Inc." "Puppet manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBpuppet\-catalog\fR \- Compile, save, view, and convert catalogs\.
@@ -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" "February 2024" "Puppet, Inc." "Puppet manual"
4
+ .TH "PUPPET\-CONFIG" "8" "June 2024" "Puppet, Inc." "Puppet manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBpuppet\-config\fR \- Interact with Puppet\'s settings\.
@@ -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" "February 2024" "Puppet, Inc." "Puppet manual"
4
+ .TH "PUPPET\-DESCRIBE" "8" "June 2024" "Puppet, Inc." "Puppet manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBpuppet\-describe\fR \- Display help about resource types
@@ -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" "February 2024" "Puppet, Inc." "Puppet manual"
4
+ .TH "PUPPET\-DEVICE" "8" "June 2024" "Puppet, Inc." "Puppet manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBpuppet\-device\fR \- Manage remote network devices
@@ -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" "February 2024" "Puppet, Inc." "Puppet manual"
4
+ .TH "PUPPET\-DOC" "8" "June 2024" "Puppet, Inc." "Puppet manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBpuppet\-doc\fR \- Generate Puppet references
@@ -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" "February 2024" "Puppet, Inc." "Puppet manual"
4
+ .TH "PUPPET\-EPP" "8" "June 2024" "Puppet, Inc." "Puppet manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBpuppet\-epp\fR \- Interact directly with the EPP template parser/renderer\.
@@ -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" "February 2024" "Puppet, Inc." "Puppet manual"
4
+ .TH "PUPPET\-FACTS" "8" "June 2024" "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" "February 2024" "Puppet, Inc." "Puppet manual"
4
+ .TH "PUPPET\-FILEBUCKET" "8" "June 2024" "Puppet, Inc." "Puppet manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBpuppet\-filebucket\fR \- Store and retrieve files in a filebucket
@@ -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" "February 2024" "Puppet, Inc." "Puppet manual"
4
+ .TH "PUPPET\-GENERATE" "8" "June 2024" "Puppet, Inc." "Puppet manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBpuppet\-generate\fR \- Generates Puppet code from Ruby definitions\.
@@ -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" "February 2024" "Puppet, Inc." "Puppet manual"
4
+ .TH "PUPPET\-HELP" "8" "June 2024" "Puppet, Inc." "Puppet manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBpuppet\-help\fR \- Display Puppet help\.
@@ -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" "February 2024" "Puppet, Inc." "Puppet manual"
4
+ .TH "PUPPET\-LOOKUP" "8" "June 2024" "Puppet, Inc." "Puppet manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBpuppet\-lookup\fR \- Interactive Hiera lookup
@@ -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" "February 2024" "Puppet, Inc." "Puppet manual"
4
+ .TH "PUPPET\-MODULE" "8" "June 2024" "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\.
@@ -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" "February 2024" "Puppet, Inc." "Puppet manual"
4
+ .TH "PUPPET\-NODE" "8" "June 2024" "Puppet, Inc." "Puppet manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBpuppet\-node\fR \- View and manage node definitions\.
@@ -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" "February 2024" "Puppet, Inc." "Puppet manual"
4
+ .TH "PUPPET\-PARSER" "8" "June 2024" "Puppet, Inc." "Puppet manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBpuppet\-parser\fR \- Interact directly with the parser\.
@@ -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" "February 2024" "Puppet, Inc." "Puppet manual"
4
+ .TH "PUPPET\-PLUGIN" "8" "June 2024" "Puppet, Inc." "Puppet manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBpuppet\-plugin\fR \- Interact with the Puppet plugin system\.
@@ -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" "February 2024" "Puppet, Inc." "Puppet manual"
4
+ .TH "PUPPET\-REPORT" "8" "June 2024" "Puppet, Inc." "Puppet manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBpuppet\-report\fR \- Create, display, and submit reports\.
@@ -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" "February 2024" "Puppet, Inc." "Puppet manual"
4
+ .TH "PUPPET\-RESOURCE" "8" "June 2024" "Puppet, Inc." "Puppet manual"
5
5
  .
6
6
  .SH "NAME"
7
7
  \fBpuppet\-resource\fR \- The resource abstraction layer shell
@@ -55,6 +55,10 @@ Print extra information\.
55
55
  \-\-to_yaml
56
56
  Output found resources in yaml format, suitable to use with Hiera and create_resources\.
57
57
  .
58
+ .TP
59
+ \-\-fail
60
+ Fails and returns an exit code of 1 if the resource could not be modified\.
61
+ .
58
62
  .SH "EXAMPLE"
59
63
  This example uses \fBpuppet resource\fR to return a Puppet configuration for the user \fBluke\fR:
60
64
  .
@@ -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" "February 2024" "Puppet, Inc." "Puppet manual"
4
+ .TH "PUPPET\-SCRIPT" "8" "June 2024" "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
@@ -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" "February 2024" "Puppet, Inc." "Puppet manual"
4
+ .TH "PUPPET\-SSL" "8" "June 2024" "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" "February 2024" "Puppet, Inc." "Puppet manual"
4
+ .TH "PUPPET" "8" "June 2024" "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\.29\.0
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\.31\.0
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.29.1
4
+ version: 7.31.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: 2024-03-04 00:00:00.000000000 Z
11
+ date: 2012-08-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: facter
@@ -182,7 +182,9 @@ dependencies:
182
182
  - - "~>"
183
183
  - !ruby/object:Gem::Version
184
184
  version: '2.2'
185
- description: Puppet, an automated configuration management tool
185
+ description: |
186
+ Puppet, an automated administrative engine for your Linux, Unix, and Windows systems, performs administrative tasks
187
+ (such as adding users, installing packages, and updating server configurations) based on a centralized specification.
186
188
  email: info@puppetlabs.com
187
189
  executables:
188
190
  - puppet
@@ -1298,7 +1300,6 @@ files:
1298
1300
  - man/man8/puppet-ssl.8
1299
1301
  - man/man8/puppet.8
1300
1302
  - tasks/benchmark.rake
1301
- - tasks/cfpropertylist.rake
1302
1303
  - tasks/ci.rake
1303
1304
  - tasks/generate_ast_model.rake
1304
1305
  - tasks/generate_cert_fixtures.rake
@@ -1316,7 +1317,7 @@ rdoc_options:
1316
1317
  - "--title"
1317
1318
  - Puppet - Configuration Management
1318
1319
  - "--main"
1319
- - README.md
1320
+ - README
1320
1321
  - "--line-numbers"
1321
1322
  require_paths:
1322
1323
  - lib
@@ -1,15 +0,0 @@
1
- task 'cfpropertylist' do
2
- if defined? Pkg::Config and Pkg::Config.project_root
3
- cfp_version = "2.3.5"
4
- libdir = File.join(Pkg::Config.project_root, "lib")
5
- source = "https://github.com/ckruse/CFPropertyList/archive/cfpropertylist-#{cfp_version}.tar.gz"
6
- target_dir = Pkg::Util::File.mktemp
7
- target = File.join(target_dir, "cfpropertylist")
8
- Pkg::Util::Net.fetch_uri(source, target)
9
- Pkg::Util::File.untar_into(target, target_dir, "--strip-components 1")
10
- mv(Dir.glob("#{File.join(target_dir, "lib")}/cfpropertylist*"), libdir)
11
- mv(Dir.glob("#{target_dir}/{LICENSE,README,THANKS}"), File.join(libdir, "cfpropertylist"))
12
- else
13
- warn "It looks like the packaging tasks have not been loaded. You'll need to `rake package:bootstrap` before using this task"
14
- end
15
- end