puppet 5.2.0-x86-mingw32 → 5.3.1-x86-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.
- data/Gemfile +9 -28
- data/lib/puppet.rb +1 -0
- data/lib/puppet/defaults.rb +21 -5
- data/lib/puppet/indirector/certificate_revocation_list/rest.rb +12 -0
- data/lib/puppet/network/http/connection.rb +108 -15
- data/lib/puppet/parser/compiler.rb +1 -1
- data/lib/puppet/pops/loader/puppet_resource_type_impl_instantiator.rb +1 -1
- data/lib/puppet/pops/lookup/hiera_config.rb +1 -1
- data/lib/puppet/pops/parser/egrammar.ra +1 -1
- data/lib/puppet/pops/parser/eparser.rb +378 -378
- data/lib/puppet/pops/parser/heredoc_support.rb +1 -1
- data/lib/puppet/pops/patterns.rb +2 -1
- data/lib/puppet/pops/types/p_object_type.rb +2 -0
- data/lib/puppet/pops/types/puppet_object.rb +1 -1
- data/lib/puppet/pops/types/ruby_generator.rb +1 -1
- data/lib/puppet/pops/types/type_calculator.rb +1 -0
- data/lib/puppet/settings.rb +3 -1
- data/lib/puppet/settings/certificate_revocation_setting.rb +21 -0
- data/lib/puppet/ssl/certificate_authority.rb +1 -1
- data/lib/puppet/ssl/certificate_revocation_list.rb +1 -1
- data/lib/puppet/ssl/host.rb +29 -16
- data/lib/puppet/transaction/report.rb +9 -3
- data/lib/puppet/type/scheduled_task.rb +4 -5
- data/lib/puppet/vendor/pathspec/lib/pathspec.rb +1 -1
- data/lib/puppet/version.rb +1 -1
- data/locales/ja/puppet.po +63 -57
- data/locales/puppet.pot +46 -32
- data/spec/unit/functions/epp_spec.rb +7 -2
- data/spec/unit/functions4_spec.rb +3 -2
- data/spec/unit/indirector/certificate_revocation_list/rest_spec.rb +8 -0
- data/spec/unit/network/http/connection_spec.rb +88 -1
- data/spec/unit/pops/parser/lexer2_spec.rb +30 -0
- data/spec/unit/pops/parser/parse_basic_expressions_spec.rb +30 -0
- data/spec/unit/pops/types/p_object_type_spec.rb +10 -2
- data/spec/unit/pops/types/type_calculator_spec.rb +13 -0
- data/spec/unit/pops/validator/validator_spec.rb +10 -0
- data/spec/unit/settings/certificate_revocation_setting_spec.rb +37 -0
- data/spec/unit/ssl/host_spec.rb +22 -4
- data/spec/unit/transaction/report_spec.rb +5 -0
- metadata +5 -2
data/lib/puppet/pops/patterns.rb
CHANGED
@@ -48,7 +48,8 @@ module Puppet::Pops::Patterns
|
|
48
48
|
|
49
49
|
# VAR_NAME matches the name part of a variable (The $ character is not included)
|
50
50
|
# Note, that only the final segment may start with an underscore.
|
51
|
-
|
51
|
+
# Note, regexp sensitive to backtracking
|
52
|
+
VAR_NAME = %r{\A(?:::)?(?:[a-z]\w*::)*[a-z_]\w*\z}
|
52
53
|
|
53
54
|
# PARAM_NAME matches the name part of a parameter (The $ character is not included)
|
54
55
|
PARAM_NAME = %r{\A[a-z_]\w*\z}
|
@@ -397,6 +397,7 @@ class PObjectType < PMetaType
|
|
397
397
|
assignable?(o._pcore_type, guard)
|
398
398
|
else
|
399
399
|
name = o.class.name
|
400
|
+
return false if name.nil? # anonymous class that doesn't implement PuppetObject is not an instance
|
400
401
|
ir = Loaders.implementation_registry
|
401
402
|
type = ir.nil? ? nil : ir.type_for_module(name)
|
402
403
|
!type.nil? && assignable?(type, guard)
|
@@ -600,6 +601,7 @@ class PObjectType < PMetaType
|
|
600
601
|
unless @parent.nil?
|
601
602
|
check_self_recursion(self)
|
602
603
|
rp = resolved_parent
|
604
|
+
raise Puppet::ParseError, _("reference to unresolved type '%{name}'") % { :name => rp.type_string } if rp.is_a?(PTypeReferenceType)
|
603
605
|
if rp.is_a?(PObjectType)
|
604
606
|
parent_object_type = rp
|
605
607
|
parent_members = rp.members(true)
|
@@ -163,7 +163,7 @@ class RubyGenerator < TypeFormatter
|
|
163
163
|
end
|
164
164
|
|
165
165
|
def class_body(obj, segments, bld)
|
166
|
-
|
166
|
+
unless obj.parent.is_a?(PObjectType)
|
167
167
|
bld << "\n include " << namespace_relative(segments, Puppet::Pops::Types::PuppetObject.name) << "\n\n" # marker interface
|
168
168
|
bld << " def self.ref(type_string)\n"
|
169
169
|
bld << ' ' << namespace_relative(segments, Puppet::Pops::Types::PTypeReferenceType.name) << ".new(type_string)\n"
|
@@ -512,6 +512,7 @@ class TypeCalculator
|
|
512
512
|
o._pcore_type
|
513
513
|
else
|
514
514
|
name = o.class.name
|
515
|
+
return PRuntimeType.new(:ruby, nil) if name.nil? # anonymous class that doesn't implement PuppetObject is impossible to infer
|
515
516
|
ir = Loaders.implementation_registry
|
516
517
|
type = ir.nil? ? nil : ir.type_for_module(name)
|
517
518
|
type.nil? ? PRuntimeType.new(:ruby, name) : type
|
data/lib/puppet/settings.rb
CHANGED
@@ -30,6 +30,7 @@ class Puppet::Settings
|
|
30
30
|
require 'puppet/settings/value_translator'
|
31
31
|
require 'puppet/settings/environment_conf'
|
32
32
|
require 'puppet/settings/server_list_setting'
|
33
|
+
require 'puppet/settings/certificate_revocation_setting'
|
33
34
|
|
34
35
|
# local reference for convenience
|
35
36
|
PuppetOptionParser = Puppet::Util::CommandLine::PuppetOptionParser
|
@@ -670,7 +671,8 @@ class Puppet::Settings
|
|
670
671
|
:symbolic_enum => SymbolicEnumSetting,
|
671
672
|
:priority => PrioritySetting,
|
672
673
|
:autosign => AutosignSetting,
|
673
|
-
:server_list => ServerListSetting
|
674
|
+
:server_list => ServerListSetting,
|
675
|
+
:certificate_revocation => CertificateRevocationSetting
|
674
676
|
}
|
675
677
|
|
676
678
|
# Create a new setting. The value is passed in because it's used to determine
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require 'puppet/settings/base_setting'
|
2
|
+
|
3
|
+
class Puppet::Settings::CertificateRevocationSetting < Puppet::Settings::BaseSetting
|
4
|
+
|
5
|
+
def type
|
6
|
+
:certificate_revocation
|
7
|
+
end
|
8
|
+
|
9
|
+
def munge(value)
|
10
|
+
case value
|
11
|
+
when 'chain', 'true', TrueClass
|
12
|
+
:chain
|
13
|
+
when 'leaf'
|
14
|
+
:leaf
|
15
|
+
when 'false', FalseClass, NilClass
|
16
|
+
false
|
17
|
+
else
|
18
|
+
raise Puppet::Settings::ValidationError, _("Invalid certificate revocation value %{value}: must be one of 'true', 'chain', 'leaf', or 'false'") % { value: value }
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -446,7 +446,7 @@ class Puppet::SSL::CertificateAuthority
|
|
446
446
|
store.add_file(Puppet[:cacert])
|
447
447
|
store.add_crl(crl.content) if self.crl
|
448
448
|
store.purpose = OpenSSL::X509::PURPOSE_SSL_CLIENT
|
449
|
-
if Puppet.
|
449
|
+
if Puppet.lookup(:certificate_revocation)
|
450
450
|
store.flags = OpenSSL::X509::V_FLAG_CRL_CHECK_ALL | OpenSSL::X509::V_FLAG_CRL_CHECK
|
451
451
|
end
|
452
452
|
store
|
@@ -39,7 +39,7 @@ DOC
|
|
39
39
|
# The name doesn't actually matter; there's only one CRL.
|
40
40
|
# We just need the name so our Indirector stuff all works more easily.
|
41
41
|
def initialize(fakename)
|
42
|
-
@name =
|
42
|
+
@name = "crl"
|
43
43
|
end
|
44
44
|
|
45
45
|
# Revoke the certificate with serial number SERIAL issued by this
|
data/lib/puppet/ssl/host.rb
CHANGED
@@ -274,22 +274,8 @@ ERROR_STRING
|
|
274
274
|
# Create/return a store that uses our SSL info to validate
|
275
275
|
# connections.
|
276
276
|
def ssl_store(purpose = OpenSSL::X509::PURPOSE_ANY)
|
277
|
-
|
278
|
-
@ssl_store =
|
279
|
-
@ssl_store.purpose = purpose
|
280
|
-
|
281
|
-
# Use the file path here, because we don't want to cause
|
282
|
-
# a lookup in the middle of setting our ssl connection.
|
283
|
-
@ssl_store.add_file(Puppet[:localcacert])
|
284
|
-
|
285
|
-
# If we're doing revocation and there's a CRL, add it to our store.
|
286
|
-
if Puppet.settings[:certificate_revocation]
|
287
|
-
if crl = Puppet::SSL::CertificateRevocationList.indirection.find(CA_NAME)
|
288
|
-
@ssl_store.flags = OpenSSL::X509::V_FLAG_CRL_CHECK_ALL|OpenSSL::X509::V_FLAG_CRL_CHECK
|
289
|
-
@ssl_store.add_crl(crl.content)
|
290
|
-
end
|
291
|
-
end
|
292
|
-
return @ssl_store
|
277
|
+
if @ssl_store.nil?
|
278
|
+
@ssl_store = build_ssl_store(purpose)
|
293
279
|
end
|
294
280
|
@ssl_store
|
295
281
|
end
|
@@ -382,6 +368,33 @@ ERROR_STRING
|
|
382
368
|
return 'revoked'
|
383
369
|
end
|
384
370
|
end
|
371
|
+
|
372
|
+
private
|
373
|
+
|
374
|
+
def build_ssl_store(purpose)
|
375
|
+
store = OpenSSL::X509::Store.new
|
376
|
+
store.purpose = purpose
|
377
|
+
|
378
|
+
# Use the file path here, because we don't want to cause
|
379
|
+
# a lookup in the middle of setting our ssl connection.
|
380
|
+
store.add_file(Puppet[:localcacert])
|
381
|
+
|
382
|
+
# If we're doing revocation and there's a CRL, add it to our store.
|
383
|
+
if Puppet.lookup(:certificate_revocation)
|
384
|
+
if crl = Puppet::SSL::CertificateRevocationList.indirection.find(CA_NAME)
|
385
|
+
flags = OpenSSL::X509::V_FLAG_CRL_CHECK
|
386
|
+
if Puppet.lookup(:certificate_revocation) == :chain
|
387
|
+
flags |= OpenSSL::X509::V_FLAG_CRL_CHECK_ALL
|
388
|
+
end
|
389
|
+
|
390
|
+
store.flags = flags
|
391
|
+
store.add_crl(crl.content)
|
392
|
+
else
|
393
|
+
Puppet.debug _("Certificate revocation checking is enabled but a CRL cannot be found; CRL checking will not be performed.")
|
394
|
+
end
|
395
|
+
end
|
396
|
+
store
|
397
|
+
end
|
385
398
|
end
|
386
399
|
|
387
400
|
require 'puppet/ssl/certificate_authority'
|
@@ -385,9 +385,15 @@ class Puppet::Transaction::Report
|
|
385
385
|
#
|
386
386
|
def exit_status
|
387
387
|
status = 0
|
388
|
-
|
389
|
-
|
390
|
-
|
388
|
+
if @metrics["changes"] && @metrics["changes"]["total"] &&
|
389
|
+
@metrics["resources"] && @metrics["resources"]["failed"] &&
|
390
|
+
@metrics["resources"]["failed_to_restart"]
|
391
|
+
status |= 2 if @metrics["changes"]["total"] > 0
|
392
|
+
status |= 4 if @metrics["resources"]["failed"] > 0
|
393
|
+
status |= 4 if @metrics["resources"]["failed_to_restart"] > 0
|
394
|
+
else
|
395
|
+
status = -1
|
396
|
+
end
|
391
397
|
status
|
392
398
|
end
|
393
399
|
|
@@ -118,8 +118,7 @@ Puppet::Type.newtype(:scheduled_task) do
|
|
118
118
|
* `months` --- Which months the task should run, as an array. Defaults to
|
119
119
|
all months. Each month must be an integer between 1 and 12.
|
120
120
|
* `on` **(Required)** --- Which days of the month the task should run,
|
121
|
-
as an array. Each day must be
|
122
|
-
or the special value `last,` which is always the last day of the month.
|
121
|
+
as an array. Each day must be an integer between 1 and 31.
|
123
122
|
* For `monthly` (by weekday) triggers:
|
124
123
|
* `months` --- Which months the task should run, as an array. Defaults to
|
125
124
|
all months. Each month must be an integer between 1 and 12.
|
@@ -128,19 +127,19 @@ Puppet::Type.newtype(:scheduled_task) do
|
|
128
127
|
`tues`, `wed`, `thurs`, `fri`, `sat`, `sun`, or `all`.
|
129
128
|
* `which_occurrence` **(Required)** --- The occurrence of the chosen weekday
|
130
129
|
when the task should run. Must be one of `first`, `second`, `third`,
|
131
|
-
`fourth`,
|
130
|
+
`fourth`, or `fifth`.
|
132
131
|
|
133
132
|
|
134
133
|
Examples:
|
135
134
|
|
136
|
-
# Run at 8am on the 1st
|
135
|
+
# Run at 8am on the 1st and 15th days of the month in January, March,
|
137
136
|
# May, July, September, and November, starting after August 31st, 2011.
|
138
137
|
trigger => {
|
139
138
|
schedule => monthly,
|
140
139
|
start_date => '2011-08-31', # Defaults to current date
|
141
140
|
start_time => '08:00', # Must be specified
|
142
141
|
months => [1,3,5,7,9,11], # Defaults to all
|
143
|
-
on => [1, 15
|
142
|
+
on => [1, 15], # Must be specified
|
144
143
|
}
|
145
144
|
|
146
145
|
# Run at 8am on the first Monday of the month for January, March, and May,
|
data/lib/puppet/version.rb
CHANGED
data/locales/ja/puppet.po
CHANGED
@@ -6,12 +6,12 @@
|
|
6
6
|
#, fuzzy
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: Puppet automation framework 5.0
|
9
|
+
"Project-Id-Version: Puppet automation framework 5.1.0-138-g2088f82\n"
|
10
10
|
"\n"
|
11
11
|
"Report-Msgid-Bugs-To: https://tickets.puppetlabs.com\n"
|
12
|
-
"POT-Creation-Date: 2017-
|
13
|
-
"PO-Revision-Date: 2017-
|
14
|
-
"Last-Translator:
|
12
|
+
"POT-Creation-Date: 2017-09-06 15:11+0000\n"
|
13
|
+
"PO-Revision-Date: 2017-09-06 15:11+0000\n"
|
14
|
+
"Last-Translator: sayaka inagaki <sayaka-inagaki@to-in.co.jp>, 2017\n"
|
15
15
|
"Language-Team: Japanese (Japan) (https://www.transifex.com/puppet/teams/29089/ja_JP/)\n"
|
16
16
|
"MIME-Version: 1.0\n"
|
17
17
|
"Content-Type: text/plain; charset=UTF-8\n"
|
@@ -140,7 +140,7 @@ msgstr "実行できませんでした。"
|
|
140
140
|
|
141
141
|
#: ../lib/puppet/application.rb:362
|
142
142
|
msgid "No valid command or main"
|
143
|
-
msgstr "
|
143
|
+
msgstr "有効なコマンドまたはmainがありません。"
|
144
144
|
|
145
145
|
#: ../lib/puppet/application.rb:475
|
146
146
|
msgid "No help available for puppet %{app_name}"
|
@@ -197,7 +197,7 @@ msgstr "ノード%{node}が見つかりませんでした。"
|
|
197
197
|
#. translated
|
198
198
|
#: ../lib/puppet/application/apply.rb:233
|
199
199
|
msgid "For puppet apply"
|
200
|
-
msgstr "puppet
|
200
|
+
msgstr "puppet applyを実行する時"
|
201
201
|
|
202
202
|
#: ../lib/puppet/application/apply.rb:245
|
203
203
|
msgid "%{file} is not readable"
|
@@ -457,7 +457,8 @@ msgid ""
|
|
457
457
|
"Listing all file instances is not supported. Please specify a file or "
|
458
458
|
"directory, e.g. puppet resource file /etc"
|
459
459
|
msgstr ""
|
460
|
-
"
|
460
|
+
"すべてのファイルインスタンスのリスト化はサポートされていません。ファイルまたはディレクトリを指定してください。例:puppet resource "
|
461
|
+
"file /etc"
|
461
462
|
|
462
463
|
#: ../lib/puppet/configurer.rb:22
|
463
464
|
msgid "Puppet configuration client"
|
@@ -1817,12 +1818,12 @@ msgstr "ファイルセットパスは存在するものでなければなりま
|
|
1817
1818
|
msgid ""
|
1818
1819
|
"Fileset recurse parameter must not be a number anymore, please use "
|
1819
1820
|
"recurselimit"
|
1820
|
-
msgstr "
|
1821
|
+
msgstr "ファイルセットrecurseパラメータは、数字である必要がなくなりました。recurselimitを使用してください。"
|
1821
1822
|
|
1822
1823
|
#. TRANSLATORS ":links" is a parameter name and should not be translated
|
1823
1824
|
#: ../lib/puppet/file_serving/fileset.rb:80
|
1824
1825
|
msgid "Invalid :links value '%{links}'"
|
1825
|
-
msgstr "無効:
|
1826
|
+
msgstr "無効: links値'%{links}'"
|
1826
1827
|
|
1827
1828
|
#: ../lib/puppet/file_serving/fileset.rb:93
|
1828
1829
|
msgid "Invalid option '%{option}'"
|
@@ -3484,16 +3485,16 @@ msgstr "無効なIPパターン%{value}"
|
|
3484
3485
|
msgid ""
|
3485
3486
|
"%{klass} does not respond to %{method}; can not render multiple instances to"
|
3486
3487
|
" %{mime}"
|
3487
|
-
msgstr "%{klass}が%{method}に応答しません; 複数のインスタンスを%{mime}
|
3488
|
+
msgstr "%{klass}が%{method}に応答しません; 複数のインスタンスを%{mime}にrenderできません。"
|
3488
3489
|
|
3489
3490
|
#: ../lib/puppet/network/format_handler.rb:67
|
3490
3491
|
msgid "No format matches the given format name or mime-type (%{format})"
|
3491
|
-
msgstr "指定されたフォーマット名またはmime
|
3492
|
+
msgstr "指定されたフォーマット名またはmime-type(%{format})に一致するフォーマットはありません。"
|
3492
3493
|
|
3493
3494
|
#. TRANSLATORS "intern" is a function name and should not be translated
|
3494
3495
|
#: ../lib/puppet/network/format_support.rb:15
|
3495
3496
|
msgid "Could not intern from %{format}: %{err}"
|
3496
|
-
msgstr "%{format}
|
3497
|
+
msgstr "%{format}からinternできませんでした: %{err}"
|
3497
3498
|
|
3498
3499
|
#. TRANSLATORS "intern_multiple" is a function name and should not be
|
3499
3500
|
#. translated
|
@@ -3510,7 +3511,7 @@ msgstr "%{format}にrender_multipleできませんでした: %{err}"
|
|
3510
3511
|
#. TRANSLATORS "render" is a function name and should not be translated
|
3511
3512
|
#: ../lib/puppet/network/format_support.rb:109
|
3512
3513
|
msgid "Could not render to %{format}: %{err}"
|
3513
|
-
msgstr "%{format}
|
3514
|
+
msgstr "%{format}にrenderできませんでした: %{err}"
|
3514
3515
|
|
3515
3516
|
#. TRANSLATORS "mime" is a function name and should not be translated
|
3516
3517
|
#: ../lib/puppet/network/format_support.rb:118
|
@@ -3597,7 +3598,7 @@ msgstr "リクエストボディが無効です: %{message}"
|
|
3597
3598
|
msgid ""
|
3598
3599
|
"Client sent a mime-type (%{header}) that doesn't correspond to a format we "
|
3599
3600
|
"support"
|
3600
|
-
msgstr "サポート対象のフォーマットに対応しないmime
|
3601
|
+
msgstr "サポート対象のフォーマットに対応しないmime-type(%{header})をクライアントが送信しました。"
|
3601
3602
|
|
3602
3603
|
#: ../lib/puppet/network/http/api/indirected_routes.rb:239
|
3603
3604
|
msgid "No support for http method %{http_method}"
|
@@ -3837,7 +3838,7 @@ msgstr "有効な値は%{pattern}と一致します。"
|
|
3837
3838
|
msgid ""
|
3838
3839
|
"Instantiating Resource with type checked parameters - scope is missing, "
|
3839
3840
|
"skipping type checking."
|
3840
|
-
msgstr "
|
3841
|
+
msgstr "タイプチェックしたパラメータによるResourceのインスタンス生成 - 範囲が不明です。タイプチェックをスキップしています。"
|
3841
3842
|
|
3842
3843
|
#: ../lib/puppet/parser/ast/resource.rb:9
|
3843
3844
|
msgid ""
|
@@ -3866,7 +3867,7 @@ msgstr "'stage'を設定できるのはクラスだけです; %{resource}など
|
|
3866
3867
|
#: ../lib/puppet/parser/compiler.rb:123
|
3867
3868
|
msgid ""
|
3868
3869
|
"Application instances like '%{resource}' can only be contained within a Site"
|
3869
|
-
msgstr "'%{resource}'
|
3870
|
+
msgstr "'%{resource}'などのアプリケーションインスタンスは、Site内にのみ含めることができます。"
|
3870
3871
|
|
3871
3872
|
#: ../lib/puppet/parser/compiler.rb:153
|
3872
3873
|
msgid "For compiling %{node}"
|
@@ -3882,36 +3883,36 @@ msgstr "コンパイル: 設定範囲を作成"
|
|
3882
3883
|
|
3883
3884
|
#: ../lib/puppet/parser/compiler.rb:161
|
3884
3885
|
msgid "Compile: Evaluated capability mappings"
|
3885
|
-
msgstr "コンパイル:
|
3886
|
+
msgstr "コンパイル: 機能マッピングが検証されました。"
|
3886
3887
|
|
3887
3888
|
#. TRANSLATORS "main" is a function name and should not be translated
|
3888
3889
|
#: ../lib/puppet/parser/compiler.rb:164
|
3889
3890
|
msgid "Compile: Evaluated main"
|
3890
|
-
msgstr "コンパイル:
|
3891
|
+
msgstr "コンパイル: mainが検証されました。"
|
3891
3892
|
|
3892
3893
|
#: ../lib/puppet/parser/compiler.rb:166
|
3893
3894
|
msgid "Compile: Evaluated site"
|
3894
|
-
msgstr "コンパイル:
|
3895
|
+
msgstr "コンパイル: siteが検証されました。"
|
3895
3896
|
|
3896
3897
|
#: ../lib/puppet/parser/compiler.rb:168
|
3897
3898
|
msgid "Compile: Evaluated AST node"
|
3898
|
-
msgstr "コンパイル: AST
|
3899
|
+
msgstr "コンパイル: ASTノードが検証されました。"
|
3899
3900
|
|
3900
3901
|
#: ../lib/puppet/parser/compiler.rb:170
|
3901
3902
|
msgid "Compile: Evaluated node classes"
|
3902
|
-
msgstr "コンパイル:
|
3903
|
+
msgstr "コンパイル: ノードクラスが検証されました。"
|
3903
3904
|
|
3904
3905
|
#: ../lib/puppet/parser/compiler.rb:172
|
3905
3906
|
msgid "Compile: Evaluated application instances"
|
3906
|
-
msgstr "コンパイル:
|
3907
|
+
msgstr "コンパイル: アプリケーションインスタンスが検証されました。"
|
3907
3908
|
|
3908
3909
|
#: ../lib/puppet/parser/compiler.rb:175
|
3909
3910
|
msgid "Compile: Evaluated site capability mappings"
|
3910
|
-
msgstr "コンパイル:
|
3911
|
+
msgstr "コンパイル: site機能マッピングが検証されました。"
|
3911
3912
|
|
3912
3913
|
#: ../lib/puppet/parser/compiler.rb:177
|
3913
3914
|
msgid "Compile: Evaluated generators"
|
3914
|
-
msgstr "コンパイル:
|
3915
|
+
msgstr "コンパイル: ジェネレータが検証されました。"
|
3915
3916
|
|
3916
3917
|
#: ../lib/puppet/parser/compiler.rb:179
|
3917
3918
|
msgid "Compile: Validate Catalog pre-finish"
|
@@ -3959,11 +3960,11 @@ msgstr "'%{names}'の名前'default'でノードステートメントが見つ
|
|
3959
3960
|
|
3960
3961
|
#: ../lib/puppet/parser/compiler.rb:519
|
3961
3962
|
msgid "Evaluated collections"
|
3962
|
-
msgstr "
|
3963
|
+
msgstr "コレクションが検証されました。"
|
3963
3964
|
|
3964
3965
|
#: ../lib/puppet/parser/compiler.rb:534
|
3965
3966
|
msgid "Evaluated definitions"
|
3966
|
-
msgstr "
|
3967
|
+
msgstr "定義が検証されました。"
|
3967
3968
|
|
3968
3969
|
#: ../lib/puppet/parser/compiler.rb:563
|
3969
3970
|
msgid "Iterated (%{count}) on generators"
|
@@ -3984,7 +3985,7 @@ msgstr "仮想リソース%{resources}の現実化に失敗しました。"
|
|
3984
3985
|
#. TRANSLATORS "main" is a function name and should not be translated
|
3985
3986
|
#: ../lib/puppet/parser/compiler.rb:646
|
3986
3987
|
msgid "Couldn't find main"
|
3987
|
-
msgstr "
|
3988
|
+
msgstr "mainが見つかりませんでした。"
|
3988
3989
|
|
3989
3990
|
#: ../lib/puppet/parser/compiler.rb:718
|
3990
3991
|
msgid "For initializing compiler"
|
@@ -4009,7 +4010,7 @@ msgstr "パラメータ'%{param}'でリソース'%{res}'が見つかりません
|
|
4009
4010
|
#: ../lib/puppet/parser/compiler/catalog_validator/site_validator.rb:14
|
4010
4011
|
msgid ""
|
4011
4012
|
"Only application components can appear inside a site - %{res} is not allowed"
|
4012
|
-
msgstr "
|
4013
|
+
msgstr "Site内に表示できるのはアプリケーションコンポーネントのみです - %{res}は許可されていません。"
|
4013
4014
|
|
4014
4015
|
#: ../lib/puppet/parser/environment_compiler.rb:12
|
4015
4016
|
msgid "%{detail} in environment %{env}"
|
@@ -4025,11 +4026,11 @@ msgstr "環境コンパイル: 設定範囲を作成"
|
|
4025
4026
|
|
4026
4027
|
#: ../lib/puppet/parser/environment_compiler.rb:64
|
4027
4028
|
msgid "Env Compile: Evaluated main"
|
4028
|
-
msgstr "環境コンパイル:
|
4029
|
+
msgstr "環境コンパイル: mainが検証されました。"
|
4029
4030
|
|
4030
4031
|
#: ../lib/puppet/parser/environment_compiler.rb:66
|
4031
4032
|
msgid "Env Compile: Evaluated site"
|
4032
|
-
msgstr "環境コンパイル:
|
4033
|
+
msgstr "環境コンパイル: siteを検証"
|
4033
4034
|
|
4034
4035
|
#: ../lib/puppet/parser/environment_compiler.rb:68
|
4035
4036
|
msgid "Env Compile: Evaluated application instances"
|
@@ -4053,7 +4054,7 @@ msgstr "環境コンパイル: 完成したカタログのバリデーション"
|
|
4053
4054
|
|
4054
4055
|
#: ../lib/puppet/parser/environment_compiler.rb:156
|
4055
4056
|
msgid "Environment Compiler: Could not find a site definition to evaluate"
|
4056
|
-
msgstr "環境コンパイラ:
|
4057
|
+
msgstr "環境コンパイラ: 検証するsite定義が見つかりませんでした。"
|
4057
4058
|
|
4058
4059
|
#: ../lib/puppet/parser/environment_compiler.rb:162
|
4059
4060
|
msgid "Evaluated application %{resource}"
|
@@ -4095,7 +4096,7 @@ msgid ""
|
|
4095
4096
|
"Calling function_contain via the Scope class is deprecated. Use "
|
4096
4097
|
"Scope#call_function instead"
|
4097
4098
|
msgstr ""
|
4098
|
-
"
|
4099
|
+
"Scopeクラスによるfunction_containのコールは廃止予定です。代わりにScope#call_functionを使用してください。"
|
4099
4100
|
|
4100
4101
|
#: ../lib/puppet/parser/functions/create_resources.rb:50
|
4101
4102
|
msgid ""
|
@@ -4138,7 +4139,7 @@ msgid ""
|
|
4138
4139
|
"Calling function_include via the Scope class is deprecated. Use "
|
4139
4140
|
"Scope#call_function instead"
|
4140
4141
|
msgstr ""
|
4141
|
-
"
|
4142
|
+
"Scopeクラスによるfunction_includeのコールは廃止予定です。代わりにScope#call_functionを使用してください。"
|
4142
4143
|
|
4143
4144
|
#: ../lib/puppet/parser/functions/inline_template.rb:18
|
4144
4145
|
msgid "Failed to parse inline template: %{detail}"
|
@@ -4149,7 +4150,7 @@ msgid ""
|
|
4149
4150
|
"Calling function_require via the Scope class is deprecated. Use "
|
4150
4151
|
"Scope#call_function instead"
|
4151
4152
|
msgstr ""
|
4152
|
-
"
|
4153
|
+
"Scopeクラスによるfunction_requireのコールは廃止予定です。代わりにScope#call_functionを使用してください。"
|
4153
4154
|
|
4154
4155
|
#: ../lib/puppet/parser/relationship.rb:31
|
4155
4156
|
msgid "Invalid relationship type %{relationship_type}"
|
@@ -4320,28 +4321,28 @@ msgstr "正規表現一致データが正しくありません。%{klass}が与
|
|
4320
4321
|
#. translated
|
4321
4322
|
#: ../lib/puppet/parser/scope.rb:1048
|
4322
4323
|
msgid "Cannot use an unspecific Class[] Type"
|
4323
|
-
msgstr "
|
4324
|
+
msgstr "指定されていないClass[] Typeは使用できません。"
|
4324
4325
|
|
4325
4326
|
#. TRANSLATORS "Resource" is a class name and should not be translated
|
4326
4327
|
#: ../lib/puppet/parser/scope.rb:1075
|
4327
4328
|
msgid ""
|
4328
4329
|
"Cannot use an unspecific Resource[] where a Resource['class', name] is "
|
4329
4330
|
"expected"
|
4330
|
-
msgstr "
|
4331
|
+
msgstr "Resource['class', name]が要求されている場合は、指定されていないResource[]は使用できません。"
|
4331
4332
|
|
4332
4333
|
#. TRANSLATORS "Resource" is a class name and should not be translated
|
4333
4334
|
#: ../lib/puppet/parser/scope.rb:1079
|
4334
4335
|
msgid ""
|
4335
4336
|
"Cannot use a Resource[%{type_name}] where a Resource['class', name] is "
|
4336
4337
|
"expected"
|
4337
|
-
msgstr "
|
4338
|
+
msgstr "Resource['class', name]が要求されている場合は、Resource[%{type_name}]を使用できません。"
|
4338
4339
|
|
4339
4340
|
#. TRANSLATORS "Resource" is a class name and should not be translated
|
4340
4341
|
#: ../lib/puppet/parser/scope.rb:1083
|
4341
4342
|
msgid ""
|
4342
4343
|
"Cannot use an unspecific Resource['class'] where a Resource['class', name] "
|
4343
4344
|
"is expected"
|
4344
|
-
msgstr "
|
4345
|
+
msgstr "Resource['class', name]が要求されている場合は、指定されていないResource['class']は使用できません。"
|
4345
4346
|
|
4346
4347
|
#: ../lib/puppet/parser/templatewrapper.rb:81
|
4347
4348
|
msgid "Bound template variables for %{template_source}"
|
@@ -4431,13 +4432,13 @@ msgstr "問題のレポート作成中にエラーが生じました: %{code}. %
|
|
4431
4432
|
#: ../lib/puppet/pops/issues.rb:94
|
4432
4433
|
msgid ""
|
4433
4434
|
"Label provider key :label must be set to produce the text of the message!"
|
4434
|
-
msgstr "
|
4435
|
+
msgstr ":labelというラベルプロバイダキーはメッセージのテキストを生成するように設定する必要があります。"
|
4435
4436
|
|
4436
4437
|
#. TRANSLATORS ":semantic" is a keyword and should not be translated
|
4437
4438
|
#: ../lib/puppet/pops/issues.rb:102
|
4438
4439
|
msgid ""
|
4439
4440
|
"Label provider key :semantic must be set to produce the text of the message!"
|
4440
|
-
msgstr "
|
4441
|
+
msgstr ":semanticというプロバイダキーラベルはメッセージのテキストを生成するように設定する必要があります。"
|
4441
4442
|
|
4442
4443
|
#: ../lib/puppet/pops/issues.rb:147
|
4443
4444
|
msgid ""
|
@@ -4792,17 +4793,17 @@ msgstr "すでに特殊化されている%{kind}タイプを特殊化するこ
|
|
4792
4793
|
msgid ""
|
4793
4794
|
"First argument to Resource[] must be a resource type or a String. Got "
|
4794
4795
|
"%{actual}."
|
4795
|
-
msgstr "
|
4796
|
+
msgstr "Resource[]の最初の引数は、リソースタイプまたは文字列でなければなりません。%{actual}が与えられています。"
|
4796
4797
|
|
4797
4798
|
#: ../lib/puppet/pops/issues.rb:479
|
4798
4799
|
msgid "Arguments to Resource[] are all empty/undefined"
|
4799
|
-
msgstr "
|
4800
|
+
msgstr "Resource[]の引数がすべて空/未定義です。"
|
4800
4801
|
|
4801
4802
|
#: ../lib/puppet/pops/issues.rb:483
|
4802
4803
|
msgid ""
|
4803
4804
|
"Illegal Class name in class reference. %{expression} cannot be used where a "
|
4804
4805
|
"String is expected"
|
4805
|
-
msgstr "
|
4806
|
+
msgstr "クラスリファレンスに不正なClass名。文字列が要求されている場合は、%{expression}は使用できません。"
|
4806
4807
|
|
4807
4808
|
#: ../lib/puppet/pops/issues.rb:487
|
4808
4809
|
msgid ""
|
@@ -4851,13 +4852,14 @@ msgstr "%{expression}の検証中にエラーが生じました。%{detail}"
|
|
4851
4852
|
|
4852
4853
|
#: ../lib/puppet/pops/issues.rb:527
|
4853
4854
|
msgid "Resource type not found: %{res_type}"
|
4854
|
-
msgstr "
|
4855
|
+
msgstr "Resourceタイプが見つかりませんでした: %{res_type}"
|
4855
4856
|
|
4856
4857
|
#: ../lib/puppet/pops/issues.rb:531
|
4857
4858
|
msgid ""
|
4858
4859
|
"Illegal Resource Type expression, expected result to be a type name, or "
|
4859
4860
|
"untitled Resource, got %{actual}"
|
4860
|
-
msgstr "
|
4861
|
+
msgstr ""
|
4862
|
+
"不正なResourceタイプ表現。タイプ名またはタイトルのないResourceになる結果が必要ですが、%{actual}が与えられています。"
|
4861
4863
|
|
4862
4864
|
#: ../lib/puppet/pops/issues.rb:535
|
4863
4865
|
msgid "The title '%{title}' has already been used in this resource expression"
|
@@ -4974,7 +4976,7 @@ msgstr ""
|
|
4974
4976
|
|
4975
4977
|
#: ../lib/puppet/pops/issues.rb:621
|
4976
4978
|
msgid "Resource Override can only operate on resources, got: %{actual}"
|
4977
|
-
msgstr "
|
4979
|
+
msgstr "Resource Overrideはリソースでのみ使用できますが、%{actual}が与えられています。"
|
4978
4980
|
|
4979
4981
|
#: ../lib/puppet/pops/issues.rb:625
|
4980
4982
|
msgid ""
|
@@ -5701,6 +5703,10 @@ msgid ""
|
|
5701
5703
|
"%{subject}.new()"
|
5702
5704
|
msgstr "タイプ'%{type}'は、%{subject}.new()の有効なパラメータセットを表していません。"
|
5703
5705
|
|
5706
|
+
#: ../lib/puppet/pops/types/p_object_type.rb:604
|
5707
|
+
msgid "reference to unresolved type '%{name}'"
|
5708
|
+
msgstr "unresolved type '%{name}'への参照"
|
5709
|
+
|
5704
5710
|
#: ../lib/puppet/pops/types/tree_iterators.rb:38
|
5705
5711
|
msgid ""
|
5706
5712
|
"Only Array, Hash, and Object types can be used as container types. Got "
|
@@ -6021,12 +6027,12 @@ msgstr "再マウント"
|
|
6021
6027
|
#. TRANSLATORS "prefetch" is a program name and should not be translated
|
6022
6028
|
#: ../lib/puppet/provider/mount/parsed.rb:127
|
6023
6029
|
msgid "Prefetch: Mount[%{name}]: Field 'device' is missing"
|
6024
|
-
msgstr "
|
6030
|
+
msgstr "Prefetch: マウント[%{name}]: フィールド'device'が見つかりません。"
|
6025
6031
|
|
6026
6032
|
#. TRANSLATORS "prefetch" is a program name and should not be translated
|
6027
6033
|
#: ../lib/puppet/provider/mount/parsed.rb:132
|
6028
6034
|
msgid "Prefetch: Mount[%{name}]: Field 'fstype' is missing"
|
6029
|
-
msgstr "
|
6035
|
+
msgstr "Prefetch: マウント[%{name}]: フィールド'fstype'が見つかりません。"
|
6030
6036
|
|
6031
6037
|
#: ../lib/puppet/provider/mount/parsed.rb:143
|
6032
6038
|
msgid ""
|
@@ -6101,7 +6107,7 @@ msgstr "グループ: %{name}に%{new_member}を追加できませんでした
|
|
6101
6107
|
#. TRANSLATORS "prefetch" is a program name and should not be translated
|
6102
6108
|
#: ../lib/puppet/provider/network_device.rb:26
|
6103
6109
|
msgid "Could not perform network device prefetch: %{detail}"
|
6104
|
-
msgstr "
|
6110
|
+
msgstr "ネットワークデバイスのprefetchを実行できませんでした: %{detail}"
|
6105
6111
|
|
6106
6112
|
#: ../lib/puppet/provider/package/aix.rb:37
|
6107
6113
|
msgid "The aix provider can only be used by root"
|
@@ -6538,7 +6544,7 @@ msgid ""
|
|
6538
6544
|
"Could not prefetch %{resource} provider '%{name}' target '%{target}': "
|
6539
6545
|
"%{detail}. Treating as empty"
|
6540
6546
|
msgstr ""
|
6541
|
-
"%{resource}プロバイダ'%{name}'ターゲット'%{target}'
|
6547
|
+
"%{resource}プロバイダ'%{name}'ターゲット'%{target}'をprefetchできませんでした: "
|
6542
6548
|
"%{detail}。空として処理しています。"
|
6543
6549
|
|
6544
6550
|
#: ../lib/puppet/reference/indirection.rb:22
|
@@ -6644,7 +6650,7 @@ msgid ""
|
|
6644
6650
|
"already declared%{existing_declaration}"
|
6645
6651
|
msgstr ""
|
6646
6652
|
"%{key}%{resource_declaration}に別名%{ref}を付けることはできません; "
|
6647
|
-
"
|
6653
|
+
"resource%{newref}はすでに%{existing_declaration}が宣言されています。"
|
6648
6654
|
|
6649
6655
|
#: ../lib/puppet/resource/catalog.rb:533
|
6650
6656
|
msgid "Could not create class file %{file}: %{detail}"
|
@@ -6739,7 +6745,7 @@ msgstr "ノード'%{name}'はすでに定義されています%{error}; 再定
|
|
6739
6745
|
|
6740
6746
|
#: ../lib/puppet/resource/type_collection.rb:111
|
6741
6747
|
msgid "Site is already defined%{error}; cannot redefine"
|
6742
|
-
msgstr "
|
6748
|
+
msgstr "Siteはすでに定義されています%{error}; 再定義はできません。"
|
6743
6749
|
|
6744
6750
|
#: ../lib/puppet/resource/type_collection.rb:147
|
6745
6751
|
msgid ""
|
@@ -7363,7 +7369,7 @@ msgstr "依存関係%{dep}に不具合があります: %{status}"
|
|
7363
7369
|
#. TRANSLATORS `prefetch` is a function name and should not be translated
|
7364
7370
|
#: ../lib/puppet/transaction.rb:343
|
7365
7371
|
msgid "Could not prefetch %{type_name} provider '%{name}': %{detail}"
|
7366
|
-
msgstr "%{type_name}プロバイダ '%{name}'
|
7372
|
+
msgstr "%{type_name}プロバイダ '%{name}'をprefetchできませんでした: %{detail}"
|
7367
7373
|
|
7368
7374
|
#: ../lib/puppet/transaction.rb:371
|
7369
7375
|
msgid "Skipping because of failed dependencies"
|
@@ -7571,11 +7577,11 @@ msgstr "無効なバックアップタイプ%{value}"
|
|
7571
7577
|
|
7572
7578
|
#: ../lib/puppet/type/file.rb:168 ../lib/puppet/type/tidy.rb:48
|
7573
7579
|
msgid "Invalid recurse value %{value}"
|
7574
|
-
msgstr "
|
7580
|
+
msgstr "無効なrecurse%{value}"
|
7575
7581
|
|
7576
7582
|
#: ../lib/puppet/type/file.rb:201
|
7577
7583
|
msgid "Invalid recurselimit value %{value}"
|
7578
|
-
msgstr "
|
7584
|
+
msgstr "無効なrecurselimit値%{value}"
|
7579
7585
|
|
7580
7586
|
#: ../lib/puppet/type/file.rb:371
|
7581
7587
|
msgid "You cannot specify more than one of %{creators}"
|
@@ -7597,7 +7603,7 @@ msgstr "チェックサム'%{checksum_type}'を使っている場合はコンテ
|
|
7597
7603
|
msgid ""
|
7598
7604
|
"Possible error: recurselimit is set but not recurse, no recursion will "
|
7599
7605
|
"happen"
|
7600
|
-
msgstr "エラーの可能性:
|
7606
|
+
msgstr "エラーの可能性:recurselimitが設定されていますがrecurseではありません。再帰が生じません。"
|
7601
7607
|
|
7602
7608
|
#: ../lib/puppet/type/file.rb:389
|
7603
7609
|
msgid "Checksum value '%{value}' is not a valid checksum type %{checksum}"
|
@@ -7894,7 +7900,7 @@ msgstr "無効なtidyサイズ%{age}"
|
|
7894
7900
|
#. TRANSLATORS "Tidy" is a program name and should not be translated
|
7895
7901
|
#: ../lib/puppet/type/tidy.rb:264
|
7896
7902
|
msgid "Tidying %{count} files"
|
7897
|
-
msgstr "%{count}
|
7903
|
+
msgstr "%{count}ファイルをTidyしています。"
|
7898
7904
|
|
7899
7905
|
#: ../lib/puppet/type/tidy.rb:328
|
7900
7906
|
msgid "File does not exist"
|