nginx:📦:debian: only include ::apt when needed

Only include ::apt when $manage_repo is true, it's not needed otherwise.
This commit is contained in:
Sebastian Schmidt 2014-04-19 20:41:14 +02:00
parent fbb71f222b
commit 048001e859

View file

@ -29,9 +29,9 @@ class nginx::package::debian(
anchor { 'nginx::apt_repo' : }
include '::apt'
if $manage_repo {
include '::apt'
case $package_source {
'nginx': {
apt::source { 'nginx':