Saltstack Official Apt Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

138 行
3.5KB

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