Simple module for creating temporary directories and files
This is a thin wrapper around Pythons tempfile module
New in version 2015.8.0.
Create a temporary directory
CLI Example:
salt '*' temp.dir
salt '*' temp.dir prefix='mytemp-' parent='/var/run/'
Create a temporary file
CLI Example:
salt '*' temp.file
salt '*' temp.file prefix='mytemp-' parent='/var/run/'
Generated on June 12, 2025 at 19:42:51 UTC.
You are viewing docs for the latest stable release, 3007.4. Switch to docs for the previous stable release, 3006.12, or to a recent doc build from the master branch.
© 2025 VMware, Inc. | Privacy Policy