How To: Install and configure SaltStack with GitLab



  • 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/



  • @tim_g

    Thanks for the Tutorial.



  • 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)
    


  • @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.



  • 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.



  • 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



Looks like your connection to MangoLassi was lost, please wait while we try to reconnect.