Skip to content

Commit

Permalink
Do not install if the resource is already defined
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaede committed Apr 30, 2015
1 parent 6870ce3 commit b75d91d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions manifests/repo/debian.pp
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,8 @@
repos => $repos,
pin => $pin,
include_src => false,
require => [
File['/etc/apt/trusted.gpg.d/graylog2-keyring.gpg'],
Package['apt-transport-https'],
],
required_packages => ['apt-transport-https'],
require => File['/etc/apt/trusted.gpg.d/graylog2-keyring.gpg']
}

file {'/etc/apt/trusted.gpg.d/graylog2-keyring.gpg':
Expand Down

0 comments on commit b75d91d

Please sign in to comment.