Skip to content
This repository has been archived by the owner on Sep 12, 2020. It is now read-only.

Commit

Permalink
update to use new apt repo and full fingerprint
Browse files Browse the repository at this point in the history
  • Loading branch information
tobru committed Nov 23, 2015
1 parent 03cb1b1 commit 0ee8082
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
16 changes: 10 additions & 6 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,19 @@
$package_repo_key = $::knot::package_repo_key
$package_repo_key_src = $::knot::package_repo_key_src

apt::source { 'knot_official':
comment => 'Official repository for knot provided by knot-dns.cz',
::apt::source { 'knot':
comment => 'Official repository for Knot DNS provided by knot-dns.cz',
location => $package_repo_location,
release => $::lsbdistcodename,
repos => $package_repo_repos,
key => $package_repo_key,
key_source => $package_repo_key_src,
include_src => true,
include_deb => true,
key => {
'id' => $package_repo_key,
'source' => $package_repo_key_src,
},
include => {
'deb' => true,
'src' => false,
},
} ->
package { $package_name:
ensure => $package_ensure,
Expand Down
4 changes: 2 additions & 2 deletions manifests/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@
'Debian': {
$package_repo_location = 'http://deb.knot-dns.cz/debian/'
$package_repo_repos = 'main'
$package_repo_key = '4A7A714D'
$package_repo_key = 'DF3D585DB8F0EB658690A554AC0E47584A7A714D'
$package_repo_key_src = 'http://deb.knot-dns.cz/debian/apt.key'
}
'Ubuntu': {
$package_repo_location = 'http://ppa.launchpad.net/cz.nic-labs/knot-dns/ubuntu'
$package_repo_repos = 'main'
$package_repo_key = 'F9C59A45'
$package_repo_key = '52463488670E69A092007C24F2331238F9C59A45'
$package_repo_key_src = undef
}
default: {
Expand Down

0 comments on commit 0ee8082

Please sign in to comment.