ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    SaltStack

    IT Discussion
    saltstack
    4
    10
    965
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • PenguinWranglerP
      PenguinWrangler
      last edited by scottalanmiller

      Starting to work with Salt. I see plenty of guides on how to use it with Linux, and that is really what I am looking for primarily for my servers, but I also see you can use it with Windows machines. Any good guides out there showing how to do things on Windows in Salt. I have found a few through google but didn't know if anyone had any that I haven't found yet.

      ObsolesceO Emad RE 2 Replies Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller
        last edited by

        Windows works the same, nothing really specific to know about it compared to Linux.

        PenguinWranglerP 1 Reply Last reply Reply Quote 0
        • PenguinWranglerP
          PenguinWrangler @scottalanmiller
          last edited by

          @scottalanmiller said in SaltStack:

          Windows works the same, nothing really specific to know about it compared to Linux.

          Okay. Just starting to dig into it.

          1 Reply Last reply Reply Quote 0
          • ObsolesceO
            Obsolesce @PenguinWrangler
            last edited by

            @penguinwrangler

            It's basically the same thing.

            I've been doing it on Windows a bit now.

            TO install it, you can do it manually like this:
            https://www.timothygruber.com/linux/saltstack-installation-configuration/#Installing_on_Windows

            Or you can use a script like how SodiumSuite does it, like this:

            @powershell -NoProfile -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin\" -y  
             choco install saltminion -y 
             icacls "c:\salt\bin\Lib\site-packages\salt\" /grant "Authenticated Users":(OI)(CI)R   
             echo master: 104.129.171.133 >>c:\salt\conf\minion.d\mast.conf 
            net stop salt-minion && net start salt-minion
            

            NOTE: Change above IP address / FQDN of your own salt master!

            1 Reply Last reply Reply Quote 0
            • Emad RE
              Emad R @PenguinWrangler
              last edited by

              @penguinwrangler

              I have written plenty here for windows specially, let me see if I can find them

              Emad RE 1 Reply Last reply Reply Quote 0
              • Emad RE
                Emad R @Emad R
                last edited by

                @emad-r said in SaltStack:

                @penguinwrangler

                I have written plenty here for windows specially, let me see if I can find them

                This is the most notable one:
                https://mangolassi.it/topic/14253/saltstack-windows-playbooks/9

                But feel free to check all my topics:
                https://mangolassi.it/user/emad-r/topics
                and search for salt or search all ML for salt

                1 Reply Last reply Reply Quote 0
                • ObsolesceO
                  Obsolesce
                  last edited by

                  Here's a SaltStack repo for Windows software:
                  https://github.com/saltstack/salt-winrepo-ng

                  These are ready to go and install via your own State files, or CLI.

                  PenguinWranglerP 1 Reply Last reply Reply Quote 1
                  • ObsolesceO
                    Obsolesce
                    last edited by Obsolesce

                    Here is a raw dump of commands I was planning to cover in one of my un-published Blog drafts.

                    Just keep in mind they are all out of context with no explanation and not in any general order.

                    Or you can wait for my Blog post, but I haven't had so much free time lately so I don't know when I'll be able to post all this SaltStack-related stuff.

                    I'm really only posting this here now to act as a reference so you don't have to dig through SaltStack documentation all the time, and to also serve as a getting started type of thing.

                    0_1518817295032_dc9c2199-1588-4817-9b48-9047de3b153e-image.png

                    1 Reply Last reply Reply Quote 0
                    • PenguinWranglerP
                      PenguinWrangler
                      last edited by

                      Thanks guys!! I am loving salt. It looks amazing. Already have a salt master up in the cloud.

                      1 Reply Last reply Reply Quote 1
                      • PenguinWranglerP
                        PenguinWrangler @Obsolesce
                        last edited by

                        @tim_g said in SaltStack:

                        Here's a SaltStack repo for Windows software:
                        https://github.com/saltstack/salt-winrepo-ng

                        These are ready to go and install via your own State files, or CLI.

                        I was looking at a lot of those files, and it would appear to be very easy to setup my own in house repo. I will eventually be trying that.

                        1 Reply Last reply Reply Quote 0
                        • 1 / 1
                        • First post
                          Last post