mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
PEP8 E302 fixes in fileserver runner
This commit is contained in:
parent
b588245c1d
commit
aff73620bd
@ -6,6 +6,7 @@ Directly manage the Salt fileserver plugins
|
||||
# Import salt libs
|
||||
import salt.fileserver
|
||||
|
||||
|
||||
def dir_list(saltenv='base', outputter='raw'):
|
||||
'''
|
||||
List all directories in the given environment
|
||||
@ -25,6 +26,7 @@ def dir_list(saltenv='base', outputter='raw'):
|
||||
salt.output.display_output(output, outputter, opts=__opts__)
|
||||
return output
|
||||
|
||||
|
||||
def envs(back=None, sources=False, outputter='raw'):
|
||||
'''
|
||||
Return the environments for the named backend or all back-ends
|
||||
@ -44,6 +46,7 @@ def envs(back=None, sources=False, outputter='raw'):
|
||||
salt.output.display_output(output, outputter, opts=__opts__)
|
||||
return output
|
||||
|
||||
|
||||
def file_list(saltenv='base', outputter='raw'):
|
||||
'''
|
||||
Return a list of files from the dominant environment
|
||||
@ -63,6 +66,7 @@ def file_list(saltenv='base', outputter='raw'):
|
||||
salt.output.display_output(output, outputter, opts=__opts__)
|
||||
return output
|
||||
|
||||
|
||||
def symlink_list(saltenv='base', outputter='raw'):
|
||||
'''
|
||||
Return a list of symlinked files and dirs
|
||||
@ -82,6 +86,7 @@ def symlink_list(saltenv='base', outputter='raw'):
|
||||
salt.output.display_output(output, outputter, opts=__opts__)
|
||||
return output
|
||||
|
||||
|
||||
def update(back=None):
|
||||
'''
|
||||
Update all of the file-servers that support the update function or the
|
||||
|
Loading…
Reference in New Issue
Block a user