summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-09Fix debian_codename fact when falling back to parsing /etc/debian_versionJerome Charaoui
2015-10-09Improve unattended-upgrades origin selectorsJerome Charaoui
* On squeeze, use release fact instead of hardcoded release name * On wheezy, special-case because codename selector is not available * On jessie and up, start pulling in point-release updates. The codename selector ensures that we won't be upgrading to a new release automatically.
2015-10-09Fix merge conflict in READMEJerome Charaoui
2015-10-03Extraneous copy of license fileGabriel Filion
GPLv3 was already applied 3 years ago to this code base. See LICENSE file.
2015-09-14Merge remote-tracking branch 'shared/key' into shared-master (!17)intrigeri
2015-08-31Add validation for apt::key's name.intrigeri
It's great to document requirements in README, but error'ing out whenever the user messes up is even better IMO.
2015-08-31Quote apt-key variable parameter.intrigeri
This is not perfect protection against special chars that the shell may interpret, but should help at least in case $name contains spaces.
2015-08-31Linting.intrigeri
2015-08-31Merge remote-tracking branch 'shared/key' into tmpintrigeri
2015-08-26document the .gpg extension requirementAntoine Beaupré
2015-08-26fix install location of apt::key::plainAntoine Beaupré
2015-08-26fix typoAntoine Beaupré
2015-06-11fix typoAntoine Beaupré
2015-06-11allow for binary keys that can be removedAntoine Beaupré
2015-06-11add apt::key resource to deploy arbitrary keysAntoine Beaupré
the rationale of this is that isn't useful for third party modules, because they cannot inject keys in there without some serious apt class hijacking
2015-06-09Merge branch 'volatile-backports' into 'master'Jerome Charaoui
allow disabling backports (and volatile in ubuntu) as the module stands now, there's no way to disable backports. there are a few reasons why we want to allow this: * "tools, not policy" - if Debian doesn't ship with backports enabled by default, why should we change that policy? * too many sources.list entries can cause problems on `apt-get update`, which can run out of memory and require special config * if the pinning fails, some packages may be updated by mistake * even if pinning works, some may *want* to keep admins from installing anything from backports as a policy this keeps backports installed by default (begrudgingly) however. it just allows disabling it. it also allows disabling volatile in ubuntu, which wasn't possible before. See merge request !16
2015-06-09also disable volatile on ubuntu if relevantAntoine Beaupré
2015-06-09also control backports on ubuntuAntoine Beaupré
2015-06-09typoAntoine Beaupré
2015-06-09allow possibility of disabling backportsAntoine Beaupré
2015-06-03Fix bug with debian_nextcodenameJerome Charaoui
2015-05-11Replace debian_*() parser functions with factsJerome Charaoui
* Removes dependency on lsb-release and/or Facter >1.7 (values are based on $::lsbdistcodename, when available) * Simplifies maintenance: only lib/facter/util/* require updates as new releases are made Caveats: * apt::codename is removed; to override debian_* facts, set the FACTER_debian_codename environment variable for puppet * If tracking unstable, make sure lsb-release is installed, as other methods can't tell between testing and unstable
2015-05-11Avoid unattended security upgrades from stable if running oldstableJerome Charaoui
2015-05-07Adjusted sources.list template: LTS is now 'oldoldstable'Jerome Charaoui
2015-05-07Add upgrade notice about updated functionsJerome Charaoui
2015-05-07Fix typos in unattended-upgrades templateJerome Charaoui
2015-05-06Merge branch 'master' into 'master'Matt Taggart
Fix 50unattended-upgrades template for squeeze, better pattern for later release See merge request !12
2015-05-06Fix 50unattended-upgrades template for squeeze, better pattern for later releaseJerome Charaoui
2015-05-06don't call Exec[refresh_apt] after deploying unattended-upgrades configvarac
unattended-upgrades is run on a daily base by cron, no need to force an `apt-get update` after changing this file.
2015-05-06Merge branch 'master' into 'master'varac
add $ensure_version parameter, to allow for overriding which version of unattend… …ed-upgrades is installed See merge request !11
2015-05-06add $ensure_version parameter, to allow for overriding which version of ↵Micah Anderson
unattended-upgrades is installed
2015-05-06Merge branch 'master' into 'master'Micah
Fix error in 50unattended-upgrades.erb syntax, remove lsb fact See merge request !10
2015-05-06Fix error in 50unattended-upgrades.erb syntax, remove lsb factJerome Charaoui
2015-05-06jessie has been released!Micah Anderson
2015-04-28Merge branch 'master' into 'master'LeLutin
updates for debian sources There have been some recent changes in debian resulting in changes to sources * jessie was released and very soon there will be a jessie-backports, so the backports logic needs to handle that * the http.debian.net redirector has a new official url See merge request !8
2015-04-28the http redirector has a new official homeMatt Taggart
2015-04-28invert the backports logic because squeeze and older were the exception and ↵Matt Taggart
wheezy and newer the default
2015-04-18Merge branch 'preferences_utopic_erb' into 'master'LeLutin
+ preferences_utopic.erb See merge request !6
2015-04-18Merge branch 'fix_ubuntu_backports_entry' into 'master'LeLutin
fix duplicate <main> ubuntu backports entry See merge request !7
2015-04-17Document unattended_upgrades class parametersGabriel Filion
2015-04-17Add parameter for blacklisting a list of packages.Gabriel Filion
This functionality was lost because we stopped using a source file for the 50unattended-upgrades file that would previously let one override the configuration per release or per host.
2015-04-17unattended-upgrades: use an @ prefix for template variablesGabriel Filion
2015-04-17Parametrize unattended-upgrades mail recipientGabriel Filion
2015-04-17make it possible to opt out of MailOnlyOnErrorGabriel Filion
This combines all files into one template. It should make maintenance easier.
2015-03-31fix duplicate <main> ubuntu backports entryvarac
2015-03-31+ preferences_utopic.erbvarac
2015-02-28Merge branch 'fix-usage-of-module_dir' into 'master'Micah
Fix usage of module_dir I didn't test enough functionality before merging https://gitlab.com/shared-puppet-modules-group/apt/merge_requests/4 apparently: anything that depends on module_dir is currently broken. Sorry! See merge request !5
2015-02-28Add missing "include common::moduledir".intrigeri
Without this, $common::moduledir::module_dir_path is empty.
2015-02-28Merge branch 'master' into 'master'intrigeri
Merge with cmaisonnneuve and immerda See merge request !4
2015-02-20Merge branch 'master' of git://git.puppet.immerda.ch/module-aptJerome Charaoui
Conflicts: templates/Debian/sources.list.erb