diff options
-rw-r--r-- | templates/sources.list+backports.erb | 22 | ||||
-rw-r--r-- | templates/sources.list+unstable.erb | 15 | ||||
-rw-r--r-- | templates/sources.list.erb | 7 |
3 files changed, 37 insertions, 7 deletions
diff --git a/templates/sources.list+backports.erb b/templates/sources.list+backports.erb new file mode 100644 index 0000000..7b99434 --- /dev/null +++ b/templates/sources.list+backports.erb @@ -0,0 +1,22 @@ +# This file is brought to you by puppet + +# basic <%= lsbdistcodename %> +deb http://ftp.at.debian.org/debian <%= lsbdistcodename %> main contrib non-free +# security suppport +<% if (lsbdistcodename == "sid" || lsbdistcodename == "unstable") -%> +# There is no security mirror for <%= lsbdistcodename %> +<% else -%> +deb http://security.debian.org/ <%= lsbdistcodename %>/updates main contrib non-free +<% end -%> +# local packages +#deb http://puppetmaster:81/ / + +# additional packages, see preferences +#deb http://ftp.at.debian.org/debian sid main + +# backports +<% if (lsbdistcodename == "sid" || lsbdistcodename == "unstable") -%> +# There are no backports for for <%= lsbdistcodename %> +<% else -%> +deb http://www.backports.org/debian/ <%= lsbdistcodename %>-backports main +<% end -%> diff --git a/templates/sources.list+unstable.erb b/templates/sources.list+unstable.erb new file mode 100644 index 0000000..71d2987 --- /dev/null +++ b/templates/sources.list+unstable.erb @@ -0,0 +1,15 @@ +# This file is brought to you by puppet + +# basic <%= lsbdistcodename %> +deb http://ftp.at.debian.org/debian <%= lsbdistcodename %> main contrib non-free +# security suppport +<% if (lsbdistcodename == "sid" || lsbdistcodename == "unstable") -%> +# There is no security mirror for <%= lsbdistcodename %> +<% else -%> +deb http://security.debian.org/ <%= lsbdistcodename %>/updates main contrib non-free +<% end -%> +# local packages +#deb http://puppetmaster:81/ / + +# follow unstable, pinned in preferences +deb http://ftp.at.debian.org/debian sid main contrib non-free diff --git a/templates/sources.list.erb b/templates/sources.list.erb index 7b99434..e4077bb 100644 --- a/templates/sources.list.erb +++ b/templates/sources.list.erb @@ -13,10 +13,3 @@ deb http://security.debian.org/ <%= lsbdistcodename %>/updates main contrib non- # additional packages, see preferences #deb http://ftp.at.debian.org/debian sid main - -# backports -<% if (lsbdistcodename == "sid" || lsbdistcodename == "unstable") -%> -# There are no backports for for <%= lsbdistcodename %> -<% else -%> -deb http://www.backports.org/debian/ <%= lsbdistcodename %>-backports main -<% end -%> |