Saltstack Official Linux Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
712B

  1. {%- from "linux/map.jinja" import system with context -%}
  2. {%- from "linux/map.jinja" import network with context -%}
  3. doc:
  4. name: Linux
  5. role:
  6. system:
  7. name: System
  8. param:
  9. name:
  10. value: {{ system.name }}
  11. kernel:
  12. value: {{ salt['grains.item']('kernel')['kernel'] }} {{ salt['grains.item']('kernelrelease')['kernelrelease'] }}
  13. distribution:
  14. value: {{ salt['grains.item']('lsb_distrib_description')['lsb_distrib_description'] }}
  15. network:
  16. name: Network
  17. param:
  18. fqdn:
  19. name: FQDN
  20. value: {{ network.fqdn }}
  21. ip:
  22. name: IP Addresses
  23. value: {{ salt['grains.item']('ipv4')['ipv4'] }}