mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add a test function to return facter data about a host
This commit is contained in:
parent
f13018f774
commit
8fd4aabb49
1 changed files with 9 additions and 0 deletions
|
@ -21,3 +21,12 @@ def ping():
|
|||
salt '*' test.ping
|
||||
'''
|
||||
return True
|
||||
|
||||
def facter_data():
|
||||
'''
|
||||
Return the facter data
|
||||
|
||||
CLI Example:
|
||||
salt '*' test.facter_data
|
||||
'''
|
||||
return facter
|
||||
|
|
Loading…
Add table
Reference in a new issue