If you integrated Automation Config with VMware Aria Automation, you can apply the SaltStack resource to install Salt minions on virtual machines in your deployments. After the minion is deployed, you can use Automation 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 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 Automation Assembler deployments or supported resources.
If you used the
saltConfiguration property to deploy minions and state files as a day 0 action, update your templates to use the SaltStack resource. The
saltConfiguration property is no longer available for use in your templates.
The Apply Salt Configuration day 2 action is still available for resources that use the
Before you start
- Verify that you successfully configured the Automation Config integration. See Configure an Automation Config integration in VMware Aria Automation for more information.
- In Automation Config, verify that the FQDN name resolution from minion to master is working.
- To verify the FQDN on the Salt master in Automation Config, click Targets and then select the All Minions target group.
- 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 Automation 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 minion 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.
Automation 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 resource properties.
- Verify that you have the following service roles:
- Automation Assembler administrator
- Automation Assembler user
- Automation Service Broker administrator
These service roles are required to use the SaltStack resource.