mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #24498 from rallytime/fix_doc_failure_fifteen
Added "CLI Example" to make failing test happy on 2015.5
This commit is contained in:
commit
3173fd17ad
1 changed files with 4 additions and 2 deletions
|
@ -123,16 +123,18 @@ def shadow_hash(crypt_salt=None, password=None, algorithm='sha512'):
|
|||
|
||||
def rand_int(start=1, end=10):
|
||||
'''
|
||||
.. versionadded: 2015.5.3
|
||||
|
||||
Returns a random integer number between the start and end number.
|
||||
|
||||
.. versionadded: 2015.5.3
|
||||
|
||||
start : 1
|
||||
Any valid integer number
|
||||
|
||||
end : 10
|
||||
Any valid integer number
|
||||
|
||||
CLI Example:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
salt '*' random.rand_int 1 10
|
||||
|
|
Loading…
Add table
Reference in a new issue