Skip to content

Commit

Permalink
Merge pull request voxpupuli#1 from puppet-community/daenney/remove_u…
Browse files Browse the repository at this point in the history
…nattended_upgrades_remains

Remove some vars for unattended_upgrades.
  • Loading branch information
Morgan Haskel committed Feb 15, 2015
2 parents 501a1b5 + 4def398 commit 6dc52c1
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -37,41 +37,16 @@
}
}
case $distid {
'debian': {
case $distcodename {
'squeeze': {
$legacy_origin = true
$origins = ['${distro_id} oldstable', #lint:ignore:single_quote_string_with_variables
'${distro_id} ${distro_codename}-security', #lint:ignore:single_quote_string_with_variables
'${distro_id} ${distro_codename}-lts'] #lint:ignore:single_quote_string_with_variables
}
'wheezy': {
$legacy_origin = false
$origins = ['origin=Debian,archive=stable,label=Debian-Security',
'origin=Debian,archive=oldstable,label=Debian-Security']
}
default: {
$legacy_origin = false
$origins = ['origin=Debian,archive=stable,label=Debian-Security']
}
}
}
'ubuntu': {
case $distcodename {
'lucid': {
$ppa_options = undef
$legacy_origin = true
$origins = ['${distro_id} ${distro_codename}-security'] #lint:ignore:single_quote_string_with_variables
}
'precise', 'trusty', 'utopic', 'vivid': {
$ppa_options = '-y'
$legacy_origin = true
$origins = ['${distro_id}:${distro_codename}-security'] #lint:ignore:single_quote_string_with_variables
}
default: {
$ppa_options = '-y'
$legacy_origin = true
$origins = ['${distro_id}:${distro_codename}-security'] #lint:ignore:single_quote_string_with_variables
}
}
}
Expand Down

0 comments on commit 6dc52c1

Please sign in to comment.