Skip to content

Commit 587617c

Browse files
Merge pull request #33 from puppetlabs/davidsandilands-patch-1
Update README.md to include sensitive function
2 parents 8532f22 + f9f62f3 commit 587617c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,11 @@ be translated to `undef` when compiling. For example:
617617
let(:params) { {'user' => :undef, ...} }
618618
```
619619

620+
For passing a sensitive value you can use the sensitive function with a value in brackets. For example
621+
```ruby
622+
let(:params) { {'password' =>sensitive('secret') } }
623+
```
624+
620625
For references to nodes or resources as seen when using `require` or `before` properties,
621626
or an `application` resource you can pass the string as an argument to the `ref` helper:
622627

0 commit comments

Comments
 (0)