diff options
author | Micah Anderson <micah@riseup.net> | 2012-12-18 16:41:10 -0500 |
---|---|---|
committer | Micah Anderson <micah@riseup.net> | 2012-12-18 16:41:10 -0500 |
commit | e66823269e7799d88e5f071b32bd3415c1e477ce (patch) | |
tree | f90bba2585d038d421381bf62c86c57feb93b169 /manifests | |
parent | 4f433dbd5238e6b5211d3b0f240ff58031c3da2b (diff) |
switch default $debian_url to use http.debian.net which is more accurate and up-to-date than cdn.debian.net
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 2ae691f..581f058 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -21,7 +21,7 @@ class apt { } $debian_url = $apt_debian_url ? { - '' => 'http://cdn.debian.net/debian/', + '' => 'http://http.debian.net/debian/', default => "${apt_debian_url}", } $security_url = $apt_security_url ? { @@ -68,6 +68,9 @@ class apt { $codename = $lsbdistcodename $release = $lsbdistrelease } + 'n/a': { + fail("Unknown lsbdistcodename reported by facter: '$lsbdistcodename', please fix this by setting this variable in your manifest.") + } default: { $codename = $lsbdistcodename $release = debian_release($codename) |