Installation¶
Install into the same Python environment Salt uses.
salt-pip install saltext-vcf
pip install saltext-vcf
Install saltext-vcf:
pip.installed:
- name: saltext-vcf
Saltexts are not distributed via the fileserver. Install on every node that needs the modules.
Extras¶
Base install pulls pyvmomi (SOAP/VMODL) and pywbem (CIM/WBEM).
Extra |
Adds |
|---|---|
|
|
|
|
|
|
pip install 'saltext-vcf[vks]'
Verify¶
salt-call --local sys.list_modules | grep vcf_
salt-call --local sys.list_states | grep vcf_
Expect ~80 modules and ~27 states. If empty, the install landed in a different Python than Salt’s:
salt-call --local config.get pip_target
salt-call --local sys.doc vcf_vcenter_cluster
Salt version¶
Targets Salt 3006+. The saltext.vcf.resources subpackage requires
salt.utils.resources; on builds without it, __virtual__ returns
False and the resources framework integration is unavailable. The
flat-pillar path still works.