Saltstack Official Apt 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.

141 lines
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_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. distro: stable
  95. url: http://archive.raspbian.org/raspbian
  96. type: [source]
  97. key_url: https://archive.raspbian.org/raspbian.public.key
  98. debian-jessie:
  99. distro: jessie
  100. url: http://deb.debian.org/debian
  101. type: [source]
  102. comps: [main, contrib, non-free]
  103. dropbox:
  104. distro: jessie
  105. url: http://linux.dropbox.com/debian
  106. arch: [i386, amd64]
  107. keyid: 1C61A2656FB57B7E4DE0F4C1FC918B335044912E
  108. keyserver: hkp://pgp.mit.edu:80
  109. intranet:
  110. distro: stretch
  111. url: http://intranet.example.org
  112. opts: "trusted=yes"
  113. extranet:
  114. distro: stretch
  115. url: https://extranet.example.org
  116. opts:
  117. trusted: 'yes'
  118. another: whatever
  119. preferences:
  120. 00-rspamd:
  121. package: rspamd
  122. pin: origin rspamd.com
  123. priority: 650
  124. 01-all:
  125. pin: release stable
  126. priority: 610
  127. 02-all:
  128. pin: release testing
  129. priority: 600
  130. 03-all:
  131. pin: release unstable
  132. priority: 50