Skip to content

Instantly share code, notes, and snippets.

Created November 16, 2016 23:11
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save anonymous/d2b10906ef3530ba3d2f8ae237a3db4b to your computer and use it in GitHub Desktop.
{% set stackfile = salt['file.find']('/some/path/‘, name='stacktrace.log', type='f')| first %}
{% set somefile = salt['file.find']('/some/path/‘, name='some.log', type='f')| first %}
{% set anotherfile = salt['file.find']('/some/path/‘, name=‘another_log.log', type='f')| first %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment