mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Doc fix. Fixes #26656
This commit is contained in:
parent
6bd3dccae8
commit
26be189689
1 changed files with 3 additions and 3 deletions
|
@ -40,8 +40,8 @@ def show_top(minion=None, saltenv='base'):
|
|||
def show_pillar(minion='*', **kwargs):
|
||||
'''
|
||||
Returns the compiled pillar either of a specific minion
|
||||
or just the global available pillars. I assume that no minion
|
||||
is using the id ``*``.
|
||||
or just the global available pillars. This function assumes
|
||||
that no minion has the id ``*``.
|
||||
|
||||
CLI Example:
|
||||
|
||||
|
@ -72,7 +72,7 @@ def show_pillar(minion='*', **kwargs):
|
|||
opts = salt.config.master_config('/etc/salt/master')
|
||||
runner = salt.runner.RunnerClient(opts)
|
||||
pillar = runner.cmd('pillar.show_pillar', [])
|
||||
print pillar¬
|
||||
print(pillar)
|
||||
'''
|
||||
|
||||
saltenv = 'base'
|
||||
|
|
Loading…
Add table
Reference in a new issue