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

    How To: Install and configure SaltStack with GitLab

    IT Discussion
    how-to saltstack salt master salt minion gitlab
    3
    6
    2.7k
    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.
    • ObsolesceO
      Obsolesce
      last edited by Obsolesce

      I'm starting a high-level how-to on setting up and configuring SaltStack to work with GitLab as a fileserver backend, and then graduating with LANless minion management and automation.

      I did not create this first part (Part 1) as I was setting things up. I pieced it together through notes and memory, so there is a chance I missed some things. If I did, please let me know!

      https://www.timothygruber.com/linux/saltstack-installation-configuration/

      iroalI 1 Reply Last reply Reply Quote 4
      • iroalI
        iroal @Obsolesce
        last edited by

        @tim_g

        Thanks for the Tutorial.

        1 Reply Last reply Reply Quote 0
        • AdamFA
          AdamF
          last edited by

          Hi @Tim_G . I followed your tutorial you wrote up, word by word, and in the end, the salt master was never displaying any of the minions. However, if I used the one line bootstrap installer below, it worked instantly. I'm wondering if there is some dependency that is missing from the instructions?

          cd /tmp; curl -L https://bootstrap.saltstack.com -o install_salt.sh
          sh install_salt.sh -M  (From this guide:  https://mangolassi.it/topic/11812/installing-salt-master)
          
          ObsolesceO 1 Reply Last reply Reply Quote 0
          • ObsolesceO
            Obsolesce @AdamF
            last edited by

            @fuznutz04 said in How To: Install and configure SaltStack with GitLab:

            Hi @Tim_G . I followed your tutorial you wrote up, word by word, and in the end, the salt master was never displaying any of the minions. However, if I used the one line bootstrap installer below, it worked instantly. I'm wondering if there is some dependency that is missing from the instructions?

            cd /tmp; curl -L https://bootstrap.saltstack.com -o install_salt.sh
            sh install_salt.sh -M  (From this guide:  https://mangolassi.it/topic/11812/installing-salt-master)
            

            What OS? Was it the master you had to reinstall to get it working?

            I don't remember installing any prerequisites on the master other that what I have in my blog.

            When I get time I'll set another one up from a minimal install and track the dependencies and such.

            Oh by the way, I set mine up on Ubuntu. The master I mean. My minions are running Fedora.

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

              If I find problems with it, I'll change my blog to use the bootstrap. That seems more reliable anyways. The main reason I didn't use it is because I didn't know what all it does.

              1 Reply Last reply Reply Quote 0
              • AdamFA
                AdamF
                last edited by

                So forget my comments. It turned out maybe your instructions are fine. (Maybe, maybe not. I don't know, but will reinstall using your instructions again just to verify.) My problem was that I was opening up the firewall ports in the wrong zone. The default Install I used made only 1 zone on the master called "FedoraServer." Opening ports on this zone solved the issue. See this post from this morning: https://mangolassi.it/topic/15620/salt-stack-communication-issues/2

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