salt-proxy.rst 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. .. _salt-proxy-cli:
  2. ==============
  3. ``salt-proxy``
  4. ==============
  5. Receives commands from a Salt master and proxies these commands to
  6. devices that are unable to run a full minion.
  7. Synopsis
  8. ========
  9. .. code-block:: bash
  10. salt-proxy [ options ]
  11. Description
  12. ===========
  13. The Salt proxy minion receives commands from a Salt master, transmits
  14. appropriate commands to devices that are unable to run a minion, and replies
  15. with the results of said commands.
  16. Options
  17. =======
  18. .. program:: salt-proxy
  19. .. option:: --proxyid
  20. The minion id that this proxy will assume. This is required.
  21. .. option:: --version
  22. Print the version of Salt that is running.
  23. .. option:: --versions-report
  24. Show program's dependencies and version number, and then exit
  25. .. option:: -h, --help
  26. Show the help message and exit
  27. .. option:: -c CONFIG_DIR, --config-dir=CONFIG_dir
  28. The location of the Salt configuration directory. This directory
  29. contains the configuration files for Salt master and minions.
  30. The default location on most systems is ``/etc/salt``.
  31. .. option:: -u USER, --user=USER
  32. Specify user to run salt-proxy
  33. .. option:: -d, --daemon
  34. Run salt-proxy as a daemon
  35. .. option:: --pid-file PIDFILE
  36. Specify the location of the pidfile. Default: ``/var/run/salt-proxy-<id>.pid``
  37. .. include:: _includes/logging-options.rst
  38. .. |logfile| replace:: /var/log/salt/minion
  39. .. |loglevel| replace:: ``warning``
  40. See also
  41. ========
  42. :manpage:`salt(1)`
  43. :manpage:`salt(7)`
  44. :manpage:`salt-master(1)`
  45. :manpage:`salt-minion(1)`