Add a test function to return facter data about a host

This commit is contained in:
Thomas S Hatch 2011-03-15 23:44:53 -06:00
parent f13018f774
commit 8fd4aabb49

View file

@ -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