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 3.2KB

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