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

    Installing SaltStack Salt-Minion to Solus Linux

    IT Discussion
    linux solus solus 3 saltstack salt minion eopkg
    2
    3
    856
    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.
    • QuixoticJustin
      QuixoticJustin last edited by

      Solus Linux lacks a native package for SaltStack and so to use it as a Salt Minion you have to grab the packages from GitHub and create it yourself. Special thanks to @scottalanmiller who looked into this and Exoner4ted in the Solus community who did the research and figured out how to make this work.

      Remember to change "saltmastip" to the actual IP of your salt master or handle that however makes sense for you.

      cd /tmp; wget https://github.com/saltstack/salt/archive/2018.3.zip
      unzip 2018.3.zip; cd /tmp/salt-2018.3/
      python /root/salt-2018.3setup.py install
      echo "saltmasterip salt" >> /etc/hosts
      cp /root/salt-2018.3/pkg/salt-minion.service /usr/lib/systemd/system/
      systemctl daemon-reload && systemctl enable salt-minion
      eopkg install python-pyzmq pycrypto python-msgpack python-tornado python-jinja pyyaml
      systemctl restart salt-minion
      

      Unfortunately this package is not self updating.

      dafyre 1 Reply Last reply Reply Quote 4
      • dafyre
        dafyre @QuixoticJustin last edited by

        @quixoticjustin said in Installing SaltStack Salt-Minion to Solus Linux:

        Solus Linux lacks a native package for SaltStack and so to use it as a Salt Minion you have to grab the packages from GitHub and create it yourself. Special thanks to @scottalanmiller who looked into this and Exoner4ted in the Solus community who did the research and figured out how to make this work.

        Remember to change "saltmastip" to the actual IP of your salt master or handle that however makes sense for you.

        cd /tmp; wget https://github.com/saltstack/salt/archive/2018.3.zip
        unzip 2018.3.zip; cd /tmp/salt-2018.3/
        python /root/salt-2018.3setup.py install
        echo "saltmasterip salt" >> /etc/hosts
        cp /root/salt-2018.3/pkg/salt-minion.service /usr/lib/systemd/system/
        systemctl daemon-reload && systemctl enable salt-minion
        eopkg install python-pyzmq pycrypto python-msgpack python-tornado python-jinja pyyaml
        systemctl restart salt-minion
        

        Unfortunately this package is not self updating.

        Once you get the initial client installed, you should be able to to push out new salt-minion packages via Salt itself, right?

        QuixoticJustin 1 Reply Last reply Reply Quote 0
        • QuixoticJustin
          QuixoticJustin @dafyre last edited by

          @dafyre said in Installing SaltStack Salt-Minion to Solus Linux:

          @quixoticjustin said in Installing SaltStack Salt-Minion to Solus Linux:

          Solus Linux lacks a native package for SaltStack and so to use it as a Salt Minion you have to grab the packages from GitHub and create it yourself. Special thanks to @scottalanmiller who looked into this and Exoner4ted in the Solus community who did the research and figured out how to make this work.

          Remember to change "saltmastip" to the actual IP of your salt master or handle that however makes sense for you.

          cd /tmp; wget https://github.com/saltstack/salt/archive/2018.3.zip
          unzip 2018.3.zip; cd /tmp/salt-2018.3/
          python /root/salt-2018.3setup.py install
          echo "saltmasterip salt" >> /etc/hosts
          cp /root/salt-2018.3/pkg/salt-minion.service /usr/lib/systemd/system/
          systemctl daemon-reload && systemctl enable salt-minion
          eopkg install python-pyzmq pycrypto python-msgpack python-tornado python-jinja pyyaml
          systemctl restart salt-minion
          

          Unfortunately this package is not self updating.

          Once you get the initial client installed, you should be able to to push out new salt-minion packages via Salt itself, right?

          Yes, but not using a repo. So you'd need to build your own installer / updater inside of a Salt state. Totally possible, but not as simple as telling it to update.

          1 Reply Last reply Reply Quote 2
          • First post
            Last post