-
Notifications
You must be signed in to change notification settings - Fork 462
Commit
…ts."
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
$repos = undef, | ||
$key = undef, | ||
$pin = 200, | ||
) inherits apt::params { | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
daenney
|
||
){ | ||
if $location { | ||
validate_string($location) | ||
$_location = $location | ||
|
@@ -29,18 +29,18 @@ | |
} | ||
} | ||
|
||
if ($::apt::params::xfacts['lsbdistid'] == 'debian' or $::apt::params::xfacts['lsbdistid'] == 'ubuntu') { | ||
if ($::apt::xfacts['lsbdistid'] == 'debian' or $::apt::xfacts['lsbdistid'] == 'ubuntu') { | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
daenney
|
||
unless $location { | ||
$_location = $::apt::params::backports['location'] | ||
$_location = $::apt::backports['location'] | ||
} | ||
unless $release { | ||
$_release = "${::apt::params::xfacts['lsbdistcodename']}-backports" | ||
$_release = "${::apt::xfacts['lsbdistcodename']}-backports" | ||
} | ||
unless $repos { | ||
$_repos = $::apt::params::backports['repos'] | ||
$_repos = $::apt::backports['repos'] | ||
} | ||
unless $key { | ||
$_key = $::apt::params::backports['key'] | ||
$_key = $::apt::backports['key'] | ||
} | ||
} else { | ||
unless $location and $release and $repos and $key { | ||
|
This seems ... problematic. How does scoping work now?