====================
pour-some-salt-on-me
====================

.. raw:: html

   <table class="provenance-header" style="border: 0; border-collapse: collapse; margin: 0 0 16px 0; width: 100%;">

.. raw:: html

   <tr style="border: 0;">

.. raw:: html

   <td style="border: 0; vertical-align: top; padding: 0 24px 0 0;">

..

   | **Source:**
     https://foxhop.net/f3bd8400-2f95-11f1-980e-e86a64d24d78/pour-some-salt-on-me
   | **Snapshot:** 2026-10-16T04:38:18Z
   | **Generator:** Remarkbox ``d747782``

   *This is a thread snapshot. The living document lives at the source
   URI above — it may have been edited, extended, or replied-to since.*

.. raw:: html

   </td>

.. raw:: html

   <td style="border: 0; vertical-align: top; width: 200px; text-align: right;">

.. figure:: data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKQAAACkAQAAAAAxzrjsAAABbUlEQVR42tWXQa4CYQiDiRfg/rfkBpWvaOLCjUkX7/0ZE2cWtVNKwdKXM/WHn1ZVS63umenmdh717fzytGTQEZA91dxmcAvEnlYNrPmewt0PhAVwFNdKrApJvivoKsAP+ErpiwE+TswPnMM+QXBfRt9ytVQ2BHcZHYZ+2JpVDQJvq4R0KBCpnmC8V8oPa92lKnD3Jtdvy3dJ2sHXzhF9t05jeVXXH6G66Xp3FnZ58wYZHVYCd3Fb3OpQ3SBqq7mf176p/B3i/R3wuCPp3z6l4R/iO26zCzMaI5VnuBaX1UVEp/JhNV3KiDyUUJPKMxy20DforHUGty2pCTuEQ7jXvn2x4wGXynXy7LqO9Inp60xnwpPuTKGUvjeAgPcsSuWOnI4MNqdlx+aQQEYDlPbISO0PumRgGnFi+w7vPrdEKNYXt0/ePlXB/PWqw4grO7ij+693SbI3lr+3r7+CWA7i3D7JILqVSh3cJ//P/6wnAiPG2iz7nsYAAAAASUVORK5CYII=
   :alt: Scan for living source

   Scan for living source

.. raw:: html

   </td>

.. raw:: html

   </tr>

.. raw:: html

   </table>

Pour some salt on me
====================

Messing with salt-stack

.. container::

Setup salt-master on ubuntu
---------------------------

.. container::
   :name: cb1

   ::

      sudo apt-get -y install python-software-properties
      sudo add-apt-repository -y ppa:saltstack/salt
      sudo apt-get update
      sudo apt-get -y install salt-master
      sudo apt-get -y install salt-minion

salt-master ports
~~~~~~~~~~~~~~~~~

The salt-master must make the following ports available to it's
salt-minions:

-  4505
-  4506

salt-minions do not need any special firewall rules

Setup salt-minion on ubuntu
---------------------------

.. container::
   :name: cb2

   ::

      MASTER=master.foxhop.net # put your master here

      sudo apt-get -y install python-software-properties
      sudo add-apt-repository -y ppa:saltstack/salt
      sudo apt-get update
      sudo apt-get -y install salt-minion

      sudo sed -i "s/#master: salt/#master: salt\nmaster: $MASTER/" /etc/salt/minion

      sudo service salt-minion restart

or this

.. container::
   :name: cb3

   ::

      wget --no-check-certificate -O - http://bootstrap.saltstack.org | sudo sh && echo "master: master.foxhop.net" >> /etc/salt/minion.d/foxhop.conf && echo "append_domain: foxhop.net" >> /etc/salt/minion.d/foxhop.conf;

minion log
~~~~~~~~~~

/var/log/salt/minion

Salt keys
---------

keys and ids

List the accepted and unaccepted Salt keys
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. container::
   :name: cb4

   ::

      salt-key -L

Accept a minion key
~~~~~~~~~~~~~~~~~~~

.. container::
   :name: cb5

   ::

      salt-key -a <minion id>

Accept all unaccepted minion keys
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. container::
   :name: cb6

   ::

      salt-key -A

--------------

| **Source:**
  https://foxhop.net/f3bd8400-2f95-11f1-980e-e86a64d24d78/pour-some-salt-on-me
| **Snapshot:** 2026-10-16T04:38:18Z
| **Generator:** Remarkbox ``d747782``
