Skip to content

Commit

Permalink
Remove apt::key was wrong, we only need to remove the requirement
Browse files Browse the repository at this point in the history
It is not really elegant to have them seperated, but tying them together
will create a circular dep with init.pp.

Signed-off-by: Henry <h.paulissen@tmg.nl>
  • Loading branch information
Henry committed Oct 7, 2017
1 parent cd2b1df commit 3d2c888
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manifests/key.pp
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,13 @@
'Debian': {
if versioncmp($facts['os']['release']['major'], '9') >= 0 {
ensure_packages(['dirmngr'])
Apt::Key<| title == $title |>
}
}
'Ubuntu': {
if versioncmp($facts['os']['release']['full'], '17.04') >= 0 {
ensure_packages(['dirmngr'])
Apt::Key<| title == $title |>
}
}
default: { }
Expand Down

0 comments on commit 3d2c888

Please sign in to comment.