Bechtoldt's Network Saltstack 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.

defaults.yaml 2.5KB

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