master 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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:
  40. - '@wheel'
  41. - '@runner'
  42. - test.*
  43. saltops%:
  44. - '@wheel'
  45. - '@runner'
  46. - 'test.*'
  47. auto:
  48. saltdev_auto:
  49. - '@wheel'
  50. - '@runner'
  51. - test.*
  52. saltdev_api:
  53. - '@wheel'
  54. - '@runner'
  55. - test.*
  56. - grains.*
  57. '*':
  58. - '@wheel'
  59. - '@runner'
  60. - test.*
  61. master_tops:
  62. master_tops_test: True
  63. nodegroups:
  64. min: minion
  65. sub_min: sub_minion
  66. mins: N@min or N@sub_min
  67. list_nodegroup:
  68. - 'minion'
  69. - 'sub_minion'
  70. multiline_nodegroup:
  71. - 'minion'
  72. - 'or'
  73. - 'sub_minion'
  74. one_minion_list:
  75. - 'minion'
  76. redundant_minions: N@min or N@mins
  77. nodegroup_loop_a: N@nodegroup_loop_b
  78. nodegroup_loop_b: N@nodegroup_loop_a
  79. missing_minion: L@minion,ghostminion
  80. list_group: N@multiline_nodegroup
  81. one_list_group: N@one_minion_list
  82. list_group2: N@list_nodegroup
  83. mysql.host: localhost
  84. mysql.user: 'salt'
  85. mysql.pass: 'salt'
  86. mysql.db: 'salt'
  87. mysql.port: 3306
  88. libcloud_dns:
  89. profile_test1:
  90. driver: cloudflare
  91. key: 12345
  92. secret: mysecret
  93. profile_test2:
  94. driver: godaddy
  95. key: 12345
  96. secret: mysecret
  97. shopper_id: 12345
  98. autosign_grains_dir: autosign_grains
  99. autosign_file: autosign_file
  100. # disable discovery for test suite saltstack/salt-jenkins#683
  101. discovery: false
  102. # enable using ssh minions and regular minions
  103. #enable_ssh_minions: True
  104. #ignore_host_keys: True
  105. # test vault
  106. vault:
  107. url: http://127.0.0.1:8200
  108. auth:
  109. method: token
  110. token: testsecret
  111. policies:
  112. - testpolicy
  113. peer_run:
  114. .*:
  115. - vault.generate_token
  116. sdbvault:
  117. driver: vault
  118. venafi:
  119. fake: "true"