Bechtoldt's Network Saltstack Formula
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

defaults.yaml 2.3KB

10 anos atrás
10 anos atrás
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. {% load_yaml as rawmap %}
  2. Debian:
  3. interfaces:
  4. pkgs: []
  5. default_values:
  6. enabled: True
  7. type: eth
  8. params_supported:
  9. - proto
  10. - ipaddr
  11. - gateway
  12. - netmask
  13. - bridge
  14. - ports
  15. - delay
  16. - stp
  17. - maxwait
  18. - fd
  19. - pre_up_cmds
  20. - pre_down_cmds
  21. - post_up_cmds
  22. - post_down_cmds
  23. {#- bonding #}
  24. - master
  25. - mode
  26. - slaves
  27. #TODO - broadcast
  28. # IPV6
  29. - enable_ipv6
  30. - ipv6proto
  31. - ipv6ipaddr
  32. - ipv6netmask
  33. - ipv6gateway
  34. def_entries:
  35. - name: lo
  36. proto: loopback
  37. type: eth
  38. resolver: {}
  39. hosts:
  40. def_entries:
  41. - name: localhost
  42. ip: 127.0.0.1
  43. - name: localhost.localdomain
  44. ip: 127.0.0.1
  45. - name: localhost
  46. ip: ::1
  47. - name: ip6-localhost
  48. ip: ::1
  49. - name: ip6-loopback
  50. ip: ::1
  51. - name: ip6-localnet
  52. ip: fe00::0
  53. - name: ip6-mcastprefix
  54. ip: ff00::0
  55. - name: ip6-allnodes
  56. ip: ff02::1
  57. - name: ip6-allrouters
  58. ip: ff02::2
  59. - name: ip6-allhosts
  60. ip: ff02::3
  61. RedHat:
  62. interfaces:
  63. pkgs: []
  64. vlan_pkg: False
  65. default_values:
  66. enabled: True
  67. type: eth
  68. params_supported:
  69. - proto
  70. - ipaddr
  71. - gateway
  72. - netmask
  73. - bridge
  74. - ports
  75. - delay
  76. - stp
  77. - maxwait
  78. - fd
  79. - pre_up_cmds
  80. - pre_down_cmds
  81. - post_up_cmds
  82. - post_down_cmds
  83. {#- bonding #}
  84. - master
  85. - mode
  86. - slaves
  87. #TODO - broadcast
  88. # IPV6
  89. - enable_ipv6
  90. - ipv6proto
  91. - ipv6ipaddr
  92. - ipv6netmask
  93. - ipv6gateway
  94. def_entries: []
  95. # - name: lo
  96. # proto: none
  97. # type: eth
  98. # netmask: 255.0.0.0
  99. # network: 127.0.0.0
  100. resolver: {}
  101. hosts:
  102. def_entries:
  103. - name: localhost
  104. ip: 127.0.0.1
  105. - name: localhost.localdomain
  106. ip: 127.0.0.1
  107. - name: localhost
  108. ip: ::1
  109. - name: ip6-localhost
  110. ip: ::1
  111. - name: ip6-loopback
  112. ip: ::1
  113. - name: ip6-localnet
  114. ip: fe00::0
  115. - name: ip6-mcastprefix
  116. ip: ff00::0
  117. - name: ip6-allnodes
  118. ip: ff02::1
  119. - name: ip6-allrouters
  120. ip: ff02::2
  121. - name: ip6-allhosts
  122. ip: ff02::3
  123. {% endload %}