As a cloud template developer, you can add properties to the YAML that install the Salt minion when you deploy the template.
The core properties that you add to the template include remote access for the machine you want to deploy and configuration properties for the SaltStack resource. The procedure only includes selected properties. The YAML includes other SaltStack resource properties that are not used in this example. For more information, review the schema.
Although this example shows how to add the username and password for the remote access properties, you can configure a secret property and add it to the template. For an example, see Secret Automation Assembler properties.
If the Salt minion is deployed in a Windows environment, review Spinning up Windows Minions for additional dependency requirements.
Procedure
Verify the minion in Automation Config
After you install the minion on the virtual machine, locate the minion and run any jobs or commands on the resource.
Procedure
View Salt grain data
After you finish deploying a Salt minion on your virtual machines, you can view the minion's grains in Automation Assembler.
Salt grains are collected for the minion's operating system, domain name, IP address, kernel, OS type, memory, and many other system properties. If you do not have access to Automation Config, or want to quickly view grain data without leaving the Automation Assembler user interface, you can use the Topology tab to view grain data. See Salt grains to learn more about grain data.
To view a minion's grains:
- In Automation Assembler, select , and locate your deployment.
- On the Topology tab, select the virtual machine that is attached to the SaltStack resource.
- Locate the Salt Configuration section in the right pane and scroll down to view the list of grain data.
A minion's grain data is retrieved after you deploy the minion. To see when the grain data was last updated, you can scroll to the bottom of the Salt Configuration section.