mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Adding some default outputters for the test module
This commit is contained in:
parent
bd985555df
commit
69e2d12a67
@ -7,12 +7,19 @@ import time
|
||||
|
||||
# Load in default options for the module
|
||||
__opts__ = {
|
||||
'test.foo': 'foo'
|
||||
}
|
||||
'test.foo': 'foo'
|
||||
}
|
||||
# Load the outputters for the module
|
||||
__outputter__ = {
|
||||
'outputter': 'txt'
|
||||
}
|
||||
'echo': 'txt',
|
||||
'ping': 'txt',
|
||||
'fib': 'yaml',
|
||||
'version': 'txt',
|
||||
'collatz': 'yaml',
|
||||
'conf_test': 'txt',
|
||||
'get_opts': 'yaml',
|
||||
'outputter': 'txt',
|
||||
}
|
||||
|
||||
|
||||
def echo(text):
|
||||
|
Loading…
Reference in New Issue
Block a user