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.

145 lines
3.3KB

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