Skip to content

Commit a8bf616

Browse files
committed
secret(): Use proper puppet-strings anotation
1 parent aab331e commit a8bf616

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

REFERENCE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ This function encrypts a string on the server, and then decrypts it on the agent
143143

144144
#### `node_encrypt::secret(Variant[String, Sensitive[String]] $data)`
145145

146-
This function encrypts a string on the server, and then decrypts it on the agent during catalog application.
146+
The node_encrypt::secret function.
147147

148148
Returns: `Deferred`
149149

functions/secret.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This function encrypts a string on the server, and then decrypts it on the agent during catalog application.
1+
# @summary This function encrypts a string on the server, and then decrypts it on the agent during catalog application.
22
function node_encrypt::secret(Variant[String, Sensitive[String]] $data) >> Deferred {
33
Deferred('node_decrypt', [node_encrypt($data)])
44
}

0 commit comments

Comments
 (0)