Saltstack Official Salt Formula
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

pillar.example 4.0KB

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