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.

119 linhas
2.8KB

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