Saltstack Official Salt Formula
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

164 linhas
4.2KB

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