Skip to content

Commit

Permalink
Merge pull request #281 from daenney/unattended-upgrades-squeeze-origins
Browse files Browse the repository at this point in the history
unattended-upgrades: Fix origins for Squeeze.
  • Loading branch information
Ashley Penney committed Apr 3, 2014
2 parents 543f0cc + fefd530 commit 3e5668b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
'squeeze': {
$backports_location = 'http://backports.debian.org/debian-backports'
$legacy_origin = true
$origins = ['${distro_id} ${distro_codename}-security']
$origins = ['${distro_id} oldstable',
'${distro_id} ${distro_codename}-security']
}
'wheezy': {
$backports_location = 'http://ftp.debian.org/debian/'
Expand Down
2 changes: 2 additions & 0 deletions spec/classes/unattended_upgrades_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@
/^Unattended-Upgrade::Allowed-Origins/
).with_content(
/"\${distro_id} \${distro_codename}-security";/
).with_content(
/"\${distro_id} oldstable";/
)
}
end
Expand Down

0 comments on commit 3e5668b

Please sign in to comment.