summaryrefslogtreecommitdiff
path: root/templates/Ubuntu
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.
2015-12-04Merge branch 'support_missing_ubuntu_releases' into 'master' Micah
[feat] Support vivid, wily, xenial ubuntu release See merge request !27
2015-12-04move backports to snippetsAntoine Beaupré
this allows for third party modules to enable this on the fly
2015-11-02[feat] Support vivid, wily, xenial ubuntu releasevarac
2015-10-09Fix merge conflict in READMEJerome Charaoui
2015-06-09also disable volatile on ubuntu if relevantAntoine Beaupré
2015-06-09also control backports on ubuntuAntoine 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-18Merge branch 'preferences_utopic_erb' into 'master'LeLutin
+ preferences_utopic.erb See merge request !6
2015-03-31fix duplicate <main> ubuntu backports entryvarac
2015-03-31+ preferences_utopic.erbvarac
2012-12-05fix for $lsbdistcodename regression introduced by ↵Micah Anderson
ac166366d7baa45b74e09974289d9fb2dad38e67 What happened here was the $codename = $::lsbdistcodename was removed from init.pp and replaced with just $::lsbdistcodename whereever $codename was used. Then in the sources.list.erb and preferences files things were changed like this: <pre>+### Debian current: <%= codename = scope.lookupvar('::lsbdistcodename') %> ... -deb <%= debian_url %> <%= codename %> <%= repos %> ... +deb <%= debian_url=scope.lookupvar('apt::debian_url') %> <%= codename %> <%= repos=scope.lookupvar('apt::repos') %> </pre> This meant that the codename was always set to lsbdistcodename, and you because in newer puppet versions you cannot assign a value to a top-level facter variable, it is not possible to change this. Because we cannot change $lsbdistcodename, we have to fix this by allowing the user to pass a different, non-top-level scoped variable to the class as a parameter, which defaults to $::lsbdistcodename, so that upgrades can be triggered. This is documented in the README in an upgrade notice
2012-08-16Merge remote-tracking branch 'shared/master'mh
Conflicts: README manifests/dist_upgrade/initiator.pp manifests/init.pp manifests/preseeded_package.pp manifests/unattended_upgrades.pp
2012-06-18fix auto repo selectionmh
the actual repos are in real_repos as by default we have auto.
2012-06-08refactor things for >2.7mh
2012-05-20Changing ubuntu preferences templates to symlinksSilvio Rhatto
2012-05-20Adding precise templateSilvio Rhatto
2012-05-20Adding preferences_oneiric.erbSilvio Rhatto
2011-05-07Add empty line at the end of preferences templates.intrigeri
... else the first block added by apt::preferences_snippet is in the same paragraph as the last block provided by the template.
2011-01-29updated Ubuntu preferences to include security + updatesvarac
2011-01-23preferences.pp for ubuntu maverickvarac
2010-12-09fix compile syntax error in ubuntu sources.list, closes #2639Micah Anderson
2010-11-21Merge remote branch 'immerda/master'.intrigeri
Conflicts: README files/preferences templates/Debian/sources.list.deb-src.erb templates/Debian/sources.list.volatile.erb templates/Ubuntu/sources.list.backports.erb templates/Ubuntu/sources.list.deb-src.erb
2010-11-21Merge commit '1b0bc415977c1c8b49390e0cdb1361769e0fdbae'.intrigeri
Merging one more commit. Conflicts: files/preferences templates/Debian/sources.list.deb-src.erb templates/Debian/sources.list.volatile.erb templates/Ubuntu/sources.list.backports.erb templates/Ubuntu/sources.list.deb-src.erb
2010-10-25Change "brought to you" into "managed" in headersGabriel Filion
File headers are there to indicate that the files should not be touched directly on the server. By changing the first sentence to "This file is managed by Puppet", we reinforce the idea that it is already taken care of by something else. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2010-10-25Add $main_apt_sourceGabriel Filion
Currently, it's either we use the default source that's hardcoded in the sources.list template or we redefine entirely this template. Make it easier to just change the URL of the apt source while using the rest of the default template by adding a $main_apt_source variable. Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2010-10-25Add file headers for awareness of puppet presenceGabriel Filion
Signed-off-by: Gabriel Filion <lelutin@gmail.com>
2010-10-17Support choosing a custom Ubuntu mirror.intrigeri
2010-10-17Support $apt_repos for Ubuntu as well.intrigeri
2010-10-17Merge remote branch 'nadir/master' into wipintrigeri
Conflicts: manifests/default_preferences.pp manifests/default_sources_list.pp manifests/init.pp templates/Debian/sources.list.deb-src.erb templates/Debian/sources.list.erb templates/Debian/sources.list.volatile.erb templates/Ubuntu/sources.list.erb
2010-10-17Bring in a bit of Ubuntu support from Nadir.intrigeri
2009-12-17Increased Ubuntu supportVarac