If you integrated SaltStack Config with vRealize Automation Cloud, you can apply the SaltStack Config resource to install the minions on virtual machines in your deployments. After the minion is deployed, you can use SaltStack Config's powerful configuration management, drift remediation, and state management capabilities to manage your resources.
Minions are agents that run the salt-minion service. The service subscribes to jobs published by a Salt master, which is a server that runs the salt-master service. When a specific job applies to a minion, the minion executes the job.
You can use the SaltStack Config resource to deploy minions and apply state files when you deploy Linux and Windows machines. To add or update minions and state files on existing deployments, you can run the Attach SaltStack Resource day 2 action. For more about the day 2 action, see What actions can I run on Cloud Assembly deployments.
If you used the
saltConfiguration property to deploy minions and state files as a day 0 action, update your cloud templates to use the SaltStack Config resource. The
saltConfiguration property is now deprecated.
The Apply Salt Configuration day 2 action is still available for resources that use the
Before you start
- Verify that you installed SaltStack Config and configured the integration. See Configure a SaltStack Config integration in vRealize Automation Cloud.
To familiarize yourself with how SaltStack Config works, including the key concepts of minions, see Understanding the SaltStack User Interface.
- In SaltStack Config, verify that the FQDN name resolution from minion to master is working.
- To verify the FQDN on the Salt master in SaltStack Config, select .
- Filter the Minion ID column for the value saltmaster.
- Click saltmaster to see the details.
- Verify that the FQDN value is correct.
- If you are deploying minions on a Linux machine, verify that the images in vSphere that you intend to deploy with a Salt minion have SSH capabilities enabled. SSH is used to remotely access the machine and deploy the minion.
If you are deploying minions on a Windows machine, see How do I deploy minions using the API (RaaS) in a Windows environment.
- If you are deploying minions on a virtual machine that has VMware Tools installed and a Salt minion configured, verify that the VMware Tools Salt minion key appears under the Accepted tab in the Minion Keys workspace in SaltStack Config. See Enable Salt minion using VMware Tools for more information.
Note: If the VMware Tools Salt minion is an older version, deploying a minion against the virtual machine does not upgrade the Salt master to the latest version. You must upgrade your Salt master manually. See Upgrade the Master Plugin for more information.
- Verify that you can assign IP addresses to the machines you deploy.
SaltStack Config requires the machines to have public IP addresses. Use the IP addresses for the public IP CIDR range for the SDDC (software-defined data center) where your Salt master is located.Note:
If there is no public IP address configured for the machine, the IP address of the first NIC is used.
- Verify that the cloud template that you are adding the minion to is deployable before you add the SaltStack Config resource properties.
- Verify that you have the following service roles:
- Cloud Assembly administrator
- Cloud Assembly user
- Service Broker administrator
These service roles are required to use the SaltStack Config resource.