diff options
author | Bryan Jen <bryan.jen@gmail.com> | 2015-12-10 11:54:10 -0700 |
---|---|---|
committer | Bryan Jen <bryan.jen@gmail.com> | 2015-12-10 11:54:10 -0700 |
commit | 93600e45b006eeebfa012b4f8ffd7ca31643d330 (patch) | |
tree | 8ad6625ced8bca2334583af6cdce70579f809476 /README.markdown | |
parent | 7a745deec698b16a0702d00798dc30dd6c685312 (diff) | |
parent | 8aecd63378f6dc3aeafe71d91212f613aa0bb829 (diff) |
Merge pull request #554 from kjetilho/ticket/2886-seeded_rand
(#2886) seeded_rand: new function
Diffstat (limited to 'README.markdown')
-rw-r--r-- | README.markdown | 6 |
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. |