Saltstack change minion name2/12/2024 ![]() ![]() Great job!!! You did it!! Just for the fun of it, let’s run SSH into the master, run sudo -i to become root, then run salt-key -A to accept the cert. We do still need to accept the cert though on our salt master, so let’s do that now. No for real, that’s seriously the only thing that we needed to do on our Linux minion, it really is that easy!! Perfect! There we go!! We’re now ready to install the salt minion service!! RunĪlright, that is it. ![]() Type the IP of the master, followed by the host name “salt”, then save and close the file.Īlright, let’s go ahead and try to ping the master one more time. But for now, let’s just add the IP of the master to our hosts file. If we were doing this in a real production environment, we’d make sure our DNS server had an entry for Salt, pointing to the IP of our master. Now all that we need to do is to install the salt minion service, but first let’s make sure this minion can resolve the master. Once it finishes starting, go ahead and SSH into the instance. We’re actually going to use a little Cloud Init script to change the hostname to LinuxMinion, but we’ll stick with the defaults for everything else. ![]() See Enable Salt minion using VMware Tools for more information.Welcome back! This is Samantha with the DevOps Library, and today we’re going to add a Linux minion to our Salt master! If you’re wondering what a “minion” is, don’t worry, it’s just SaltStack terminology for a server that can be controlled by the master.Īlright, let’s go ahead and get started! First, spin up an Ubuntu 14.04 instance on AWS! You should be able to stick with the default settings for everything, but DO make sure that its placed in a security group & network that has access to our Salt master. 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.If you are deploying minions on a Windows machine, see How do I deploy minions using the API (RaaS) in a Windows environment. SSH is used to remotely access the machine and deploy the minion. 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.Filter the Minion ID column for the value saltmaster.To verify the FQDN on the Salt master in Automation Config, click Targets and then select the All Minions target group.In Automation Config, verify that the FQDN name resolution from minion to master is working.See Configure an Automation Config integration in VMware Aria Automation for more information. Verify that you successfully configured the Automation Config integration.The Apply Salt Configuration day 2 action is still available for resources that use the saltConfiguration property. The saltConfiguration property is no longer available for use in your templates. 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. For more about the day 2 action, see What actions can I run on Automation Assembler deployments or supported resources. To add or update minions and state files on existing deployments, you can run the Attach SaltStack Resource day 2 action. You can use the SaltStack resource to deploy minions and apply state files when you deploy Linux and Windows machines. When a specific job applies to a minion, the minion executes the job. The service subscribes to jobs published by a Salt master, which is a server that runs the salt-master service. Minions are agents that run the salt-minion service. After the minion is deployed, you can use Automation Config's powerful configuration management, drift remediation, and state management capabilities to manage your resources. 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. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |