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.
Sub-component extras¶
The base install ships the Salt loader wiring and REST plumbing only.
Every third-party runtime dep (pyvmomi, pywbem, the VMware SDKs,
kubernetes) is opt-in via a pip extra. Modules whose deps are missing
return __virtual__ = False and are silently skipped by the loader —
install just the components you use, or use [all] for the pre-split
default.
Extra |
Adds |
Enables |
|---|---|---|
|
|
Standalone ESXi ( |
|
|
vCenter REST + SOAP ( |
|
— (uses |
NSX Policy + Management API ( |
|
|
SDDC Manager ( |
|
— (uses |
VCF Operations ( |
|
— (uses |
VCF Automation ( |
|
|
VCF Installer OVA deploy ( |
|
|
VKS Supervisor kubeconfig bridge |
|
Every runtime extra above |
Matches the pre-split default install |
pip install 'saltext-vcf[vcenter,nsx]'
pip install 'saltext-vcf[all]'
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.