Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- 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
- 29 curl -fsSL https://github.com/saltstack/salt-install-guide/releases/latest/download/salt.sources | tee /etc/apt/sources.list.d/salt.sources
- 30 cat sources.list.d/salt.sources
- 32 apt-get install salt-minion
- 33 systemctl status salt-minion.service
- 34 systemctl stop salt-minion.service
- 35 systemctl status salt-master.service
- 36 systemctl status salt-minion.service
- 37 history > ~/hist_salt-minion.txt
- 49 cd /etc/salt/
- -snip-
- 59 cd /etc/salt/
- 62 systemctl start salt-minion.service
- 64 tail -f /var/log/salt/minion
- 66 systemctl stop salt-minion.service
- 67 vi /etc/ssl/hoeso/salt05_cert.pem
- 70 systemctl start salt-minion.service
- 71 tail -f /var/log/salt/minion
- 75 systemctl start salt-minion.service
- 76 tail -f /var/log/salt/minion
- 77 systemctl status salt-minion.service
- 78 systemctl restart salt-minion.service
- 79 systemctl status salt-minion.service
- 80 tail -f /var/log/salt/minion
- 81 tail -f /var/log/salt/key
- 82 tail -f /var/log/salt/minion
- 83 echo "----------" >> ~/hist_salt-minion.txt
- 85 history >> ~/hist_salt-minion.txt
- 86 less ~/hist_salt-minion.txt
- 87 salt-call sys.state_doc hostname
- 88 salt-call sys.list_state_modules
- 89 salt-call sys.list_state_modules network
- 90 salt-call sys.list_state_modules network.\*
- 91 salt-call sys.list_state_modules
- 92 salt-call sys.list_state_functions network
- 93 salt-call sys.list_state_functions network.system
- 94 salt-call sys.list_state_doc network.system
- 95 salt-call sys.state_doc network.system
- 96 salt-call sys.list_state_modules
- 97 salt-call sys.list_state_functions network
- 98 salt-call sys.list_state_functions host
- 99 salt-call sys.state_doc host.only
- 100 salt-call sys.list_state_functions host
- 101 salt-call sys.state_doc host.present
- 102 salt-call sys.state_doc host.only
- 103 salt-call sys.state_doc host.present
- 105 salt-call sys.list_state_functions host
- 106 salt-call sys.state_doc host.present
- 122 systemctl status salt-minion.service
- 131 tail -f /var/log/salt/minion
- 181 salt-call --versions-report | grep -iE 'mysql|Python|Salt:'
- 189 which salt-pip; ls /opt/saltstack/salt/bin/pip*
- 192 /opt/saltstack/salt/bin/python3 -c "import pymysql; print(pymysql.__file__)"
- 193 /opt/saltstack/salt/bin/python3 -c "import pymysql; print(pymysql.__file__)"
- 194 salt-pip show PyMySQL
- 196 systemctl status salt-minion.service
- 213 tail -n40 /var/log/salt/minion
Advertisement