You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/custom_resource_glossary.md
+4-1Lines changed: 4 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,8 +133,12 @@ Chef Infra Client will only update the property values that require
133
133
updates and will not make changes when the property values are already
134
134
in the desired state.
135
135
136
+
<!-- markdownlint-disable MD026 -->
137
+
136
138
## current_value_does_not_exist!
137
139
140
+
<!-- markdownlint-enable MD026 -->
141
+
138
142
When using the `load_current_value` block, use `current_value_does_not_exist!` to indicate that the value does not exist and that `current_resource` should therefore be `nil`.
139
143
140
144
```ruby
@@ -400,7 +404,6 @@ where:
400
404
401
405
Correctly use the properties of the __execute__ resource and not the identically-named override properties of the custom resource.
402
406
403
-
404
407
## partial
405
408
406
409
To DRY (don't repeat yourself) up code, custom resources can include partials from common files.
0 commit comments