Skip to content

Commit

Permalink
Merge pull request #851 from Barzahlen/master
Browse files Browse the repository at this point in the history
Conditionally adding the packages if they are not added previously
  • Loading branch information
3flex authored Aug 11, 2016
2 parents 127bdab + 8bd354a commit 2b566d0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions manifests/package/debian.pp
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,9 @@
key => '16378A33A6EF16762922526E561F9B9CAC40B2F7',
}

package { ['apt-transport-https', 'ca-certificates']:
ensure => 'present',
before => Apt::Source['nginx'],
}
ensure_packages([ 'apt-transport-https', 'ca-certificates' ])

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

package { 'passenger':
ensure => 'present',
Expand Down

0 comments on commit 2b566d0

Please sign in to comment.