From 0a8294562d727b41c377910a90a8f48d0d629643 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iwan=20Cl=C3=A9ment?= Date: Sat, 17 Nov 2018 11:34:08 +0100 Subject: [PATCH] skip --- softwares/VisualStudioCode.sls | 1 + softwares/atom.sls | 1 + 2 files changed, 2 insertions(+) diff --git a/softwares/VisualStudioCode.sls b/softwares/VisualStudioCode.sls index a54da93..d7bf386 100644 --- a/softwares/VisualStudioCode.sls +++ b/softwares/VisualStudioCode.sls @@ -11,6 +11,7 @@ VisualStudioCode_Repository: - gpgcheck: 0 - repo_gpgcheck: 1 - gpgkey: https://packages.microsoft.com/keys/microsoft.asc + - skip_if_unavailable: True {% elif grains['os_family'] == 'Debian' %} - name: 'deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main' - humanname: Microsoft Visual Studio Code Repository diff --git a/softwares/atom.sls b/softwares/atom.sls index 29aa382..733703c 100644 --- a/softwares/atom.sls +++ b/softwares/atom.sls @@ -11,6 +11,7 @@ atom_repository: - gpgcheck: 0 - repo_gpgcheck: 1 - gpgkey: 'https://packagecloud.io/AtomEditor/atom/gpgkey' + - skip_if_unavailable: True {% elif grains['os_family'] == 'Debian' %} - name: 'deb [arch=amd64] https://packagecloud.io/AtomEditor/atom/any/ any main' - humanname: Atom Repository