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_path exists, 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.

saltext.vcf.states.vcf_vim_datastore_file.file_absent(name, datacenter, datastore, ds_path, profile=None)[source]

Ensure [datastore] ds_path does not exist.

saltext.vcf.states.vcf_vim_datastore_file.directory_present(name, datacenter, datastore, ds_path, profile=None)[source]

Ensure directory [datastore] ds_path exists (mkdir -p).