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
Convert the function to the modern function API as a namespaced function
and use the `networking` fact instead of legacy facts.
A non-namespaced shim is also created (but marked deprecated),
to preserve compatibility.
Copy file name to clipboardExpand all lines: REFERENCE.md
+79-24Lines changed: 79 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -71,8 +71,7 @@ as a result.
71
71
*[`floor`](#floor): Returns the largest integer less or equal to the argument.
72
72
*[`fqdn_rand_string`](#fqdn_rand_string): Generates a random alphanumeric string. Combining the `$fqdn` fact and an
73
73
optional seed for repeatable randomness.
74
-
*[`fqdn_rotate`](#fqdn_rotate): Rotates an array or string a random number of times, combining the `$fqdn` fact
75
-
and an optional seed for repeatable randomness.
74
+
*[`fqdn_rotate`](#fqdn_rotate): DEPRECATED. Use the namespaced function [`stdlib::fqdn_rotate`](#stdlibfqdn_rotate) instead.
76
75
*[`fqdn_uuid`](#fqdn_uuid): Returns a [RFC 4122](https://tools.ietf.org/html/rfc4122) valid version 5 UUID based
77
76
on an FQDN string under the DNS namespace
78
77
*[`get_module_path`](#get_module_path): Returns the absolute path of the specified module for the current
@@ -179,6 +178,7 @@ the provided regular expression.
179
178
*[`stdlib::ensure`](#stdlib--ensure): function to cast ensure parameter to resource specific value
180
179
*[`stdlib::extname`](#stdlib--extname): Returns the Extension (the Portion of Filename in Path starting from the
181
180
last Period).
181
+
*[`stdlib::fqdn_rotate`](#stdlib--fqdn_rotate): Rotates an array or string a random number of times, combining the `fqdn` fact and an optional seed for repeatable randomness.
182
182
*[`stdlib::ip_in_range`](#stdlib--ip_in_range): Returns true if the ipaddress is within the given CIDRs
183
183
*[`stdlib::sha256`](#stdlib--sha256): Run a SHA256 calculation against a given value.
184
184
*[`stdlib::start_with`](#stdlib--start_with): Returns true if str starts with one of the prefixes given. Each of the prefixes should be a String.
0 commit comments