minion 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. # basic config
  2. # Connects to master
  3. master: localhost
  4. master_port: 64506
  5. interface: 127.0.0.1
  6. tcp_pub_port: 64510
  7. tcp_pull_port: 64511
  8. sock_dir: minion_sock
  9. id: minion
  10. open_mode: True
  11. log_file: minion.log
  12. log_level_logfile: debug
  13. log_fmt_console: '%(asctime)s,%(msecs)03d [%(levelname)-8s] %(message)s'
  14. pidfile: minion.pid
  15. # Give the minion extra attempts to find the master
  16. # This is especially needed for the TCP tests as we
  17. # wait for the master to come up in 2016.3. See #35489.
  18. master_tries: 5
  19. # module extension
  20. test.foo: baz
  21. integration.test: True
  22. # Grains addons
  23. grains:
  24. test_grain: cheese
  25. script: grail
  26. alot: many
  27. planets:
  28. - mercury
  29. - venus
  30. - earth
  31. - mars
  32. level1:
  33. level2: foo
  34. companions:
  35. one:
  36. - susan
  37. - ian
  38. - barbara
  39. tokenv2:
  40. keystone.endpoint: http://localhost:35357/v2.0
  41. keystone.token: administrator
  42. tokenv3:
  43. keystone.endpoint: http://localhost:35357/v3
  44. keystone.token: administrator
  45. adminv2:
  46. keystone.user: admin
  47. keystone.password: adminpass
  48. keystone.tenant: admin
  49. keystone.auth_url: 'http://127.0.0.1:5000/v2.0/'
  50. demov2:
  51. keystone.user: demo
  52. keystone.password: demopass
  53. keystone.tenant: demo
  54. keystone.auth_url: 'http://127.0.0.1:5000/v2.0/'
  55. adminv3:
  56. keystone.user: admin
  57. keystone.password: adminpass
  58. keystone.tenant: admin
  59. keystone.auth_url: 'http://127.0.0.1:5000/v3/'
  60. demov3:
  61. keystone.user: demo
  62. keystone.password: demopass
  63. keystone.tenant: demo
  64. keystone.auth_url: 'http://127.0.0.1:5000/v3/'
  65. zookeeper:
  66. prod:
  67. hosts: 'localhost:2181'
  68. default_acl:
  69. - username: daniel
  70. password: test
  71. read: true
  72. write: true
  73. create: true
  74. delete: true
  75. admin: true
  76. username: daniel
  77. password: test
  78. hosts: 'localhost:2181'
  79. default_acl:
  80. - username: daniel
  81. password: test
  82. read: true
  83. write: true
  84. create: true
  85. delete: true
  86. admin: true
  87. username: daniel
  88. password: test
  89. config_test:
  90. spam: eggs
  91. mine_functions:
  92. test.ping: []
  93. test.arg:
  94. - isn't
  95. - allow_tgt: 'sub_minion'
  96. # sdb env module
  97. osenv:
  98. driver: env
  99. # cmd blacklist
  100. cmd_blacklist_glob:
  101. - 'bad_command *'
  102. - 'second_bad_command *'
  103. autosign_grains:
  104. - test_grain
  105. # disable discovery for test suite saltstack/salt-jenkins#683
  106. discovery: false
  107. sdbvault:
  108. driver: vault