Saltstack Official Salt Formula
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

152 lines
3.6KB

  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 cloud config
  61. cloud:
  62. master: salt
  63. folders:
  64. - cloud.providers.d/key
  65. - cloud.profiles.d
  66. - cloud.maps.d
  67. providers:
  68. - ec2
  69. - gce
  70. aws_key: AWSKEYIJSHJAIJS6JSH
  71. aws_secret: AWSSECRETYkkDY1iQf9zRtl9+pW+Nm+aZY95
  72. gce_project: test
  73. gce_service_account_email_address: 867543072364-orl4h2tpp8jcn1tr9ipj@developer.gserviceaccount.com
  74. rsos_user: afeawofghob
  75. rsos_tenant: tenant_id_number
  76. rsos_apikey: WFJIOJEOIGHSOFHESO
  77. rsos_regions:
  78. - ORD
  79. - DFW
  80. - IAD
  81. - SYD
  82. - HKG
  83. reactor:
  84. - 'deploy':
  85. - /srv/salt/reactors/deploy.sls
  86. ssh_roster:
  87. prod1:
  88. host: host.example.com
  89. user: ubuntu
  90. sudo: True
  91. priv: /etc/salt/ssh_keys/sshkey.pem
  92. salt_cloud_certs:
  93. aws:
  94. pem: |
  95. -----BEGIN RSA PRIVATE KEY-----
  96. ...........
  97. -----END RSA PRIVATE KEY-----
  98. gce:
  99. pem: |
  100. -----BEGIN RSA PRIVATE KEY-----
  101. ...........
  102. -----END RSA PRIVATE KEY-----
  103. salt_formulas:
  104. git_opts:
  105. # The Git options can be customized differently for each
  106. # environment, if an option is missing in a given environment, the
  107. # value from "default" is used instead.
  108. default:
  109. # URL where the formulas git repositories are downloaded from
  110. # it will be suffixed with <formula-name>.git
  111. baseurl: https://github.com/saltstack-formulas
  112. # Directory where Git repositories are downloaded
  113. basedir: /srv/formulas
  114. # Update the git repository to the latest version (False by default)
  115. update: False
  116. # Options passed directly to the git.latest state
  117. options:
  118. rev: master
  119. dev:
  120. basedir: /srv/formulas/dev
  121. update: True
  122. options:
  123. rev: develop
  124. # Options of the file.directory state that creates the directory where
  125. # the git repositories of the formulas are stored
  126. basedir_opts:
  127. makedirs: True
  128. user: root
  129. group: root
  130. mode: 755
  131. # List of formulas to enable in each environment
  132. list:
  133. base:
  134. - salt-formula
  135. - postfix-formula
  136. dev:
  137. - salt-formula
  138. - postfix-formula
  139. - openssh-formula