Saltstack Official Salt Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

128 lines
2.9KB

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