New version of salt-formula from Saltstack
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

84 lines
2.3KB

  1. git:
  2. client:
  3. enabled: true
  4. linux:
  5. system:
  6. enabled: true
  7. reclass:
  8. storage:
  9. enabled: true
  10. data_source:
  11. engine: git
  12. branch: master
  13. address: 'https://github.com/salt-formulas/openstack-salt.git'
  14. salt:
  15. master:
  16. enabled: true
  17. command_timeout: 5
  18. worker_threads: 2
  19. base_environment: prd
  20. #environment:
  21. # prd:
  22. # formula:
  23. # python:
  24. # source: git
  25. # address: 'https://github.com/salt-formulas/salt-formula-python.git'
  26. # revision: master
  27. pillar:
  28. engine: composite
  29. reclass:
  30. # index: 1 is default value
  31. index: 1
  32. storage_type: yaml_fs
  33. inventory_base_uri: /srv/salt/reclass_encrypted
  34. class_mappings:
  35. - target: '/^cfg\d+/'
  36. class: system.non-existing.class
  37. ignore_class_notfound: True
  38. ignore_class_regexp:
  39. - 'service.*'
  40. - '*.fluentd'
  41. propagate_pillar_data_to_reclass: False
  42. stack: # not yet implemented
  43. # https://docs.saltstack.com/en/latest/ref/pillar/all/salt.pillar.stack.html
  44. #option 1
  45. #path:
  46. # - /path/to/stack.cfg
  47. #option 2
  48. pillar:environment:
  49. dev: path/to/dev/stasck.cfg
  50. prod: path/to/prod/stasck.cfg
  51. grains:custom:grain:
  52. value:
  53. - /path/to/stack1.cfg
  54. - /path/to/stack2.cfg
  55. saltclass:
  56. path: /srv/salt/saltclass
  57. nacl:
  58. # if order is provided 99 is used to compose "99-nacl" key name which is later used to order entries
  59. index: 99
  60. gpg: {}
  61. vault-1: # not yet implemented
  62. name: vault
  63. path: secret/salt
  64. vault-2: # not yet implemented
  65. name: vault
  66. path: secret/root
  67. vault: # not yet implemented
  68. # https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.vault.html
  69. name: myvault
  70. url: https://vault.service.domain:8200
  71. auth:
  72. method: token
  73. token: 11111111-2222-3333-4444-555555555555
  74. policies:
  75. - saltstack/minions
  76. - saltstack/minion/{minion}
  77. nacl:
  78. # https://docs.saltstack.com/en/develop/ref/modules/all/salt.modules.nacl.html
  79. box_type: sealedbox
  80. sk_file: /etc/salt/pki/master/nacl
  81. pk_file: /etc/salt/pki/master/nacl.pub
  82. #sk: None
  83. #pk: None