Saltstack Official Linux Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

23 rindas
692B

  1. {%- from "linux/map.jinja" import storage with context %}
  2. ##
  3. ## This is multipath-tools configuration file managed by Salt
  4. ##
  5. defaults {
  6. # getuid_callout "/lib/udev/scsi_id --whitelisted --device=/dev/%n"
  7. user_friendly_names no
  8. }
  9. blacklist {
  10. {%- for device in storage.multipath.get('blacklist_devices', []) %}
  11. wwid {{ salt['cmd.shell']('/lib/udev/scsi_id -g -u '+device) }}
  12. {%- endfor %}
  13. devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st|nbd)[0-9]*"
  14. }
  15. devices {
  16. {%- for backend in storage.multipath.get('backends', []) %}
  17. {%- include "linux/files/multipath/_" + backend + ".conf" %}
  18. {%- endfor %}
  19. }