Skip to content

Commit

Permalink
secret(): Use proper puppet-strings annotation (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak authored Jul 18, 2024
1 parent aab331e commit 8fac2f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ This function encrypts a string on the server, and then decrypts it on the agent

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

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

Returns: `Deferred`

Expand Down
2 changes: 1 addition & 1 deletion functions/secret.pp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This function encrypts a string on the server, and then decrypts it on the agent during catalog application.
# @summary This function encrypts a string on the server, and then decrypts it on the agent during catalog application.
function node_encrypt::secret(Variant[String, Sensitive[String]] $data) >> Deferred {
Deferred('node_decrypt', [node_encrypt($data)])
}

0 comments on commit 8fac2f4

Please sign in to comment.