From bda3505cf1c783d588f374345b259fa974822ed3 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Sat, 27 Nov 2021 13:36:41 +0100 Subject: [PATCH] updated go-aptproxy state --- states/go-aptproxy/install.sls | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/states/go-aptproxy/install.sls b/states/go-aptproxy/install.sls index 3fcf070..4856aa0 100644 --- a/states/go-aptproxy/install.sls +++ b/states/go-aptproxy/install.sls @@ -2,18 +2,18 @@ {%- from "go-aptproxy/map.jinja" import goaptproxy with context %} go-aptproxy-archive-extract: archive.extracted: - - name: {{ goaptproxy.release_dir }}/go-aptproxy-{{ go-aptproxy.version }} - - source: {{ goaptproxy.mirror }}/{{ go-aptproxy.version }}/go-aptproxy-{{ go-aptproxy.version }}-{{ go-aptproxy.os }}-{{ go-aptproxy.arch }}.tar.gz + - name: {{ goaptproxy.release_dir }}/go-aptproxy-{{ goaptproxy.version }} + - source: {{ goaptproxy.mirror }}/{{ goaptproxy.version }}/go-aptproxy-{{ goaptproxy.version }}-{{ goaptproxy.os }}-{{ goaptproxy.arch }}.tar.gz - skip_verify: true - enforce_toplevel: false - - if_missing: {{ goaptproxy.release_dir }}/go-aptproxy-{{ go-aptproxy.version }} + - if_missing: {{ goaptproxy.release_dir }}/go-aptproxy-{{ goaptproxy.version }} - watch_in: - service: go-aptproxy-service go-aptproxy-binary-symlink: file.symlink: - name: {{ goaptproxy.install_dir }}/go-aptproxy - - target: {{ goaptproxy.release_dir }}/go-aptproxy-{{ go-aptproxy.version }} + - target: {{ goaptproxy.release_dir }}/go-aptproxy-{{ goaptproxy.version }} - require: - archive: go-aptproxy-archive-extract - watch_in: