From 863f6ba863f78cfd6a22db3e5e33263646bd2b46 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 29 Jul 2016 10:35:51 -0300 Subject: Adds back simpler nodo::subsystem::apt --- templates/apt/Debian.sources.list.erb | 20 ++++++++++++++++++++ templates/apt/sources.list.erb | 0 2 files changed, 20 insertions(+) create mode 100644 templates/apt/Debian.sources.list.erb delete mode 100644 templates/apt/sources.list.erb (limited to 'templates/apt') diff --git a/templates/apt/Debian.sources.list.erb b/templates/apt/Debian.sources.list.erb new file mode 100644 index 0000000..b45a5e2 --- /dev/null +++ b/templates/apt/Debian.sources.list.erb @@ -0,0 +1,20 @@ +# This file is managed by puppet +# all local modifications will be overwritten + +### Debian current: <%= scope.lookupvar('::lsbdistcodename') %> + +# basic +deb http://http.debian.net/debian/ <%= scope.lookupvar('::lsbdistcodename') %> main contrib non-free +deb-src http://http.debian.net/debian/ <%= scope.lookupvar('::lsbdistcodename') %> main contrib non-free + +# updates +deb http://http.debian.net/debian/ <%= scope.lookupvar('::lsbdistcodename') %>-updates main contrib non-free +deb-src http://http.debian.net/debian/ <%= scope.lookupvar('::lsbdistcodename') %>-updates main contrib non-free + +# security +deb http://security.debian.org/ <%= scope.lookupvar('::lsbdistcodename') %>/updates main contrib non-free +deb-src http://security.debian.org/ <%= scope.lookupvar('::lsbdistcodename') %>/updates main contrib non-free + +# backports +deb http://http.debian.net/debian/ <%= scope.lookupvar('::lsbdistcodename') %>-backports main contrib non-free +deb-src http://http.debian.net/debian/ <%= scope.lookupvar('::lsbdistcodename') %>-backports main contrib non-free diff --git a/templates/apt/sources.list.erb b/templates/apt/sources.list.erb deleted file mode 100644 index e69de29..0000000 -- cgit v1.2.3