summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/dev/design_documents/resource_file_content_verification.md11
1 files changed, 8 insertions, 3 deletions
diff --git a/docs/dev/design_documents/resource_file_content_verification.md b/docs/dev/design_documents/resource_file_content_verification.md
index f813e57c72..3df3083395 100644
--- a/docs/dev/design_documents/resource_file_content_verification.md
+++ b/docs/dev/design_documents/resource_file_content_verification.md
@@ -81,15 +81,20 @@ template "/etc/nginx.conf" do
end
```
-Chef may ship built-in verifiers for common checks, such as
-content-type verification. Built-in verifiers can be used by passing
-well-known symbols to the verify attribute:
+Chef ships built-in verifiers for common content-types such as
+`:systemd_unit`, `:yaml` and `:json`. Built-in verifiers can be
+used by passing well-known symbols to the verify attribute:
```ruby
template "/etc/config.json" do
verify :json
end
```
+```ruby
+template "/etc/config.yaml" do
+ verify :yaml
+end
+```
## Motivation