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 November 28, 2023 at 04:02:42 UTC.
You are viewing docs built from a recent snapshot of the master branch. Switch to docs for the latest stable release, 3006.4.
© 2023 VMware, Inc. | Privacy Policy