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.

pillar.example 4.6KB

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