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.



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



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