Skip to content

Commit db291f9

Browse files
committed
One more change
Signed-off-by: Ian Maddaus <[email protected]>
1 parent 54dfb2b commit db291f9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

content/recipes_json_yaml.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,13 +371,14 @@ resources:
371371
Ruby blocks aren't supported:
372372

373373
```yaml
374+
# ❌ Cannot be expressed in YAML - Ruby blocks not supported
374375
resources:
375376
- type: "directory"
376377
name: "/var/www/html"
377378
only_if: "{ ::File.exist?('/usr/sbin/apache2') }"
378379
```
379380

380-
## Convert a JSON or YAML recipe to Ruby
381+
## Convert a YAML recipe to Ruby
381382

382383
Use the `knife yaml convert` command to convert YAML recipes to Ruby:
383384

0 commit comments

Comments
 (0)