1
0

master 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  1. # Master Settings
  2. # Connects to syndic_master via syndic
  3. id: master
  4. interface: 127.0.0.1
  5. publish_port: 64505
  6. ret_port: 64506
  7. worker_threads: 3
  8. pidfile: master.pid
  9. sock_dir: master_sock
  10. timeout: 12
  11. fileserver_list_cache_time: 0
  12. file_buffer_size: 8192
  13. file_recv: True
  14. pillar_opts: True
  15. log_file: master.log
  16. log_fmt: '[%(asctime)s.%(msecs)s] %(colorlevel)s%(colorname)s%(colorprocess)s %(funcName)s() L%(lineno)s %(processName)s %(message)s'
  17. log_level_logfile: debug
  18. key_logfile: key.log
  19. ssh_log_file: ssh.log
  20. token_file: /tmp/ksfjhdgiuebfgnkefvsikhfjdgvkjahcsidk
  21. # These settings needed for tests on Windows which defaults
  22. # to ipc_mode: tcp
  23. tcp_master_pub_port: 64512
  24. tcp_master_pull_port: 64513
  25. tcp_master_publish_pull: 64514
  26. tcp_master_workers: 64515
  27. peer:
  28. '.*':
  29. - '(x509|test).*'
  30. - 'match.*'
  31. ext_pillar:
  32. - ext_pillar_opts:
  33. - test_issue_5951_actual_file_roots_in_opts
  34. config_opt:
  35. layer2: 'kosher'
  36. yaml_utf8: True
  37. external_auth:
  38. pam:
  39. saltdev-auth:
  40. - test.*
  41. saltdev-netapi:
  42. - '@wheel'
  43. - '@runner'
  44. - test.*
  45. saltdev-key:
  46. - '@wheel'
  47. - '@runner'
  48. - test.*
  49. saltdev-runner:
  50. - '@wheel'
  51. - '@runner'
  52. - test.*
  53. saltops%:
  54. - '@wheel'
  55. - '@runner'
  56. - 'test.*'
  57. auto:
  58. saltdev_auto:
  59. - '@wheel'
  60. - '@runner'
  61. - test.*
  62. saltdev_api:
  63. - '@wheel'
  64. - '@runner'
  65. - test.*
  66. - grains.*
  67. '*':
  68. - '@wheel'
  69. - '@runner'
  70. - test.*
  71. master_tops:
  72. master_tops_test: True
  73. nodegroups:
  74. min: minion
  75. sub_min: sub_minion
  76. mins: N@min or N@sub_min
  77. list_nodegroup:
  78. - 'minion'
  79. - 'sub_minion'
  80. multiline_nodegroup:
  81. - 'minion'
  82. - 'or'
  83. - 'sub_minion'
  84. one_minion_list:
  85. - 'minion'
  86. redundant_minions: N@min or N@mins
  87. nodegroup_loop_a: N@nodegroup_loop_b
  88. nodegroup_loop_b: N@nodegroup_loop_a
  89. missing_minion: L@minion,ghostminion
  90. list_group: N@multiline_nodegroup
  91. one_list_group: N@one_minion_list
  92. list_group2: N@list_nodegroup
  93. mysql.host: localhost
  94. mysql.user: 'salt'
  95. mysql.pass: 'salt'
  96. mysql.db: 'salt'
  97. mysql.port: 3306
  98. libcloud_dns:
  99. profile_test1:
  100. driver: cloudflare
  101. key: 12345
  102. secret: mysecret
  103. profile_test2:
  104. driver: godaddy
  105. key: 12345
  106. secret: mysecret
  107. shopper_id: 12345
  108. autosign_grains_dir: autosign_grains
  109. autosign_file: autosign_file
  110. # disable discovery for test suite saltstack/salt-jenkins#683
  111. discovery: false
  112. # enable using ssh minions and regular minions
  113. #enable_ssh_minions: True
  114. #ignore_host_keys: True
  115. # test vault
  116. # set uses to 0 so the token
  117. # has unlimited uses available.
  118. vault:
  119. url: http://127.0.0.1:8200
  120. auth:
  121. method: token
  122. token: testsecret
  123. uses: 0
  124. policies:
  125. - testpolicy
  126. peer_run:
  127. .*:
  128. - vault.generate_token
  129. sdbvault:
  130. driver: vault
  131. venafi:
  132. fake: "true"