summaryrefslogtreecommitdiff
path: root/README.markdown
diff options
context:
space:
mode:
authorKjetil Torgrim Homme <kjetil.homme@redpill-linpro.com>2015-12-08 14:59:12 +0100
committerKjetil Torgrim Homme <kjetil.homme@redpill-linpro.com>2015-12-08 14:59:12 +0100
commit8aecd63378f6dc3aeafe71d91212f613aa0bb829 (patch)
treea210a8cf584f4dda07065823db6c9a27b919e939 /README.markdown
parent88a9a314c3e9cccbea5add95081655f2c14ec4c1 (diff)
downloadpuppet-stdlib-8aecd63378f6dc3aeafe71d91212f613aa0bb829.tar.gz
puppet-stdlib-8aecd63378f6dc3aeafe71d91212f613aa0bb829.tar.bz2
(#2886) seeded_rand: new function
seeded_rand is needed for repeatable randomness across nodes in a cluster
Diffstat (limited to 'README.markdown')
-rw-r--r--README.markdown6
1 files changed, 6 insertions, 0 deletions
diff --git a/README.markdown b/README.markdown
index 526b573..9348a3a 100644
--- a/README.markdown
+++ b/README.markdown
@@ -697,6 +697,12 @@ Reverses the order of a string or array. *Type*: rvalue.
Strips spaces to the right of the string. *Type*: rvalue.
+#### `seeded_rand`
+
+Takes an integer max value and a string seed value and returns a
+repeatable random integer smaller than max. Like `fqdn_rand`, but
+this does not add node specific data to the seed. *Type*: rvalue.
+
#### `shuffle`
Randomizes the order of a string or array elements. *Type*: rvalue.