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

169 lines
4.3KB

  1. salt:
  2. # Set this to true to clean any non-salt-formula managed files out of
  3. # /etc/salt/{master,minion}.d ... You really don't want to do this on 2015.2
  4. # and up as it'll wipe out important files that Salt relies on.
  5. clean_config_d_dir: False
  6. # Set this to False to not have the formula install packages (in the case you
  7. # install Salt via git/pip/etc.)
  8. install_packages: True
  9. # to overwrite map.jinja salt packages
  10. lookup:
  11. salt-master: 'salt-master'
  12. salt-minion: 'salt-minion'
  13. salt-syndic: 'salt-syndic'
  14. salt-cloud: 'salt-cloud'
  15. salt-ssh: 'salt-ssh'
  16. # salt master config
  17. master:
  18. fileserver_backend:
  19. - git
  20. - roots
  21. gitfs_remotes:
  22. - git://github.com/saltstack-formulas/salt-formula.git:
  23. - base: develop
  24. file_roots:
  25. base:
  26. - /srv/salt
  27. pillar_roots:
  28. base:
  29. - /srv/pillar
  30. # for salt-api with tornado rest interface
  31. rest_tornado:
  32. port: 8000
  33. ssl_crt: /etc/pki/api/certs/server.crt
  34. ssl_key: /etc/pki/api/certs/server.key
  35. debug: False
  36. disable_ssl: False
  37. # salt minion config:
  38. minion:
  39. # single master setup
  40. master: salt
  41. # multi master setup
  42. #master:
  43. #- salt_master_1
  44. #- salt_master_2
  45. fileserver_backend:
  46. - git
  47. - roots
  48. gitfs_remotes:
  49. - git://github.com/saltstack-formulas/salt-formula.git:
  50. - base: develop
  51. file_roots:
  52. base:
  53. - /srv/salt
  54. pillar_roots:
  55. base:
  56. - /srv/pillar
  57. module_config:
  58. test: True
  59. test.foo: foo
  60. test.bar:
  61. - baz
  62. - quo
  63. test.baz:
  64. spam: sausage
  65. cheese: bread
  66. # salt mine setup
  67. mine_interval: 60
  68. # mine_functions can be set at the top level of the pillar, and
  69. # that is preferable because it doesn't affect the conf file and
  70. # doesn't require a minion restart. However, you can configure it
  71. # here instead if you really want to.
  72. mine_functions:
  73. network.interface_ip: [eth0]
  74. # salt cloud config
  75. cloud:
  76. master: salt
  77. # You can take profile and map templates from an alternate location
  78. # if you want to write your own.
  79. template_sources:
  80. providers: salt://salt/files/cloud.providers.d
  81. profiles: salt://salt/files/cloud.profiles.d
  82. maps: salt://salt/files/cloud.maps.d
  83. # These settings are used by the default provider templates and
  84. # only need to be set for the ones you're using.
  85. aws_key: AWSKEYIJSHJAIJS6JSH
  86. aws_secret: AWSSECRETYkkDY1iQf9zRtl9+pW+Nm+aZY95
  87. gce_project: test
  88. gce_service_account_email_address: 867543072364-orl4h2tpp8jcn1tr9ipj@developer.gserviceaccount.com
  89. rsos_user: afeawofghob
  90. rsos_tenant: tenant_id_number
  91. rsos_apikey: WFJIOJEOIGHSOFHESO
  92. rsos_regions:
  93. - ORD
  94. - DFW
  95. - IAD
  96. - SYD
  97. - HKG
  98. reactor:
  99. - 'deploy':
  100. - /srv/salt/reactors/deploy.sls
  101. ssh_roster:
  102. prod1:
  103. host: host.example.com
  104. user: ubuntu
  105. sudo: True
  106. priv: /etc/salt/ssh_keys/sshkey.pem
  107. salt_cloud_certs:
  108. aws:
  109. pem: |
  110. -----BEGIN RSA PRIVATE KEY-----
  111. ...........
  112. -----END RSA PRIVATE KEY-----
  113. gce:
  114. pem: |
  115. -----BEGIN RSA PRIVATE KEY-----
  116. ...........
  117. -----END RSA PRIVATE KEY-----
  118. salt_formulas:
  119. git_opts:
  120. # The Git options can be customized differently for each
  121. # environment, if an option is missing in a given environment, the
  122. # value from "default" is used instead.
  123. default:
  124. # URL where the formulas git repositories are downloaded from
  125. # it will be suffixed with <formula-name>.git
  126. baseurl: https://github.com/saltstack-formulas
  127. # Directory where Git repositories are downloaded
  128. basedir: /srv/formulas
  129. # Update the git repository to the latest version (False by default)
  130. update: False
  131. # Options passed directly to the git.latest state
  132. options:
  133. rev: master
  134. dev:
  135. basedir: /srv/formulas/dev
  136. update: True
  137. options:
  138. rev: develop
  139. # Options of the file.directory state that creates the directory where
  140. # the git repositories of the formulas are stored
  141. basedir_opts:
  142. makedirs: True
  143. user: root
  144. group: root
  145. mode: 755
  146. # List of formulas to enable in each environment
  147. list:
  148. base:
  149. - salt-formula
  150. - postfix-formula
  151. dev:
  152. - salt-formula
  153. - postfix-formula
  154. - openssh-formula