summaryrefslogtreecommitdiff
path: root/manifests/params.pp
AgeCommit message (Collapse)Author
2016-06-27push logic behind apt::repos back in apt::paramsGabriel Filion
The logic in specifying the default value for apt::repos is in the wrong place: it should be in apt::params since this is exactly what this latter class is for. There's no special case that can involve making default the value follow the value of another parameter so there's no point in having that logic in the main class.
2016-06-27make backports_url follow debian_url by defaultGabriel Filion
backports_url was already set to the same value than debian_url by default, but it was set to the default value of debian_url. this meant that when giving a url to the debian_url parameter to the apt class, the backports_url would not follow and would still be using the default value for debian_url. with this change, when backports_url is not specified, but debian_url is, then both of them take on the value given to the debian_url. of course if backports_url is also given a value, then it keeps the value given by the user.
2016-02-01[refactor] Get rid of the disable_update parametervarac
The `disable_update` parameter has been removed. The main apt class defaults to *not* run an `apt-get update` on every run anyway so this parameter seems useless. You can include the `apt::update` class if you want it to be run every time.
2015-12-04Use $ubuntu_url as default value of $backports_url on UbuntuGabriel Filion
Ubuntu shouldn't be using debian backports by default. This was written by Anoine Beaupré, but split from the commit "move backports to snippets" since the change is unrelated and needs to be more visible in the commit history.
2015-10-09Fix merge conflict in READMEJerome Charaoui
2015-06-09allow possibility of disabling backportsAntoine Beaupré
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-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-02-07Add support for Squeeze LTS.intrigeri
2013-06-25Make custom_key_dir a class parameter and not a global variableSilvio Rhatto
Conflicts: manifests/init.pp
2013-03-20Use the main Debian archive's URL as the default URL for backports on Wheezy.intrigeri
The backports are now fully integrated with the main archive. See: https://labs.riseup.net/code/issues/4270 https://lists.debian.org/debian-devel-announce/2013/03/msg00007.html
2013-03-20Move apt class parameters to a ::params class.intrigeri
This brings no behaviour change yet, but will allow to set class parameters' default value depending on system facts.