File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 66{%- set formula = d.formula % }
77
88 {%- if d.pkg.docker.use_upstream in (' package' , ' repo' ) % }
9- {%- set enable_repo = grains.os_family in (' RedHat' , ' Debian' ) % }
9+ {%- set enable_repo = grains.os_family in (' RedHat' , ' Debian' ) and d.pkg.docker.get( ' repo ' ) % }
1010 {%- if enable_repo % }
1111 {%- set sls_repo_clean = tplroot ~ ' .software.package.repo.clean' % }
1212include:
Original file line number Diff line number Diff line change 66{%- set formula = d.formula % }
77
88 {%- if d.pkg.docker.use_upstream in (' package' , ' repo' ) % }
9- {%- set enable_repo = grains.os_family in (' RedHat' , ' Debian' ) % }
9+ {%- set enable_repo = grains.os_family in (' RedHat' , ' Debian' ) and d.pkg.docker.get( ' repo ' ) % }
1010 {%- set docker_pkg_version = d.version | default(d.pkg.version, true) % }
1111 {%- if enable_repo % }
1212 {%- set sls_repo_install = tplroot ~ ' .software.package.repo.install' % }
You can’t perform that action at this time.
0 commit comments