vcf_vim_datastore_file¶
State module for datastore files + directories.
- saltext.vcf.states.vcf_vim_datastore_file.file_present(name, datacenter, datastore, ds_path, source, profile=None)[source]¶
Ensure
[datastore] ds_pathexists, uploading from source if missing.Existence check is a simple listing of the parent dir; the file is considered “present” if the basename appears. Content drift is NOT checked — this state is for one-shot ISO/template upload.