puppet 5.0.0 → 5.0.1

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 (101) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +1 -1
  3. data/ext/puppet-test +1 -1
  4. data/lib/puppet.rb +3 -1
  5. data/lib/puppet/application/lookup.rb +2 -2
  6. data/lib/puppet/defaults.rb +1 -1
  7. data/lib/puppet/face/epp.rb +26 -24
  8. data/lib/puppet/face/module/search.rb +1 -1
  9. data/lib/puppet/forge.rb +3 -2
  10. data/lib/puppet/functions/each.rb +1 -1
  11. data/lib/puppet/functions/filter.rb +1 -1
  12. data/lib/puppet/module.rb +28 -1
  13. data/lib/puppet/module_tool.rb +2 -2
  14. data/lib/puppet/module_tool/applications/installer.rb +5 -5
  15. data/lib/puppet/module_tool/applications/uninstaller.rb +1 -1
  16. data/lib/puppet/module_tool/applications/upgrader.rb +5 -5
  17. data/lib/puppet/module_tool/shared_behaviors.rb +2 -2
  18. data/lib/puppet/parser/compiler.rb +4 -0
  19. data/lib/puppet/parser/functions/assert_type.rb +1 -1
  20. data/lib/puppet/parser/functions/binary_file.rb +1 -1
  21. data/lib/puppet/parser/functions/break.rb +1 -1
  22. data/lib/puppet/parser/functions/defined.rb +1 -1
  23. data/lib/puppet/parser/functions/dig.rb +1 -1
  24. data/lib/puppet/parser/functions/each.rb +2 -2
  25. data/lib/puppet/parser/functions/epp.rb +1 -1
  26. data/lib/puppet/parser/functions/filter.rb +2 -2
  27. data/lib/puppet/parser/functions/find_file.rb +1 -1
  28. data/lib/puppet/parser/functions/inline_epp.rb +1 -1
  29. data/lib/puppet/parser/functions/lest.rb +1 -1
  30. data/lib/puppet/parser/functions/map.rb +1 -1
  31. data/lib/puppet/parser/functions/match.rb +1 -1
  32. data/lib/puppet/parser/functions/new.rb +1 -1
  33. data/lib/puppet/parser/functions/next.rb +1 -1
  34. data/lib/puppet/parser/functions/reduce.rb +1 -1
  35. data/lib/puppet/parser/functions/return.rb +1 -1
  36. data/lib/puppet/parser/functions/reverse_each.rb +2 -2
  37. data/lib/puppet/parser/functions/slice.rb +1 -1
  38. data/lib/puppet/parser/functions/step.rb +2 -2
  39. data/lib/puppet/parser/functions/strftime.rb +1 -1
  40. data/lib/puppet/parser/functions/then.rb +1 -1
  41. data/lib/puppet/parser/functions/type.rb +1 -1
  42. data/lib/puppet/parser/functions/with.rb +1 -1
  43. data/lib/puppet/pops/merge_strategy.rb +1 -1
  44. data/lib/puppet/pops/time/timestamp.rb +2 -2
  45. data/lib/puppet/provider/nameservice.rb +4 -2
  46. data/lib/puppet/reference/configuration.rb +1 -1
  47. data/lib/puppet/reports/http.rb +4 -2
  48. data/lib/puppet/resource/capability_finder.rb +1 -1
  49. data/lib/puppet/util/execution.rb +1 -1
  50. data/lib/puppet/util/logging.rb +8 -4
  51. data/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/gem_version.rb +1 -1
  52. data/lib/puppet/vendor/semantic_puppet/lib/semantic_puppet/version.rb +1 -1
  53. data/lib/puppet/version.rb +1 -1
  54. data/locales/puppet.pot +66 -58
  55. data/man/man5/puppet.conf.5 +233 -63
  56. data/man/man8/puppet-agent.8 +31 -9
  57. data/man/man8/puppet-apply.8 +20 -5
  58. data/man/man8/puppet-ca.8 +48 -34
  59. data/man/man8/puppet-catalog.8 +12 -15
  60. data/man/man8/puppet-cert.8 +23 -6
  61. data/man/man8/puppet-certificate.8 +52 -36
  62. data/man/man8/puppet-certificate_request.8 +10 -10
  63. data/man/man8/puppet-certificate_revocation_list.8 +9 -9
  64. data/man/man8/puppet-config.8 +5 -5
  65. data/man/man8/puppet-describe.8 +3 -3
  66. data/man/man8/puppet-device.8 +13 -5
  67. data/man/man8/puppet-doc.8 +5 -5
  68. data/man/man8/puppet-epp.8 +16 -10
  69. data/man/man8/puppet-facts.8 +9 -9
  70. data/man/man8/puppet-filebucket.8 +44 -5
  71. data/man/man8/puppet-generate.8 +84 -0
  72. data/man/man8/puppet-help.8 +4 -4
  73. data/man/man8/puppet-key.8 +11 -11
  74. data/man/man8/puppet-lookup.8 +104 -0
  75. data/man/man8/puppet-man.8 +5 -5
  76. data/man/man8/puppet-master.8 +5 -5
  77. data/man/man8/puppet-module.8 +29 -17
  78. data/man/man8/puppet-node.8 +9 -9
  79. data/man/man8/puppet-parser.8 +4 -4
  80. data/man/man8/puppet-plugin.8 +4 -4
  81. data/man/man8/puppet-report.8 +9 -9
  82. data/man/man8/puppet-resource.8 +4 -8
  83. data/man/man8/puppet-status.8 +9 -9
  84. data/man/man8/puppet.8 +12 -3
  85. data/spec/integration/util/execution_spec.rb +8 -0
  86. data/spec/unit/application/lookup_spec.rb +1 -1
  87. data/spec/unit/face/epp_face_spec.rb +9 -0
  88. data/spec/unit/face/module/search_spec.rb +1 -1
  89. data/spec/unit/functions/lookup_spec.rb +26 -0
  90. data/spec/unit/indirector/file_bucket_file/file_spec.rb +3 -3
  91. data/spec/unit/module_spec.rb +64 -0
  92. data/spec/unit/module_tool_spec.rb +22 -0
  93. data/spec/unit/parser/scope_spec.rb +1 -1
  94. data/spec/unit/pops/types/p_timestamp_type_spec.rb +30 -1
  95. data/spec/unit/puppet_spec.rb +33 -0
  96. data/spec/unit/util/logging_spec.rb +18 -9
  97. data/tasks/generate_ast_model.rake +48 -44
  98. data/tasks/manpages.rake +9 -1
  99. data/tasks/parallel.rake +12 -7
  100. metadata +3513 -3522
  101. data/man/man8/puppet-inspect.8 +0 -36
@@ -23,6 +23,6 @@ The function returns `undef` if none of the given paths were found
23
23
  - since 4.8.0
24
24
  DOC
25
25
  ) do |args|
26
- Error.is4x('find_file')
26
+ Puppet::Parser::Functions::Error.is4x('find_file')
27
27
  end
28
28
 
@@ -47,5 +47,5 @@ END
47
47
  - Since 3.5
48
48
  - Requires [future parser](/puppet/3.8/reference/experiments_future.html) in Puppet 3.5 to 3.8") do |arguments|
49
49
 
50
- Error.is4x('inline_epp')
50
+ Puppet::Parser::Functions::Error.is4x('inline_epp')
51
51
  end
@@ -45,5 +45,5 @@ Would notice the value `20`
45
45
  * Since 4.5.0
46
46
  DOC
47
47
  ) do |args|
48
- Error.is4x('lest')
48
+ Puppet::Parser::Functions::Error.is4x('lest')
49
49
  end
@@ -72,5 +72,5 @@ $transformed_data = $data.map |$key,$value| { $value }
72
72
  - Since 4.0.0
73
73
  DOC
74
74
  ) do |args|
75
- Error.is4x('map')
75
+ Puppet::Parser::Functions::Error.is4x('map')
76
76
  end
@@ -39,5 +39,5 @@ $matches = ["abc123","def456"].match(/([a-z]+)([1-9]+)/)
39
39
  - Since 4.0.0
40
40
  DOC
41
41
  ) do |args|
42
- Error.is4x('match')
42
+ Puppet::Parser::Functions::Error.is4x('match')
43
43
  end
@@ -934,6 +934,6 @@ $b = binary_file('mymodule/mypicture.jpg')
934
934
 
935
935
  DOC
936
936
  ) do |args|
937
- Error.is4x('new')
937
+ Puppet::Parser::Functions::Error.is4x('new')
938
938
  end
939
939
 
@@ -34,5 +34,5 @@ Would notice the value `[10, 200, 30]`
34
34
  * Since 4.8.0
35
35
  DOC
36
36
  ) do |args|
37
- Error.is4x('next')
37
+ Puppet::Parser::Functions::Error.is4x('next')
38
38
  end
@@ -102,5 +102,5 @@ $combine = $data.reduce( [d, 4] ) |$memo, $value| {
102
102
  - Since 4.0.0
103
103
  DOC
104
104
  ) do |args|
105
- Error.is4x('reduce')
105
+ Puppet::Parser::Functions::Error.is4x('reduce')
106
106
  end
@@ -67,5 +67,5 @@ Note that the returned value is ignored if used in a class or user defined type.
67
67
  * Since 4.8.0
68
68
  DOC
69
69
  ) do |args|
70
- Error.is4x('return')
70
+ Puppet::Parser::Functions::Error.is4x('return')
71
71
  end
@@ -4,7 +4,7 @@ Puppet::Parser::Functions::newfunction(
4
4
  :arity => -1,
5
5
  :doc => <<-DOC
6
6
  Reverses the order of the elements of something that is iterable and optionally runs a
7
- [lambda](http://docs.puppetlabs.com/puppet/latest/reference/lang_lambdas.html) for each
7
+ [lambda](https://docs.puppetlabs.com/puppet/latest/reference/lang_lambdas.html) for each
8
8
  element.
9
9
 
10
10
  This function takes one to two arguments:
@@ -79,5 +79,5 @@ $transformed_data = map(reverse_each($data)) |$item| { $item * 10 }
79
79
 
80
80
  DOC
81
81
  ) do |args|
82
- Error.is4x('reverse_each')
82
+ Puppet::Parser::Functions::Error.is4x('reverse_each')
83
83
  end
@@ -35,5 +35,5 @@ to empty arrays for a hash.
35
35
  - Since 4.0.0
36
36
  DOC
37
37
  ) do |args|
38
- Error.is4x('slice')
38
+ Puppet::Parser::Functions::Error.is4x('slice')
39
39
  end
@@ -4,7 +4,7 @@ Puppet::Parser::Functions::newfunction(
4
4
  :arity => -1,
5
5
  :doc => <<-DOC
6
6
  Provides stepping with given interval over elements in an iterable and optionally runs a
7
- [lambda](http://docs.puppetlabs.com/puppet/latest/reference/lang_lambdas.html) for each
7
+ [lambda](https://docs.puppetlabs.com/puppet/latest/reference/lang_lambdas.html) for each
8
8
  element.
9
9
 
10
10
  This function takes two to three arguments:
@@ -80,5 +80,5 @@ $transformed_data contains [0,50,100,150,200]
80
80
 
81
81
  DOC
82
82
  ) do |args|
83
- Error.is4x('step')
83
+ Puppet::Parser::Functions::Error.is4x('step')
84
84
  end
@@ -181,5 +181,5 @@ notice($duration.strftime('%M:%S')) # outputs '200:30'
181
181
  - Since 4.8.0
182
182
  DOC
183
183
  ) do |args|
184
- Error.is4x('strftime')
184
+ Puppet::Parser::Functions::Error.is4x('strftime')
185
185
  end
@@ -69,5 +69,5 @@ was not a String.
69
69
 
70
70
  DOC
71
71
  ) do |args|
72
- Error.is4x('then')
72
+ Puppet::Parser::Functions::Error.is4x('then')
73
73
  end
@@ -49,5 +49,5 @@ function type(Any $value, InferenceFidelity $fidelity = 'detailed') # returns Ty
49
49
 
50
50
  DOC
51
51
  ) do |args|
52
- Error.is4x('type')
52
+ Puppet::Parser::Functions::Error.is4x('type')
53
53
  end
@@ -24,5 +24,5 @@ $check_var = $x
24
24
  - Since 4.0.0
25
25
  DOC
26
26
  ) do |args|
27
- Error.is4x('with')
27
+ Puppet::Parser::Functions::Error.is4x('with')
28
28
  end
@@ -390,7 +390,7 @@ module Puppet::Pops
390
390
  'knockout_prefix=>Optional[String],'\
391
391
  'merge_debug=>Optional[Boolean],'\
392
392
  'merge_hash_arrays=>Optional[Boolean],'\
393
- 'sort_merge_arrays=>Optional[Boolean],'\
393
+ 'sort_merged_arrays=>Optional[Boolean],'\
394
394
  '}]')
395
395
  end
396
396
 
@@ -1,8 +1,8 @@
1
1
  module Puppet::Pops
2
2
  module Time
3
3
  class Timestamp < TimeData
4
- DEFAULT_FORMATS_WO_TZ = ['%FT%T.%N', '%FT%T', '%F']
5
- DEFAULT_FORMATS = ['%FT%T.%N %Z', '%FT%T %Z', '%F %Z'] + DEFAULT_FORMATS_WO_TZ
4
+ DEFAULT_FORMATS_WO_TZ = ['%FT%T.%N', '%FT%T', '%F %T.%N', '%F %T', '%F']
5
+ DEFAULT_FORMATS = ['%FT%T.%N %Z', '%FT%T %Z', '%F %T.%N %Z', '%F %T %Z', '%F %Z'] + DEFAULT_FORMATS_WO_TZ
6
6
 
7
7
  CURRENT_TIMEZONE = 'current'.freeze
8
8
  KEY_TIMEZONE = 'timezone'.freeze
@@ -24,11 +24,13 @@ class Puppet::Provider::NameService < Puppet::Provider
24
24
 
25
25
  def instances
26
26
  objects = []
27
- Puppet::Etc.send("set#{section}ent")
28
27
  begin
29
- while ent = Puppet::Etc.send("get#{section}ent")
28
+ method = Puppet::Etc.method(:"get#{section}ent")
29
+ while ent = method.call
30
30
  objects << new(:name => ent.name, :canonical_name => ent.canonical_name, :ensure => :present)
31
31
  end
32
+ ensure
33
+ Puppet::Etc.send("end#{section}ent")
32
34
  end
33
35
  objects
34
36
  end
@@ -75,7 +75,7 @@ config.header = <<EOT
75
75
 
76
76
  See the [configuration guide][confguide] for more details.
77
77
 
78
- [confguide]: http://docs.puppetlabs.com/puppet/latest/reference/config_about_settings.html
78
+ [confguide]: https://docs.puppetlabs.com/puppet/latest/reference/config_about_settings.html
79
79
 
80
80
  * * *
81
81
 
@@ -6,8 +6,10 @@ Puppet::Reports.register_report(:http) do
6
6
 
7
7
  desc <<-DESC
8
8
  Send reports via HTTP or HTTPS. This report processor submits reports as
9
- POST requests to the address in the `reporturl` setting. The body of each POST
10
- request is the YAML dump of a Puppet::Transaction::Report object, and the
9
+ POST requests to the address in the `reporturl` setting. When a HTTPS URL
10
+ is used, the remote server must present a certificate issued by the Puppet
11
+ CA or the connection will fail validation. The body of each POST request
12
+ is the YAML dump of a Puppet::Transaction::Report object, and the
11
13
  Content-Type is set as `application/x-yaml`.
12
14
  DESC
13
15
 
@@ -95,7 +95,7 @@ module Puppet::Resource::CapabilityFinder
95
95
  end
96
96
 
97
97
  # The format of the response body is documented at
98
- # http://docs.puppetlabs.com/puppetdb/3.0/api/query/v4/resources.html#response-format
98
+ # https://docs.puppetlabs.com/puppetdb/3.0/api/query/v4/resources.html#response-format
99
99
  unless result.is_a?(Array)
100
100
  raise Puppet::DevError,
101
101
  "Unexpected response from PuppetDB when looking up #{cap}: " \
@@ -83,7 +83,7 @@ module Puppet::Util::Execution
83
83
  end
84
84
 
85
85
  if failonfail && exitstatus != 0
86
- raise Puppet::ExecutionFailure, output
86
+ raise Puppet::ExecutionFailure, output.to_s
87
87
  end
88
88
 
89
89
  output
@@ -155,6 +155,7 @@ module Logging
155
155
  FILE_AND_LINE = MM::TUPLE
156
156
  FILE_NO_LINE = MM.new(MM::NOT_NIL, nil).freeze
157
157
  NO_FILE_LINE = MM.new(nil, MM::NOT_NIL).freeze
158
+ SUPPRESS_FILE_LINE = MM.new(:default, :default).freeze
158
159
 
159
160
  # Logs a (non deprecation) warning once for a given key.
160
161
  #
@@ -162,12 +163,13 @@ module Logging
162
163
  # kind must be one of the defined kinds for the Puppet[:disable_warnings] setting.
163
164
  # @param message [String] The message to log (logs via warning)
164
165
  # @param key [String] Key used to make this warning unique
165
- # @param file [String,nil] the File related to the warning
166
- # @param line [Integer,nil] the Line number related to the warning
166
+ # @param file [String,:default,nil] the File related to the warning
167
+ # @param line [Integer,:default,nil] the Line number related to the warning
167
168
  # warning as unique
169
+ # @param level [Symbol] log level to use, defaults to :warning
168
170
  #
169
171
  # Either :file and :line and/or :key must be passed.
170
- def warn_once(kind, key, message, file = nil, line = nil)
172
+ def warn_once(kind, key, message, file = nil, line = nil, level = :warning)
171
173
  return if Puppet[:disable_warnings].include?(kind)
172
174
  $unique_warnings ||= {}
173
175
  if $unique_warnings.length < 100 then
@@ -175,6 +177,8 @@ module Logging
175
177
  $unique_warnings[key] = message
176
178
  call_trace =
177
179
  case MM.new(file, line)
180
+ when SUPPRESS_FILE_LINE
181
+ ''
178
182
  when FILE_AND_LINE
179
183
  _("\n (at %{file}:%{line})") % { file: file, line: line }
180
184
  when FILE_NO_LINE
@@ -184,7 +188,7 @@ module Logging
184
188
  else
185
189
  _("\n (file & line not available)")
186
190
  end
187
- warning("#{message}#{call_trace}")
191
+ send_log(level, "#{message}#{call_trace}")
188
192
  end
189
193
  end
190
194
  end
@@ -1,3 +1,3 @@
1
1
  module SemanticPuppet
2
- VERSION = '1.0.0'
2
+ VERSION = '1.0.1'
3
3
  end
@@ -30,7 +30,7 @@ module SemanticPuppet
30
30
  false
31
31
  else
32
32
  prerelease = match[4]
33
- prerelease.nil? || prerelease.split('.').all? { |x| !(x =~ /^0\d+/) }
33
+ prerelease.nil? || prerelease.split('.').all? { |x| !(x =~ /^0\d+$/) }
34
34
  end
35
35
  end
36
36
 
@@ -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 = '5.0.0'
9
+ PUPPETVERSION = '5.0.1'
10
10
 
11
11
  ##
12
12
  # version is a public API method intended to always provide a fast and
@@ -6,11 +6,11 @@
6
6
  #, fuzzy
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: Puppet automation framework 4.10.2-945-g545ce43\n"
9
+ "Project-Id-Version: Puppet automation framework 5.0.0-77-g7f53ea2\n"
10
10
  "\n"
11
11
  "Report-Msgid-Bugs-To: https://tickets.puppetlabs.com\n"
12
- "POT-Creation-Date: 2017-06-15 22:59+0000\n"
13
- "PO-Revision-Date: 2017-06-15 22:59+0000\n"
12
+ "POT-Creation-Date: 2017-07-14 22:07+0000\n"
13
+ "PO-Revision-Date: 2017-07-14 22:07+0000\n"
14
14
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
15
15
  "Language-Team: LANGUAGE <LL@li.org>\n"
16
16
  "Language: \n"
@@ -305,7 +305,7 @@ msgstr ""
305
305
  msgid "Unknown rendering format '%{format}'"
306
306
  msgstr ""
307
307
 
308
- #: ../lib/puppet/application/lookup.rb:347 ../lib/puppet/face/epp.rb:489
308
+ #: ../lib/puppet/application/lookup.rb:347 ../lib/puppet/face/epp.rb:491
309
309
  msgid "Incorrect formatted data in %{fact_file} given via the --facts flag"
310
310
  msgstr ""
311
311
 
@@ -811,27 +811,27 @@ msgstr ""
811
811
  msgid "Whether or not to show a file name header between rendered results."
812
812
  msgstr ""
813
813
 
814
- #: ../lib/puppet/face/epp.rb:331
814
+ #: ../lib/puppet/face/epp.rb:332
815
815
  msgid "No input to process given on command line or stdin"
816
816
  msgstr ""
817
817
 
818
- #: ../lib/puppet/face/epp.rb:345
818
+ #: ../lib/puppet/face/epp.rb:346
819
819
  msgid "error while rendering epp"
820
820
  msgstr ""
821
821
 
822
- #: ../lib/puppet/face/epp.rb:384
822
+ #: ../lib/puppet/face/epp.rb:386
823
823
  msgid "Only .yaml or .pp can be used as a --values_file"
824
824
  msgstr ""
825
825
 
826
- #: ../lib/puppet/face/epp.rb:387
826
+ #: ../lib/puppet/face/epp.rb:389
827
827
  msgid "Could not load --values_file %{error}"
828
828
  msgstr ""
829
829
 
830
- #: ../lib/puppet/face/epp.rb:390
830
+ #: ../lib/puppet/face/epp.rb:392
831
831
  msgid "--values_file option must evaluate to a Hash or undef/nil, got: '%{template_class}'"
832
832
  msgstr ""
833
833
 
834
- #: ../lib/puppet/face/epp.rb:403
834
+ #: ../lib/puppet/face/epp.rb:405
835
835
  msgid "--values option must evaluate to a Hash or undef, got: '%{values_class}'"
836
836
  msgstr ""
837
837
 
@@ -1713,15 +1713,15 @@ msgstr ""
1713
1713
  msgid "The current user does not have the necessary permission to manage symlinks."
1714
1714
  msgstr ""
1715
1715
 
1716
- #: ../lib/puppet/forge.rb:200
1716
+ #: ../lib/puppet/forge.rb:201
1717
1717
  msgid "Downloaded release for %{name} did not match expected checksum"
1718
1718
  msgstr ""
1719
1719
 
1720
- #: ../lib/puppet/forge.rb:208 ../lib/puppet/module_tool/applications/unpacker.rb:58 ../lib/puppet/module_tool/local_tarball.rb:86
1720
+ #: ../lib/puppet/forge.rb:209 ../lib/puppet/module_tool/applications/unpacker.rb:58 ../lib/puppet/module_tool/local_tarball.rb:86
1721
1721
  msgid "Could not extract contents of module archive: %{message}"
1722
1722
  msgstr ""
1723
1723
 
1724
- #: ../lib/puppet/forge.rb:221
1724
+ #: ../lib/puppet/forge.rb:222
1725
1725
  msgid "Cannot consider release %{name}-%{version}: %{error}"
1726
1726
  msgstr ""
1727
1727
 
@@ -2494,6 +2494,14 @@ msgstr ""
2494
2494
  msgid "The file %{f} does not exist"
2495
2495
  msgstr ""
2496
2496
 
2497
+ #: ../lib/puppet/module.rb:66
2498
+ msgid "VersionRanges will never be strict when using non-vendored SemanticPuppet gem, version %{version}"
2499
+ msgstr ""
2500
+
2501
+ #: ../lib/puppet/module.rb:72
2502
+ msgid "VersionRanges will always be strict when using non-vendored SemanticPuppet gem, version %{version}"
2503
+ msgstr ""
2504
+
2497
2505
  #: ../lib/puppet/module_tool.rb:37
2498
2506
  msgid "Not a valid full name: %{full_module_name}"
2499
2507
  msgstr ""
@@ -3362,125 +3370,125 @@ msgstr ""
3362
3370
  msgid "Application instances like '%{resource}' can only be contained within a Site"
3363
3371
  msgstr ""
3364
3372
 
3365
- #: ../lib/puppet/parser/compiler.rb:149
3373
+ #: ../lib/puppet/parser/compiler.rb:153
3366
3374
  msgid "For compiling %{node}"
3367
3375
  msgstr ""
3368
3376
 
3369
- #: ../lib/puppet/parser/compiler.rb:153
3377
+ #: ../lib/puppet/parser/compiler.rb:157
3370
3378
  msgid "Compile: Set node parameters"
3371
3379
  msgstr ""
3372
3380
 
3373
- #: ../lib/puppet/parser/compiler.rb:155
3381
+ #: ../lib/puppet/parser/compiler.rb:159
3374
3382
  msgid "Compile: Created settings scope"
3375
3383
  msgstr ""
3376
3384
 
3377
- #: ../lib/puppet/parser/compiler.rb:157
3385
+ #: ../lib/puppet/parser/compiler.rb:161
3378
3386
  msgid "Compile: Evaluated capability mappings"
3379
3387
  msgstr ""
3380
3388
 
3381
3389
  #. TRANSLATORS "main" is a function name and should not be translated
3382
- #: ../lib/puppet/parser/compiler.rb:160
3390
+ #: ../lib/puppet/parser/compiler.rb:164
3383
3391
  msgid "Compile: Evaluated main"
3384
3392
  msgstr ""
3385
3393
 
3386
- #: ../lib/puppet/parser/compiler.rb:162
3394
+ #: ../lib/puppet/parser/compiler.rb:166
3387
3395
  msgid "Compile: Evaluated site"
3388
3396
  msgstr ""
3389
3397
 
3390
- #: ../lib/puppet/parser/compiler.rb:164
3398
+ #: ../lib/puppet/parser/compiler.rb:168
3391
3399
  msgid "Compile: Evaluated AST node"
3392
3400
  msgstr ""
3393
3401
 
3394
- #: ../lib/puppet/parser/compiler.rb:166
3402
+ #: ../lib/puppet/parser/compiler.rb:170
3395
3403
  msgid "Compile: Evaluated node classes"
3396
3404
  msgstr ""
3397
3405
 
3398
- #: ../lib/puppet/parser/compiler.rb:168
3406
+ #: ../lib/puppet/parser/compiler.rb:172
3399
3407
  msgid "Compile: Evaluated application instances"
3400
3408
  msgstr ""
3401
3409
 
3402
- #: ../lib/puppet/parser/compiler.rb:171
3410
+ #: ../lib/puppet/parser/compiler.rb:175
3403
3411
  msgid "Compile: Evaluated site capability mappings"
3404
3412
  msgstr ""
3405
3413
 
3406
- #: ../lib/puppet/parser/compiler.rb:173
3414
+ #: ../lib/puppet/parser/compiler.rb:177
3407
3415
  msgid "Compile: Evaluated generators"
3408
3416
  msgstr ""
3409
3417
 
3410
- #: ../lib/puppet/parser/compiler.rb:175
3418
+ #: ../lib/puppet/parser/compiler.rb:179
3411
3419
  msgid "Compile: Validate Catalog pre-finish"
3412
3420
  msgstr ""
3413
3421
 
3414
- #: ../lib/puppet/parser/compiler.rb:179
3422
+ #: ../lib/puppet/parser/compiler.rb:183
3415
3423
  msgid "Compile: Finished catalog"
3416
3424
  msgstr ""
3417
3425
 
3418
- #: ../lib/puppet/parser/compiler.rb:181
3426
+ #: ../lib/puppet/parser/compiler.rb:185
3419
3427
  msgid "Compile: Prune"
3420
3428
  msgstr ""
3421
3429
 
3422
- #: ../lib/puppet/parser/compiler.rb:185
3430
+ #: ../lib/puppet/parser/compiler.rb:189
3423
3431
  msgid "Compile: Validate Catalog final"
3424
3432
  msgstr ""
3425
3433
 
3426
- #: ../lib/puppet/parser/compiler.rb:315
3434
+ #: ../lib/puppet/parser/compiler.rb:319
3427
3435
  msgid "Invalid node mapping in %{app}: Mapping must be a hash"
3428
3436
  msgstr ""
3429
3437
 
3430
- #: ../lib/puppet/parser/compiler.rb:318
3438
+ #: ../lib/puppet/parser/compiler.rb:322
3431
3439
  msgid "Invalid node mapping in %{app}: Key %{k} is not a Node"
3432
3440
  msgstr ""
3433
3441
 
3434
- #: ../lib/puppet/parser/compiler.rb:318
3442
+ #: ../lib/puppet/parser/compiler.rb:322
3435
3443
  msgid "Node"
3436
3444
  msgstr ""
3437
3445
 
3438
- #: ../lib/puppet/parser/compiler.rb:321
3446
+ #: ../lib/puppet/parser/compiler.rb:325
3439
3447
  msgid "Invalid node mapping in %{app}: Value %{res} is not a resource"
3440
3448
  msgstr ""
3441
3449
 
3442
- #: ../lib/puppet/parser/compiler.rb:322
3450
+ #: ../lib/puppet/parser/compiler.rb:326
3443
3451
  msgid "Application %{app} maps component %{res} to multiple nodes"
3444
3452
  msgstr ""
3445
3453
 
3446
- #: ../lib/puppet/parser/compiler.rb:367
3454
+ #: ../lib/puppet/parser/compiler.rb:371
3447
3455
  msgid "Could not find class %{name} for %{node}"
3448
3456
  msgstr ""
3449
3457
 
3450
- #: ../lib/puppet/parser/compiler.rb:494
3458
+ #: ../lib/puppet/parser/compiler.rb:498
3451
3459
  msgid "Could not find node statement with name 'default' or '%{names}'"
3452
3460
  msgstr ""
3453
3461
 
3454
- #: ../lib/puppet/parser/compiler.rb:515
3462
+ #: ../lib/puppet/parser/compiler.rb:519
3455
3463
  msgid "Evaluated collections"
3456
3464
  msgstr ""
3457
3465
 
3458
- #: ../lib/puppet/parser/compiler.rb:530
3466
+ #: ../lib/puppet/parser/compiler.rb:534
3459
3467
  msgid "Evaluated definitions"
3460
3468
  msgstr ""
3461
3469
 
3462
- #: ../lib/puppet/parser/compiler.rb:559
3470
+ #: ../lib/puppet/parser/compiler.rb:563
3463
3471
  msgid "Iterated (%{count}) on generators"
3464
3472
  msgstr ""
3465
3473
 
3466
- #: ../lib/puppet/parser/compiler.rb:570
3474
+ #: ../lib/puppet/parser/compiler.rb:574
3467
3475
  msgid "Somehow looped more than 1000 times while evaluating host catalog"
3468
3476
  msgstr ""
3469
3477
 
3470
- #: ../lib/puppet/parser/compiler.rb:601
3478
+ #: ../lib/puppet/parser/compiler.rb:605
3471
3479
  msgid "Could not find resource(s) %{resources} for overriding"
3472
3480
  msgstr ""
3473
3481
 
3474
- #: ../lib/puppet/parser/compiler.rb:612
3482
+ #: ../lib/puppet/parser/compiler.rb:616
3475
3483
  msgid "Failed to realize virtual resources %{resources}"
3476
3484
  msgstr ""
3477
3485
 
3478
3486
  #. TRANSLATORS "main" is a function name and should not be translated
3479
- #: ../lib/puppet/parser/compiler.rb:642
3487
+ #: ../lib/puppet/parser/compiler.rb:646
3480
3488
  msgid "Couldn't find main"
3481
3489
  msgstr ""
3482
3490
 
3483
- #: ../lib/puppet/parser/compiler.rb:714
3491
+ #: ../lib/puppet/parser/compiler.rb:718
3484
3492
  msgid "For initializing compiler"
3485
3493
  msgstr ""
3486
3494
 
@@ -4879,19 +4887,19 @@ msgstr ""
4879
4887
  msgid "Empty key in string 'i'?"
4880
4888
  msgstr ""
4881
4889
 
4882
- #: ../lib/puppet/provider/aixobject.rb:312 ../lib/puppet/provider/nameservice.rb:164
4890
+ #: ../lib/puppet/provider/aixobject.rb:312 ../lib/puppet/provider/nameservice.rb:166
4883
4891
  msgid "already exists"
4884
4892
  msgstr ""
4885
4893
 
4886
- #: ../lib/puppet/provider/aixobject.rb:320 ../lib/puppet/provider/nameservice.rb:175 ../lib/puppet/provider/nameservice/directoryservice.rb:420
4894
+ #: ../lib/puppet/provider/aixobject.rb:320 ../lib/puppet/provider/nameservice.rb:177 ../lib/puppet/provider/nameservice/directoryservice.rb:420
4887
4895
  msgid "Could not create %{resource} %{name}: %{detail}"
4888
4896
  msgstr ""
4889
4897
 
4890
- #: ../lib/puppet/provider/aixobject.rb:327 ../lib/puppet/provider/nameservice.rb:181
4898
+ #: ../lib/puppet/provider/aixobject.rb:327 ../lib/puppet/provider/nameservice.rb:183
4891
4899
  msgid "already absent"
4892
4900
  msgstr ""
4893
4901
 
4894
- #: ../lib/puppet/provider/aixobject.rb:335 ../lib/puppet/provider/nameservice.rb:189
4902
+ #: ../lib/puppet/provider/aixobject.rb:335 ../lib/puppet/provider/nameservice.rb:191
4895
4903
  msgid "Could not delete %{resource} %{name}: %{detail}"
4896
4904
  msgstr ""
4897
4905
 
@@ -4899,7 +4907,7 @@ msgstr ""
4899
4907
  msgid "Trying to update parameter '%{param}' to '%{value}' for a resource that does not exists %{resource} %{name}: %{detail}"
4900
4908
  msgstr ""
4901
4909
 
4902
- #: ../lib/puppet/provider/aixobject.rb:379 ../lib/puppet/provider/group/aix.rb:130 ../lib/puppet/provider/nameservice.rb:296 ../lib/puppet/provider/nameservice/directoryservice.rb:336 ../lib/puppet/provider/nameservice/directoryservice.rb:365
4910
+ #: ../lib/puppet/provider/aixobject.rb:379 ../lib/puppet/provider/group/aix.rb:130 ../lib/puppet/provider/nameservice.rb:298 ../lib/puppet/provider/nameservice/directoryservice.rb:336 ../lib/puppet/provider/nameservice/directoryservice.rb:365
4903
4911
  msgid "Could not set %{param} on %{resource}[%{name}]: %{detail}"
4904
4912
  msgstr ""
4905
4913
 
@@ -5150,11 +5158,11 @@ msgstr ""
5150
5158
  msgid "Could not parse configuration for %{resource}: %{detail}"
5151
5159
  msgstr ""
5152
5160
 
5153
- #: ../lib/puppet/provider/nameservice.rb:56
5161
+ #: ../lib/puppet/provider/nameservice.rb:58
5154
5162
  msgid "listbyname is deprecated and will be removed in a future release of Puppet. Please use `self.instances` to obtain a list of users."
5155
5163
  msgstr ""
5156
5164
 
5157
- #: ../lib/puppet/provider/nameservice.rb:99
5165
+ #: ../lib/puppet/provider/nameservice.rb:101
5158
5166
  msgid "Invalid value %{value}: %{error}"
5159
5167
  msgstr ""
5160
5168
 
@@ -5618,7 +5626,7 @@ msgstr ""
5618
5626
  msgid "No docs for %{type}[%{sname}]"
5619
5627
  msgstr ""
5620
5628
 
5621
- #: ../lib/puppet/reports/http.rb:32
5629
+ #: ../lib/puppet/reports/http.rb:34
5622
5630
  msgid "Unable to submit report to %{url} [%{code}] %{message}"
5623
5631
  msgstr ""
5624
5632
 
@@ -6950,7 +6958,7 @@ msgstr ""
6950
6958
  msgid "Failed to convert '%{path}' to URI: %{detail}"
6951
6959
  msgstr ""
6952
6960
 
6953
- #: ../lib/puppet/util.rb:660
6961
+ #: ../lib/puppet/util.rb:678
6954
6962
  msgid "Could not %{message}: %{err}"
6955
6963
  msgstr ""
6956
6964
 
@@ -7398,36 +7406,36 @@ msgstr ""
7398
7406
  msgid "Wrapped exception:"
7399
7407
  msgstr ""
7400
7408
 
7401
- #: ../lib/puppet/util/logging.rb:179
7409
+ #: ../lib/puppet/util/logging.rb:183
7402
7410
  msgid ""
7403
7411
  "\n"
7404
7412
  " (at %{file}:%{line})"
7405
7413
  msgstr ""
7406
7414
 
7407
- #: ../lib/puppet/util/logging.rb:181
7415
+ #: ../lib/puppet/util/logging.rb:185
7408
7416
  msgid ""
7409
7417
  "\n"
7410
7418
  " (in %{file})"
7411
7419
  msgstr ""
7412
7420
 
7413
- #: ../lib/puppet/util/logging.rb:183
7421
+ #: ../lib/puppet/util/logging.rb:187
7414
7422
  msgid ""
7415
7423
  "\n"
7416
7424
  " (in unknown file, line %{line})"
7417
7425
  msgstr ""
7418
7426
 
7419
- #: ../lib/puppet/util/logging.rb:185
7427
+ #: ../lib/puppet/util/logging.rb:189
7420
7428
  msgid ""
7421
7429
  "\n"
7422
7430
  " (file & line not available)"
7423
7431
  msgstr ""
7424
7432
 
7425
- #: ../lib/puppet/util/logging.rb:283
7433
+ #: ../lib/puppet/util/logging.rb:287
7426
7434
  msgid "unknown"
7427
7435
  msgstr ""
7428
7436
 
7429
7437
  #. TRANSLATORS error message with origin location
7430
- #: ../lib/puppet/util/logging.rb:288
7438
+ #: ../lib/puppet/util/logging.rb:292
7431
7439
  msgid ""
7432
7440
  "%{message}\n"
7433
7441
  " (at %{call_trace})"