mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
commit
dbb794e8bb
@ -705,6 +705,8 @@ def shell(cmd,
|
||||
'''
|
||||
Execute the passed command and return the output as a string.
|
||||
|
||||
.. versionadded:: 2015.2.0
|
||||
|
||||
************************************************************
|
||||
WARNING: This passes the cmd argument directly to the shell
|
||||
without any further processing! Be absolutely sure that you
|
||||
@ -1571,6 +1573,8 @@ def shells():
|
||||
'''
|
||||
Lists the valid shells on this system via the /etc/shells file
|
||||
|
||||
.. versionadded:: 2015.2.0
|
||||
|
||||
CLI Example::
|
||||
|
||||
salt '*' cmd.shells
|
||||
|
Loading…
Reference in New Issue
Block a user