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:
parent
fbb71f222b
commit
048001e859
1 changed files with 2 additions and 2 deletions
|
@ -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':
|
||||
|
|
Loading…
Reference in a new issue