From a1794706036eb13af72bd34a3c66b96f61735454 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Mon, 19 Feb 2024 21:24:49 +0100 Subject: [PATCH] updated repos state --- states/repos/install.sls | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/states/repos/install.sls b/states/repos/install.sls index 5394008..2104ffa 100644 --- a/states/repos/install.sls +++ b/states/repos/install.sls @@ -16,9 +16,9 @@ repo-key-{{ name }}: repo-{{ name }}: pkgrepo.managed: - humanname: {{ repo.humanname }} - {%- if repo.ppa %} - - ppa: {{ repo.ppasrc }} - - dist: {{ repo.dist }} + {%- if repo.ppa|default(None) %} + - ppa: {{ repo.ppa.src }} + - dist: {{ repo.ppa.dist }} {%- else %} - name: deb [signed-by=/etc/apt/keyrings/{{ name }}] {{ repo.src }} {{ repo.suites }} {{ repo.components }} - gpgcheck: {{ repo.gpgcheck|default(1) }}