Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent source files in /tmp from being deleted by file.managed states #37023

Merged
merged 1 commit into from
Oct 16, 2016

Commits on Oct 14, 2016

  1. Prevent source files in /tmp from being deleted by file.managed states

    Due to how the ``__clean_tmp()`` function works, if you use a source
    file that is local to the minion but within the system's temp dir (e.g.
    /tmp/foo.txt), it will be removed by the file.managed state. This stops
    that by creating temp files with a specific prefix, and then only
    cleaning files that match that prefix.
    terminalmage committed Oct 14, 2016
    Configuration menu
    Copy the full SHA
    2bffb83 View commit details
    Browse the repository at this point in the history