Browse Source

The patch fixes access to undefined variable

The patches fixes the situation when repo is not defined but
formula tries to get access to source parameter of the repo.

Change-Id: Ifa7b8475bfc2cece6803ab7da7b2d0d5cc12b652
Related-PROD: PROD-17001
pull/139/head
Oleh Hryhorov 7 years ago
parent
commit
3e68a4f78b
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      linux/system/repo.sls

+ 0
- 1
linux/system/repo.sls View File

@@ -150,7 +150,6 @@ linux_repo_{{ name }}_absent:
- keyid_ppa: {{ repo.keyid_ppa }}
{%- endif %}
{%- else %}
- name: {{ repo.source }}
- file: /etc/apt/sources.list.d/{{ name }}.list
{%- if repo.key_id is defined %}
- keyid: {{ repo.key_id }}

Loading…
Cancel
Save