diff --git a/states/repos/install.sls b/states/repos/install.sls index 2104ffa..25aafef 100644 --- a/states/repos/install.sls +++ b/states/repos/install.sls @@ -38,7 +38,7 @@ repo-{{ name }}: repo-{{ name }}: file.absent: -{%- if not repo.ppa %} +{%- if not repo.ppa|default(None) %} - name: /etc/apt/sources.list.d/{{ name }}.list {%- endif %} {%- endif %}