Saltstack Official Salt Formula
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

114 lines
2.7KB

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