Saltstack Official Salt Formula
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

11 роки тому
11 роки тому
11 роки тому
11 роки тому
11 роки тому
11 роки тому
11 роки тому
10 роки тому
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. salt:
  2. # to overwrite map.jinja salt packages
  3. lookup:
  4. salt-master: 'salt-master'
  5. salt-minion: 'salt-minion'
  6. salt-syndic: 'salt-syndic'
  7. salt-cloud: 'salt-cloud'
  8. salt-ssh: 'salt-ssh'
  9. # salt master config
  10. master:
  11. fileserver_backend:
  12. - git
  13. - roots
  14. gitfs_remotes:
  15. - git://github.com/saltstack-formulas/salt-formula.git:
  16. - base: develop
  17. file_roots:
  18. base:
  19. - /srv/salt
  20. # for salt-api with tornado rest interface
  21. rest_tornado:
  22. port: 8000
  23. ssl_crt: /etc/pki/api/certs/server.crt
  24. ssl_key: /etc/pki/api/certs/server.key
  25. debug: False
  26. disable_ssl: False
  27. # salt minion config:
  28. minion:
  29. # single master setup
  30. master: salt
  31. # multi master setup
  32. master:
  33. - salt_master_1
  34. - salt_master_2
  35. fileserver_backend:
  36. - git
  37. - roots
  38. gitfs_remotes:
  39. - git://github.com/saltstack-formulas/salt-formula.git:
  40. - base: develop
  41. file_roots:
  42. base:
  43. - /srv/salt
  44. module_config:
  45. test: True
  46. test.foo: foo
  47. test.bar:
  48. - baz
  49. - quo
  50. test.baz:
  51. spam: sausage
  52. cheese: bread
  53. # salt cloud config
  54. cloud:
  55. master: salt
  56. folders:
  57. - cloud.providers.d/key
  58. - cloud.profiles.d
  59. - cloud.maps.d
  60. providers:
  61. - ec2
  62. - gce
  63. aws_key: AWSKEYIJSHJAIJS6JSH
  64. aws_secret: AWSSECRETYkkDY1iQf9zRtl9+pW+Nm+aZY95
  65. gce_project: test
  66. gce_service_account_email_address: 867543072364-orl4h2tpp8jcn1tr9ipj@developer.gserviceaccount.com
  67. rsos_user: afeawofghob
  68. rsos_tenant: tenant_id_number
  69. rsos_apikey: WFJIOJEOIGHSOFHESO
  70. rsos_regions:
  71. - ORD
  72. - DFW
  73. - IAD
  74. - SYD
  75. - HKG
  76. reactor:
  77. - 'deploy':
  78. - /srv/salt/reactors/deploy.sls
  79. ssh_roster:
  80. prod1:
  81. host: host.example.com
  82. user: ubuntu
  83. sudo: True
  84. priv: /etc/salt/ssh_keys/sshkey.pem
  85. salt_cloud_certs:
  86. aws:
  87. pem: |
  88. -----BEGIN RSA PRIVATE KEY-----
  89. ...........
  90. -----END RSA PRIVATE KEY-----
  91. gce:
  92. pem: |
  93. -----BEGIN RSA PRIVATE KEY-----
  94. ...........
  95. -----END RSA PRIVATE KEY-----
  96. salt_formulas:
  97. git_opts:
  98. # The Git options can be customized differently for each
  99. # environment, if an option is missing in a given environment, the
  100. # value from "default" is used instead.
  101. default:
  102. # URL where the formulas git repositories are downloaded from
  103. # it will be suffixed with <formula-name>.git
  104. baseurl: https://github.com/saltstack-formulas
  105. # Directory where Git repositories are downloaded
  106. basedir: /srv/formulas
  107. # Update the git repository to the latest version (False by default)
  108. update: False
  109. # Options passed directly to the git.latest state
  110. options:
  111. rev: master
  112. dev:
  113. basedir: /srv/formulas/dev
  114. update: True
  115. options:
  116. rev: develop
  117. # Options of the file.directory state that creates the directory where
  118. # the git repositories of the formulas are stored
  119. basedir_opts:
  120. makedirs: True
  121. user: root
  122. group: root
  123. mode: 755
  124. # List of formulas to enable in each environment
  125. list:
  126. base:
  127. - salt-formula
  128. - postfix-formula
  129. dev:
  130. - salt-formula
  131. - postfix-formula
  132. - openssh-formula