master 2.5 KB

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