chef-apply 0.1.21 → 0.1.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8086d987312367597bbad62738f67c8b8595b44b62514e1b4e1c8526ef417c72
4
- data.tar.gz: 9bab05e2fa8aeb213a120cb26bb8e822025f0a339cffced136dde7a38a8bc142
3
+ metadata.gz: 9585bac17ec6d3a5ef838817d52533a51ac690f37bcc9b0019558f340fc4c039
4
+ data.tar.gz: 9aeb4c91c02ea9cdb2ed72a036be32a8063c58c23d3c964903c163fbc40dfed2
5
5
  SHA512:
6
- metadata.gz: b3e55c36d4fe20ae7e91a47332380d65fc70956c9d97d2edb602130c72889d91bad321faddd0316f26882b83e81a6edbd8fed62c1bc0333265bd9b984286279a
7
- data.tar.gz: 3a07a9aa07e46c6aca8e49bab6b4e4e856173b9187c049f89154d411ea2f26da96d59d88604b0aab227527a3f80d5757527758cb409f4a0e4d3a77ab1a4edc5d
6
+ metadata.gz: 20ea4acef96819ad0f5029a0e67ad450959489c28c82e7fc84110dd9313c2459ff7f2a7a3123acf9f4fc9d8de2da3b0da01f3f1af52c0dbeab4228f43e4beb8f
7
+ data.tar.gz: 0feed49433be237e3b939f6e473747995f2775ce2c4f60d2e0c4cf61cf2541193f4e0156c98adf2ea55bffd110cbd6490e32d9ff0f1fba85c1b81b16f8a3d7ca
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- chef-apply (0.1.21)
4
+ chef-apply (0.1.27)
5
5
  chef (>= 14.0)
6
6
  chef-dk (>= 3.0)
7
7
  chef-telemetry
@@ -21,15 +21,17 @@ GEM
21
21
  addressable (2.5.2)
22
22
  public_suffix (>= 2.0.2, < 4.0)
23
23
  ast (2.4.0)
24
- aws-sdk (2.11.104)
25
- aws-sdk-resources (= 2.11.104)
26
- aws-sdk-core (2.11.104)
24
+ aws-sdk (2.11.134)
25
+ aws-sdk-resources (= 2.11.134)
26
+ aws-sdk-core (2.11.134)
27
27
  aws-sigv4 (~> 1.0)
28
28
  jmespath (~> 1.0)
29
- aws-sdk-resources (2.11.104)
30
- aws-sdk-core (= 2.11.104)
29
+ aws-sdk-resources (2.11.134)
30
+ aws-sdk-core (= 2.11.134)
31
31
  aws-sigv4 (1.0.3)
32
- azure_mgmt_resources (0.17.0)
32
+ azure_graph_rbac (0.17.0)
33
+ ms_rest_azure (~> 0.11.0)
34
+ azure_mgmt_resources (0.17.1)
33
35
  ms_rest_azure (~> 0.11.0)
34
36
  binding_of_caller (0.8.0)
35
37
  debug_inspector (>= 0.0.1)
@@ -72,7 +74,7 @@ GEM
72
74
  mixlib-config (>= 2.2.12, < 3.0)
73
75
  mixlib-shellout (~> 2.0)
74
76
  tomlrb (~> 1.2)
75
- chef-dk (3.1.0)
77
+ chef-dk (3.2.30)
76
78
  addressable (>= 2.3.5, < 2.6)
77
79
  chef (~> 14.0)
78
80
  chef-provisioning (~> 2.0)
@@ -84,7 +86,7 @@ GEM
84
86
  mixlib-shellout (~> 2.0)
85
87
  paint (~> 1.0)
86
88
  solve (> 2.0, < 5.0)
87
- chef-provisioning (2.7.1)
89
+ chef-provisioning (2.7.2)
88
90
  cheffish (>= 4.0, < 15.0)
89
91
  inifile (>= 2.0.2)
90
92
  mixlib-install (>= 1.0)
@@ -128,7 +130,7 @@ GEM
128
130
  equatable (0.5.0)
129
131
  erubis (2.7.0)
130
132
  excon (0.62.0)
131
- faraday (0.15.2)
133
+ faraday (0.15.3)
132
134
  multipart-post (>= 1.2, < 3)
133
135
  faraday-cookie_jar (0.0.6)
134
136
  faraday (>= 0.7.4)
@@ -144,7 +146,7 @@ GEM
144
146
  mime-types (~> 3.0)
145
147
  representable (~> 3.0)
146
148
  retriable (>= 2.0, < 4.0)
147
- googleauth (0.6.4)
149
+ googleauth (0.6.6)
148
150
  faraday (~> 0.12)
149
151
  jwt (>= 1.4, < 3.0)
150
152
  memoist (~> 0.12)
@@ -155,7 +157,7 @@ GEM
155
157
  ffi (>= 1.0.1)
156
158
  gyoku (1.3.1)
157
159
  builder (>= 2.1.2)
158
- hashie (3.5.7)
160
+ hashie (3.6.0)
159
161
  highline (1.7.10)
160
162
  http (2.2.2)
161
163
  addressable (~> 2.3)
@@ -181,11 +183,11 @@ GEM
181
183
  multi_json (~> 1.10)
182
184
  memoist (0.16.0)
183
185
  method_source (0.9.0)
184
- mime-types (3.1)
186
+ mime-types (3.2.2)
185
187
  mime-types-data (~> 3.2015)
186
- mime-types-data (3.2016.0521)
188
+ mime-types-data (3.2018.0812)
187
189
  minitar (0.6.1)
188
- mixlib-archive (0.4.13)
190
+ mixlib-archive (0.4.16)
189
191
  mixlib-log
190
192
  mixlib-authentication (2.1.1)
191
193
  mixlib-cli (1.7.0)
@@ -222,7 +224,7 @@ GEM
222
224
  net-ssh-gateway (>= 1.2.0)
223
225
  net-telnet (0.2.0)
224
226
  nori (2.6.0)
225
- ohai (14.4.0)
227
+ ohai (14.5.4)
226
228
  chef-config (>= 12.8, < 15)
227
229
  ffi (~> 1.9)
228
230
  ffi-yajl (~> 2.2)
@@ -254,10 +256,10 @@ GEM
254
256
  pry-stack_explorer (0.4.9.2)
255
257
  binding_of_caller (>= 0.7)
256
258
  pry (>= 0.9.11)
257
- public_suffix (3.0.2)
258
- r18n-core (3.0.5)
259
- r18n-desktop (3.0.5)
260
- r18n-core (= 3.0.5)
259
+ public_suffix (3.0.3)
260
+ r18n-core (3.1.2)
261
+ r18n-desktop (3.1.2)
262
+ r18n-core (= 3.1.2)
261
263
  rack (2.0.5)
262
264
  rainbow (3.0.0)
263
265
  rake (12.3.1)
@@ -294,7 +296,7 @@ GEM
294
296
  unicode-display_width (~> 1.0, >= 1.0.1)
295
297
  ruby-progressbar (1.9.0)
296
298
  rubyntlm (0.6.2)
297
- rubyzip (1.2.1)
299
+ rubyzip (1.2.2)
298
300
  semverse (2.0.0)
299
301
  serverspec (2.41.3)
300
302
  multi_json
@@ -302,7 +304,7 @@ GEM
302
304
  rspec-its
303
305
  specinfra (~> 2.72)
304
306
  sfl (2.3)
305
- signet (0.8.1)
307
+ signet (0.9.2)
306
308
  addressable (~> 2.3)
307
309
  faraday (~> 0.9)
308
310
  jwt (>= 1.5, < 3.0)
@@ -315,7 +317,7 @@ GEM
315
317
  solve (4.0.0)
316
318
  molinillo (~> 0.6)
317
319
  semverse (>= 1.1, < 3.0)
318
- specinfra (2.75.1)
320
+ specinfra (2.76.1)
319
321
  net-scp
320
322
  net-ssh (>= 2.7)
321
323
  net-telnet
@@ -324,11 +326,12 @@ GEM
324
326
  systemu (2.6.5)
325
327
  thor (0.20.0)
326
328
  timeliness (0.3.8)
327
- toml-rb (1.1.1)
329
+ toml-rb (1.1.2)
328
330
  citrus (~> 3.0, > 3.0)
329
331
  tomlrb (1.2.7)
330
- train (1.4.25)
332
+ train (1.4.37)
331
333
  aws-sdk (~> 2)
334
+ azure_graph_rbac (~> 0.16)
332
335
  azure_mgmt_resources (~> 0.15)
333
336
  docker-api (~> 1.26)
334
337
  google-api-client (~> 0.19.8)
@@ -337,7 +340,7 @@ GEM
337
340
  json (>= 1.8, < 3.0)
338
341
  mixlib-shellout (~> 2.0)
339
342
  net-scp (~> 1.2)
340
- net-ssh (>= 2.9, < 5.0)
343
+ net-ssh (>= 2.9, < 6.0)
341
344
  winrm (~> 2.0)
342
345
  winrm-fs (~> 1.0)
343
346
  tty-color (0.4.3)
@@ -362,7 +365,7 @@ GEM
362
365
  winrm-elevated (1.1.0)
363
366
  winrm (~> 2.0)
364
367
  winrm-fs (~> 1.0)
365
- winrm-fs (1.2.1)
368
+ winrm-fs (1.3.0)
366
369
  erubis (~> 2.7)
367
370
  logging (>= 1.6.1, < 3.0)
368
371
  rubyzip (~> 1.1)
@@ -385,4 +388,4 @@ DEPENDENCIES
385
388
  simplecov
386
389
 
387
390
  BUNDLED WITH
388
- 1.16.3
391
+ 1.16.5
@@ -149,6 +149,17 @@ cli:
149
149
  Please verify that the configuration file is correct. If the
150
150
  problem continues, contact beta@chef.io for further assistance.
151
151
 
152
+ unsupported_installation: |
153
+
154
+ Use of chef-run within ChefDK is not supported.
155
+
156
+ Chef Workstation is the successor to the ChefDK, and contains the
157
+ same components including a supported chef-run.
158
+
159
+ Download the latest here:
160
+
161
+ https://downloads.chef.io/chef-workstation/stable
162
+
152
163
  version:
153
164
  description: Show the current version of Chef Run.
154
165
  show: "chef-run: %1"
@@ -1,15 +1,66 @@
1
+ #
2
+ # Copyright:: Copyright (c) 2018 Chef Software Inc.
3
+ # License:: Apache License, Version 2.0
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+ #
1
17
  # Error definitions, usage Text.e.ERR999
18
+ #
2
19
  # General format:
20
+ # ERRORID
21
+ # display: optional hash of display options. See display_defaults below.
22
+ # text: |
23
+ # text of the message
24
+ #
3
25
  # First Line: brief description of the error
4
26
  # Second line: blank
5
27
  # Third+ : detailed description, max 76 characters per line
28
+
29
+ # Pluralizing Messages
30
+ # If the text of an error differs based on quantity of subject,
31
+ # you can specify different messages as follows:
32
+ # ERRORID
33
+ # text: !!pl
34
+ # 0: You have no things.
35
+ # 1: You have one thing.
36
+ # n: You have lots of things.
37
+ # Text.ERRORID(quanity, [other formatting params])
38
+
6
39
  errors:
7
- rendering_defaults: {header: true, footer: true, stack: true, log: true}
40
+ # These are the default display attributes for all messages.
41
+ # If you want to override them for specific errors,
42
+ # you can do so as follows:
43
+ # EXAMPLERROR001:
44
+ # display: { decorations: false }
45
+ # text: |
46
+ # Here is the message text.
47
+ display_defaults:
48
+ # Set 'decorations: false' in a message to show only text. Equivalent
49
+ # to setting all of the other attributes to false individually
50
+ decorations: true
51
+ stack: false # show reference to stack trace location in footer
52
+ log: false # show reference to log file location in footer
53
+ header: true # Show error header (currently bolded error id)
54
+ footer: true # show standard footer
55
+
8
56
  # Catch-all for the worst case
9
- UNKNOWN: An unknown error has occurred.
57
+ UNKNOWN:
58
+ display: { stack: true, log: true }
59
+ text: An unknown error has occurred.
10
60
 
11
61
  # Installer action errors
12
62
  CHEFINS002:
63
+ text: |
13
64
  The target does not have chef-client installed.
14
65
 
15
66
  This command is powered by the Chef client. In order to make use of it
@@ -30,291 +81,355 @@ errors:
30
81
  Version %1 is installed, but this command requires a
31
82
  minimum version of %2.
32
83
 
33
- # Local errors trying to create policy to send to target
34
- CHEFPOLICY001: |
35
- Could not create local Policyfile bundle.
84
+ CHEFINS003:
85
+ text: |
86
+ The target has an older version of Chef client installed.
36
87
 
37
- The following error was reported:
88
+ The target has version %1 installed, but this command
89
+ requires a minimum version of %2.
38
90
 
39
- %1
91
+ Please upgrade the Chef client on this node to version %2 or later.
92
+
93
+ # Local errors trying to create policy to send to target
94
+ CHEFPOLICY001:
95
+ display: { stack: true, log: true }
96
+ text: |
97
+ Could not create local Policyfile bundle.
98
+
99
+ The following error was reported:
100
+
101
+ %1
40
102
 
41
- # Remote execution and file operation errors are prefixed CHEFRMT
42
- CHEFRMT001: |
43
- The command '%1' exited with return code '%2' on '%3'.
103
+ # Remote execution and file operation errors are prefixed CHEFRMT
104
+ CHEFRMT001:
105
+ text: |
106
+ The command '%1' exited with return code '%2' on '%3'.
44
107
 
45
- The following error was reported:
108
+ The following error was reported:
46
109
 
47
110
  %4
48
111
 
49
112
  # Remote chef client run failure start here.
50
- CHEFCCR001: |
51
- Could not determine reason for converge failure.
113
+ CHEFCCR001:
114
+ text: |
115
+ Could not determine reason for converge failure.
52
116
 
53
- STDOUT (may be blank)
117
+ STDOUT (may be blank)
54
118
 
55
- %1
119
+ %1
56
120
 
57
- STDERR (may be blank)
121
+ STDERR (may be blank)
58
122
 
59
- %2
123
+ %2
60
124
 
61
- An error occurred while converging the remote host.
62
- I was unable to retrieve the log file which would allow
63
- me to provide more information. Above is the output
64
- that occurred while trying to retrieve the remote log file.
125
+ An error occurred while converging the remote host.
126
+ I was unable to retrieve the log file which would allow
127
+ me to provide more information. Above is the output
128
+ that occurred while trying to retrieve the remote log file.
65
129
 
66
- CHEFCCR002: |
67
- The converge of the remote host failed for the
68
- following reason:
130
+ CHEFCCR002:
131
+ text: |
132
+ The converge of the remote host failed for the
133
+ following reason:
69
134
 
70
- %1
135
+ %1
71
136
 
72
- CHEFCCR003: |
73
- The action '%1' is not valid.
137
+ CHEFCCR003:
138
+ text: |
139
+ The action '%1' is not valid.
74
140
 
75
- Valid actions are:
141
+ Valid actions are:
76
142
 
77
- %2
143
+ %2
78
144
 
79
- For more information, please consult the documentation
80
- for this resource:
145
+ For more information, please consult the documentation
146
+ for this resource:
81
147
 
82
- https://docs.chef.io/resource_reference.html
148
+ https://docs.chef.io/resource_reference.html
83
149
 
84
- CHEFCCR004: |
85
- A property value you provided is not valid:
150
+ CHEFCCR004:
151
+ text: |
152
+ A property value you provided is not valid:
86
153
 
87
- %1
154
+ %1
88
155
 
89
- Please consult the documentation for properties
90
- supported by your resource and their valid values:
156
+ Please consult the documentation for properties
157
+ supported by your resource and their valid values:
91
158
 
92
- https://docs.chef.io/resource_reference.html
159
+ https://docs.chef.io/resource_reference.html
93
160
 
94
- CHEFCCR005: |
95
- '%1' is not a valid Chef resource.
161
+ CHEFCCR005:
162
+ text: |
163
+ '%1' is not a valid Chef resource.
96
164
 
97
- Please consult the documentation for a list of valid resources:
165
+ Please consult the documentation for a list of valid resources:
98
166
 
99
- https://docs.chef.io/resource_reference.html
167
+ https://docs.chef.io/resource_reference.html
100
168
 
101
- CHEFCCR006: |
102
- '%1' is not a property of '%2'.
169
+ CHEFCCR006:
170
+ text: |
171
+ '%1' is not a property of '%2'.
103
172
 
104
- Please consult the documentation for %2 for a list of
105
- valid properties:
173
+ Please consult the documentation for %2 for a list of
174
+ valid properties:
106
175
 
107
- https://docs.chef.io/resource_reference.html
176
+ https://docs.chef.io/resource_reference.html
108
177
 
109
- CHEFCCR099: |
110
- The converge of the remote host failed.
178
+ CHEFCCR099:
179
+ text: |
180
+ The converge of the remote host failed.
111
181
 
112
- Please examine the log file for a detailed cause of failure.
182
+ Please examine the log file for a detailed cause of failure.
113
183
 
114
184
  # Train-related errors (connectivy, auth failure, etc)
115
185
  # are prefixed CHEFTRN. Non-specific descendants of Train::Error
116
186
  # will resolve to CHEFTRN001, and we can add additional
117
187
  # more specific text as we need it.
118
- CHEFTRN001: |
119
- An error has occurred on the %1 connection to %2:
188
+ CHEFTRN001:
189
+ text: |
190
+ An error has occurred on the %1 connection to %2:
120
191
 
121
- %2.
192
+ %2.
122
193
 
123
- CHEFTRN002: |
124
- An remote error has occurred:
194
+ CHEFTRN002:
195
+ text: |
196
+ An remote error has occurred:
125
197
 
126
- %1.
198
+ %1.
127
199
 
128
- CHEFTRN003: |
129
- Password required for sudo.
200
+ CHEFTRN003:
201
+ text: |
202
+ Password required for sudo.
130
203
 
131
- This target requires a password to perform sudo operations. Please provide a
132
- password using the --sudo-password option. For example if the sudo password is
133
- in the environment variable $CHEF_RUN_SUDO_PASSWORD, you could use:
204
+ This target requires a password to perform sudo operations. Please provide a
205
+ password using the --sudo-password option. For example if the sudo password is
206
+ in the environment variable $CHEF_RUN_SUDO_PASSWORD, you could use:
134
207
 
135
- --sudo-password $CHEF_RUN_SUDO_PASSWORD
208
+ --sudo-password $CHEF_RUN_SUDO_PASSWORD
136
209
 
137
- CHEFTRN004: |
138
- Incorrect sudo password provided.
210
+ CHEFTRN004:
211
+ text: |
212
+ Incorrect sudo password provided.
139
213
 
140
- Please ensure that the password you provided with "--sudo-password" is correct.
214
+ Please ensure that the password you provided with "--sudo-password" is correct.
141
215
 
142
- CHEFTRN005: |
143
- sudo command '%1' not found.
216
+ CHEFTRN005:
217
+ text: |
218
+ sudo command '%1' not found.
144
219
 
145
- Please verify that the --sudo-command '%1' is valid
146
- and installed on this node.
220
+ Please verify that the --sudo-command '%1' is valid
221
+ and installed on this node.
147
222
 
148
- CHEFTRN006: |
149
- sudo requires tty on this system
223
+ CHEFTRN006:
224
+ text: |
225
+ sudo requires tty on this system
150
226
 
151
- In order to continue, sudo must be configured to no longer require tty.
152
- You can do this by modifying /etc/sudoers:
227
+ In order to continue, sudo must be configured to no longer require tty.
228
+ You can do this by modifying /etc/sudoers:
153
229
 
154
- For all users:
155
- Defaults !requiretty
230
+ For all users:
231
+ Defaults !requiretty
156
232
 
157
- Per-user:
158
- Defaults:username !requiretty
233
+ Per-user:
234
+ Defaults:username !requiretty
159
235
 
160
- CHEFTRN007: |
161
- No authentication methods available.
236
+ CHEFTRN007:
237
+ text: |
238
+ No authentication methods available.
162
239
 
163
- Try...
164
- - Provide a password with "--password PASSWORD"
165
- - Provide a key with "-identity-file PATH/TO/FILE"
166
- - Enable ssh-agent and add keys
167
- - Add a host entry to your ssh configuration
240
+ Try...
241
+ - Provide a password with "--password PASSWORD"
242
+ - Provide a key with "-identity-file PATH/TO/FILE"
243
+ - Enable ssh-agent and add keys
244
+ - Add a host entry to your ssh configuration
168
245
 
169
- Additional instructions can be found in the troubleshooting documentation:
246
+ Additional instructions can be found in the troubleshooting documentation:
170
247
 
171
- https://www.chef.sh/docs/chef-workstation/troubleshooting/#error-code-cheftrn007
248
+ https://www.chef.sh/docs/chef-workstation/troubleshooting/#error-code-cheftrn007
172
249
 
173
- CHEFTRN999: |
174
- Connection failed: %1
250
+ CHEFTRN999:
251
+ text: |
252
+ Connection failed: %1
175
253
 
176
- The following error occured while attempting to connect and authenticate to the target.
254
+ The following error occured while attempting to connect and authenticate to the target.
177
255
 
178
- %1
256
+ %1
179
257
 
180
258
  # CLI argument validation errors
181
- CHEFVAL002: |
182
- You must supply <TARGET[S]> and either <RESOURCE> and <RESOURCE_NAME> or <RECIPE>
259
+ CHEFVAL002:
260
+ display: { decorations: false }
261
+ text: |
262
+ You must supply <TARGET[S]> and either <RESOURCE> and <RESOURCE_NAME> or <RECIPE>
183
263
 
184
- CHEFVAL003: |
185
- Property '%1' did not match the 'key=value' syntax required
264
+ CHEFVAL003:
265
+ display: { decorations: false }
266
+ text: |
267
+ Property '%1' did not match the 'key=value' syntax required
186
268
 
187
- CHEFVAL004: |
188
- Please provide a recipe in the form 'path/to/recipe/file.rb',
189
- 'path/to/cookbook', 'cookbook_name' or 'cookbook_name::recipe_name'.
269
+ CHEFVAL004:
270
+ display: { decorations: false }
271
+ text: |
272
+ Please provide a recipe in the form 'path/to/recipe/file.rb',
273
+ 'path/to/cookbook', 'cookbook_name' or 'cookbook_name::recipe_name'.
190
274
 
191
- You provided '%1'.
275
+ You provided '%1'.
192
276
 
193
- CHEFVAL005: |
194
- The cookbook provided could not be loaded. Ensure it contains a valid
195
- 'metadata.rb'.
277
+ CHEFVAL005:
278
+ display: { decorations: false }
279
+ text: |
280
+ The cookbook provided could not be loaded. Ensure it contains a valid
281
+ 'metadata.rb'.
196
282
 
197
- Cookbook path is '%1'.
283
+ Cookbook path is '%1'.
198
284
 
199
- CHEFVAL006: |
200
- Cookbook '%1' could not be found in any of the following directories
285
+ CHEFVAL006:
286
+ display: { decorations: false }
287
+ text: |
288
+ Cookbook '%1' could not be found in any of the following directories
201
289
 
202
- %2
290
+ %2
203
291
 
204
- CHEFVAL007: |
205
- There is no default recipe in cookbook '%2'. Please provide the name of the recipe to run, for example:
206
- %2::some_recipe
292
+ CHEFVAL007:
293
+ display: { decorations: false }
294
+ text: |
295
+ There is no default recipe in cookbook '%2'. Please provide the name of the recipe to run, for example:
296
+ %2::some_recipe
207
297
 
208
- Cookbook path is '%1'.
298
+ Cookbook path is '%1'.
209
299
 
210
- CHEFVAL008: |
211
- There is no recipe named '%2' in the cookbook '%4', which I found at '%1'.
300
+ CHEFVAL008:
301
+ display: { decorations: false }
302
+ text: |
303
+ There is no recipe named '%2' in the cookbook '%4', which I found at '%1'.
212
304
 
213
- Please include the name of the recipe you wish to converge on the remote target.
305
+ Please include the name of the recipe you wish to converge on the remote target.
214
306
 
215
- These are the available recipes in '%4':
216
- %3
307
+ These are the available recipes in '%4':
308
+ %3
217
309
 
218
- CHEFVAL009: |
219
- File extension '%1' is unsupported. Currently recipes must be specified with a `.rb` extension.
310
+ CHEFVAL009:
311
+ display: { decorations: false }
312
+ text: |
313
+ File extension '%1' is unsupported. Currently recipes must be specified with a `.rb` extension.
220
314
 
221
- CHEFVAL010: |
222
- The flag '%1' does not exist.
315
+ CHEFVAL010:
316
+ display: { decorations: false }
317
+ text: |
318
+ The flag '%1' does not exist.
223
319
 
224
320
  Available flags are:
225
- %2
321
+ %2
226
322
 
227
- CHEFVAL011: |
228
- The protocol '%1' is not supported.
323
+ CHEFVAL011:
324
+ display: { decorations: false }
325
+ text: |
326
+ The protocol '%1' is not supported.
229
327
 
230
- Currently supported remote access protocols are:
328
+ Currently supported remote access protocols are:
231
329
 
232
- %2
330
+ %2
233
331
 
234
332
  # General errors/unknown errors are handled with CHEFINT
235
- CHEFINT001: |
236
- An unexpected error has occurred:
333
+ CHEFINT001:
334
+ display: { log: true, stack: true }
335
+ text: |
336
+ An unexpected error has occurred:
237
337
 
238
- %1
338
+ %1
239
339
 
240
340
  # Internal API errors - give them some formatting
241
- CHEFAPI001: |
242
- API error: provide either :recipe_spec or :resouce_name, :resource_type,
243
- and :resource_properties
341
+ CHEFAPI001:
342
+ display: { log: true, stack: true }
343
+ text: |
344
+ API error: provide either :recipe_spec or :resouce_name, :resource_type,
345
+ and :resource_properties
244
346
 
245
- You provided: %1
347
+ You provided: %1
246
348
 
247
349
 
248
350
  # Maps to: NameError
249
- CHEFNET001: |
250
- A network error occurred:
351
+ CHEFNET001:
352
+ text: |
353
+ A network error occurred:
251
354
 
252
- %1
355
+ %1
253
356
 
254
- Please verify the host name or address is correct and that the host is
255
- reachable before trying again.
357
+ Please verify the host name or address is correct and that the host is
358
+ reachable before trying again.
256
359
 
257
360
  # Remote chef client run failure start here.
258
- CHEFUPL003: |
259
- Uploading config to target failed.
361
+ CHEFUPL003:
362
+ display: { log: true, stack: true }
363
+ text: |
364
+ Uploading config to target failed.
260
365
 
261
- CHEFUPL004: |
262
- Uploading handler to target failed.
366
+ CHEFUPL004:
367
+ display: { log: true, stack: true }
368
+ text: |
369
+ Uploading handler to target failed.
263
370
 
264
- CHEFUPL005: |
265
- Uploading policy bundle to target failed.
371
+ CHEFUPL005:
372
+ display: { log: true, stack: true }
373
+ text: |
374
+ Uploading policy bundle to target failed.
266
375
 
267
376
  # Maps to: SSL::SSLError with message text indicating verification failure
268
- CHEFNET002: |
269
- SSL host verification failed.
377
+ CHEFNET002:
378
+ text: |
379
+ SSL host verification failed.
270
380
 
271
- I could not verify the identity of the remote host.
381
+ I could not verify the identity of the remote host.
272
382
 
273
- If you are certain that you are connecting to the correct host,
274
- you can specify the '--no-ssl-verify' option for this command, or
275
- make it the default by setting the following in your configuration:
383
+ If you are certain that you are connecting to the correct host,
384
+ you can specify the '--no-ssl-verify' option for this command, or
385
+ make it the default by setting the following in your configuration:
276
386
 
277
- [connection.winrm]
278
- ssl_verify=false
387
+ [connection.winrm]
388
+ ssl_verify=false
279
389
 
280
390
  # Errors specifying target ranges
281
391
  CHEFRANGE001: |
282
- The target '%1' contains an invalid range.
392
+ text: |
393
+ The target '%1' contains an invalid range.
283
394
 
284
- The range '%2' mixes alphabetic and numeric values.
285
- A range must be one or the other.
395
+ The range '%2' mixes alphabetic and numeric values.
396
+ A range must be one or the other.
286
397
 
287
398
  CHEFRANGE002:
288
- The target '%1' contains too many ranges.
399
+ text: |
400
+ The target '%1' contains too many ranges.
289
401
 
290
- A single target name can contain up two ranges.
402
+ A single target name can contain up two ranges.
291
403
 
292
- CHEFRANGE003: !!pl
293
- 1:
294
- The target provided resolves to too many hosts.
404
+ CHEFRANGE003:
405
+ text: !!pl
406
+ 1:
407
+ The target provided resolves to too many hosts.
295
408
 
296
- At this time there is a limit of %2 hosts in a single operation.
297
- n:
298
- The targets provided resolve to too many hosts.
409
+ At this time there is a limit of %2 hosts in a single operation.
410
+ n:
411
+ The targets provided resolve to too many hosts.
299
412
 
300
- At this time there is a limit of %2 hosts in a single operation.
413
+ At this time there is a limit of %2 hosts in a single operation.
301
414
 
302
415
  # Errors related to multi-target execution
303
- CHEFMULTI001: |
304
- One or more actions has failed.
416
+ CHEFMULTI001:
417
+ text: |
418
+ One or more actions has failed.
305
419
 
306
- A complete list of failures and possible resolutions can
307
- be found in the file below:
420
+ A complete list of failures and possible resolutions can
421
+ be found in the file below:
308
422
 
309
- %1
423
+ %1
310
424
 
311
425
  # Errors relating to target state:
312
- CHEFTARG001: |
313
- '%1' is not a supported target operating system at this time.
426
+ CHEFTARG001:
427
+ text: |
428
+ '%1' is not a supported target operating system at this time.
314
429
 
315
- We plan to support a range of target operating systems,
316
- but during this targeted beta we are constraining our efforts
317
- to Windows and Linux.
430
+ We plan to support a range of target operating systems,
431
+ but during this targeted beta we are constraining our efforts
432
+ to Windows and Linux.
318
433
 
319
434
 
320
435
  footer: