Saltstack Official Apt Formula
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

8 роки тому
8 роки тому
8 роки тому
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. apt:
  5. # Set the right keyring for the distro (ie ubuntu-keyring or ...)
  6. keyring_package: debian-archive-keyring
  7. remove_apt_conf: true
  8. clean_apt_conf_d: true
  9. remove_sources_list: true
  10. clean_sources_list_d: true
  11. remove_preferences: true
  12. clean_preferences_d: true
  13. apt_conf_d:
  14. 30release:
  15. 'APT::Default-Release': stable
  16. '40dpkg-options':
  17. 'Dpkg::Options':
  18. - '--force-confdef'
  19. - '--force-confold'
  20. 60proxy:
  21. 'Acquire::ftp':
  22. Proxy: "ftp://127.0.0.1/"
  23. 'Proxy::http.us.debian.org': DIRECT
  24. ProxyLogin:
  25. - "USER $(PROXY_USER)"
  26. - "PASS $(PROXY_PASS)"
  27. - "USER $(SITE_USER)@$(SITE):$(SITE_PORT)"
  28. - "PASS $(SITE_PASS)"
  29. DSelect:
  30. Clean: auto
  31. Options: -f
  32. UpdateOptions: ""
  33. PromptAfterUpdate: "no"
  34. unattended:
  35. allowed_origins:
  36. - origin1
  37. - origin2
  38. package_blacklist:
  39. - package1
  40. - package2
  41. origins_patterns:
  42. - origin=SaltStack
  43. - origin=Debian,archive=stable,label=Debian-Security
  44. - origin=Debian,archive=oldstable,label=Debian-Security
  45. auto_fix_interrupted_dpkg: true
  46. minimal_steps: false
  47. install_on_shutdown: false
  48. mail: root
  49. sender: root
  50. # Prefer using `mail_report: 'only-on-error'` over old syntax,
  51. # mail_only_on_error: false`
  52. # allowed values: 'always', 'only-on-error', 'on-change'
  53. mail_report: 'only-on-error'
  54. remove_unused_dependencies: true
  55. automatic_reboot: false
  56. dl_limit: 0
  57. enabled: 1
  58. update_package_lists: 1
  59. download_upgradeable_packages: 1
  60. unattended_upgrade: 1
  61. auto_clean_interval: 7
  62. verbose: 2
  63. syslog_enable: true
  64. syslog_facility: 'auth'
  65. dpkg_options: '--force-confold'
  66. update_days: ['Mon', 'Fri']
  67. package_whitelist_strict: false
  68. keep_debs_after_install: false
  69. listchanges:
  70. profiles:
  71. cmdline:
  72. frontend: pager
  73. apt:
  74. frontend: pager
  75. email_address: root
  76. confirm: 1
  77. custom:
  78. frontend: browser
  79. browser: mozilla
  80. repositories:
  81. security-stable:
  82. distro: stable/updates
  83. url: http://security.debian.org
  84. comps: [main, contrib, non-free]
  85. arch: [amd64, i386]
  86. type: [binary, source]
  87. key_url: https://ftp-master.debian.org/keys/archive-key-10-security.asc
  88. updates:
  89. distro: stable-updates
  90. url: http://deb.debian.org/debian/
  91. comps: [main, contrib, non-free]
  92. key_url: https://ftp-master.debian.org/keys/archive-key-10.asc
  93. raspbian:
  94. # If you want to use a particular filename under /etc/apt/sources.list.d
  95. # set it here, with extension included
  96. filename: my_raspbian_repo.list
  97. distro: stable
  98. url: http://archive.raspbian.org/raspbian
  99. type: [source]
  100. key_url: https://archive.raspbian.org/raspbian.public.key
  101. debian-jessie:
  102. distro: jessie
  103. url: http://deb.debian.org/debian
  104. type: [source]
  105. comps: [main, contrib, non-free]
  106. dropbox:
  107. distro: jessie
  108. url: http://linux.dropbox.com/debian
  109. arch: [i386, amd64]
  110. keyid: 1C61A2656FB57B7E4DE0F4C1FC918B335044912E
  111. keyserver: hkp://pgp.mit.edu:80
  112. intranet:
  113. distro: stretch
  114. url: http://intranet.example.org
  115. opts: "trusted=yes"
  116. extranet:
  117. distro: stretch
  118. url: https://extranet.example.org
  119. opts:
  120. trusted: 'yes'
  121. another: whatever
  122. preferences:
  123. 00-rspamd:
  124. package: rspamd
  125. pin: origin rspamd.com
  126. priority: 650
  127. 01-all:
  128. pin: release stable
  129. priority: 610
  130. 02-all:
  131. pin: release testing
  132. priority: 600
  133. 03-all:
  134. pin: release unstable
  135. priority: 50