![]() ![]() Invoke-Expression ((new-object net.webclient).DownloadString('')) Lastly, we can bootstrap the server with a single line of PowerShell, which so far is our favorite method. That is QUITE a bit more advanced than what we’re going to cover here, but don’t worry we will certainly cover it in a later, longer episode! S for silent, /master=the name of our master, and /minion-name=the name of our minion.Ī second way that we could install the minion is to use something called Salt Cloud, which could actually do everything, including the provisioning of the instance itself. We’re not going to do it that way, but if we were, we could run it silently by passing three parameters to the exe. One way, is to download the setup file from, and run the installation manually. ![]() There we go! We’re now ready to install the salt minion service! Before we do that though, let’s briefly talk about the different ways we can install the minion. Perfect, we didn’t even need to open up notepad. Run:Īdd-Content C:\Windows\system32\drivers\etc\hosts IPofSaltMaster salt Just like on our Linux salt minion episode, the right way to fix this would be to add an entry for Salt to our DNS server, but for now, let’s just add the IP address of our master to the hosts file. Open up a PowerShell window with administrative privileges, and run:Īh, well that didn’t work so well. Installationįirst up, we need to make sure we can resolve the salt master. ![]() Since you’re probably pretty comfortable spinning up new VMs by now, we skipped ahead and are now RDPed into the instance. We’re going to start out with a new Server 2012 R2 instance on AWS. It’s really easy so let’s go ahead and get started! Welcome! This is Samantha with the DevOps Library, and in this short lesson we’re going to show you how to add a Windows minion to our salt master. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |