Skip to content

Commit

Permalink
Merge pull request #1110 from avisi/master
Browse files Browse the repository at this point in the history
Fix dependency on apt-transport-https
  • Loading branch information
wyardley committed Aug 11, 2017
2 parents 6ece5c4 + 160b49b commit 2234e7d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions manifests/package/debian.pp
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@

if $manage_repo {
include '::apt'
Exec['apt_update'] -> Package['nginx']
ensure_packages([ 'apt-transport-https', 'ca-certificates' ])
Package['apt-transport-https','ca-certificates'] -> Exec['apt_update'] -> Package['nginx']

case $package_source {
'nginx', 'nginx-stable': {
Expand All @@ -55,8 +56,6 @@
key => {'id' => '16378A33A6EF16762922526E561F9B9CAC40B2F7'},
}

ensure_packages([ 'apt-transport-https', 'ca-certificates' ])

Package['apt-transport-https','ca-certificates'] -> Apt::Source['nginx']

package { 'passenger':
Expand Down

0 comments on commit 2234e7d

Please sign in to comment.