Module for using the locate utilities
salt.modules.locate.
locate
(pattern, database='', limit=0, **kwargs)Performs a file lookup. Valid options (and their defaults) are:
basename=False
count=False
existing=False
follow=True
ignore=False
nofollow=False
wholename=True
regex=False
database=<locate's default database>
limit=<integer, not set by default>
See the manpage for locate(1)
for further explanation of these options.
CLI Example:
salt '*' locate.locate
netapi
modules