hoermi

salt.txt

Nov 3rd, 2026 (edited)
357
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.89 KB | Source Code | 0 0
  1.    26  curl -fsSL https://packages.broadcom.com/artifactory/api/security/keypair/SaltProjectKey/public | gpg --dearmor | tee /etc/apt/keyrings/salt-archive-keyring.pgp > /dev/null
  2.    28  curl -fsSL https://packages.broadcom.com/artifactory/api/security/keypair/SaltProjectKey/public | gpg --dearmor | tee /etc/apt/keyrings/salt-archive-keyring.pgp > /dev/null
  3.    29  curl -fsSL https://github.com/saltstack/salt-install-guide/releases/latest/download/salt.sources | tee /etc/apt/sources.list.d/salt.sources
  4.    30  cat sources.list.d/salt.sources
  5.    32  apt-get install salt-minion
  6.    33  systemctl status salt-minion.service
  7.    34  systemctl stop salt-minion.service
  8.    35  systemctl status salt-master.service
  9.    36  systemctl status salt-minion.service
  10.    37  history > ~/hist_salt-minion.txt
  11.    49  cd /etc/salt/
  12. -snip-
  13.    59  cd /etc/salt/
  14.    62  systemctl start salt-minion.service
  15.    64  tail -f /var/log/salt/minion
  16.    66  systemctl stop salt-minion.service
  17.    67  vi /etc/ssl/hoeso/salt05_cert.pem
  18.    70  systemctl start salt-minion.service
  19.    71  tail -f /var/log/salt/minion
  20.    75  systemctl start salt-minion.service
  21.    76  tail -f /var/log/salt/minion
  22.    77  systemctl status salt-minion.service
  23.    78  systemctl restart salt-minion.service
  24.    79  systemctl status salt-minion.service
  25.    80  tail -f /var/log/salt/minion
  26.    81  tail -f /var/log/salt/key
  27.    82  tail -f /var/log/salt/minion
  28.    83  echo "----------" >> ~/hist_salt-minion.txt
  29.    85  history >> ~/hist_salt-minion.txt
  30.    86  less ~/hist_salt-minion.txt
  31.    87  salt-call sys.state_doc hostname
  32.    88  salt-call sys.list_state_modules
  33.    89  salt-call sys.list_state_modules network
  34.    90  salt-call sys.list_state_modules network.\*
  35.    91  salt-call sys.list_state_modules
  36.    92  salt-call sys.list_state_functions network
  37.    93  salt-call sys.list_state_functions network.system
  38.    94  salt-call sys.list_state_doc network.system
  39.    95  salt-call sys.state_doc network.system
  40.    96  salt-call sys.list_state_modules
  41.    97  salt-call sys.list_state_functions network
  42.    98  salt-call sys.list_state_functions host
  43.    99  salt-call sys.state_doc host.only
  44.   100  salt-call sys.list_state_functions host
  45.   101  salt-call sys.state_doc host.present
  46.   102  salt-call sys.state_doc host.only
  47.   103  salt-call sys.state_doc host.present
  48.   105  salt-call sys.list_state_functions host
  49.   106  salt-call sys.state_doc host.present
  50.   122  systemctl status salt-minion.service
  51.   131  tail -f /var/log/salt/minion
  52.   181  salt-call --versions-report | grep -iE 'mysql|Python|Salt:'
  53.   189  which salt-pip; ls /opt/saltstack/salt/bin/pip*
  54.   192  /opt/saltstack/salt/bin/python3 -c "import pymysql; print(pymysql.__file__)"
  55.   193  /opt/saltstack/salt/bin/python3 -c "import pymysql; print(pymysql.__file__)"
  56.   194  salt-pip show PyMySQL
  57.   196  systemctl status salt-minion.service
  58.   213  tail -n40 /var/log/salt/minion
  59.  
Advertisement
Add Comment
Please, Sign In to add comment