Saltstack Official Salt Formula
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

pillar.example 4.4KB

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