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.

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