Saltstack Official Salt Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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