diff --git a/states/coronafana/install.sls b/states/coronafana/install.sls index 1ed6af8..dbc229d 100644 --- a/states/coronafana/install.sls +++ b/states/coronafana/install.sls @@ -12,6 +12,7 @@ coronafana-binary-symlink: file.symlink: - name: {{ coronafana.install_dir }}/coronafana - target: {{ coronafana.release_dir }}/coronafana-{{ coronafana.version }} + - force: true - require: - archive: coronafana-archive-extract diff --git a/states/dip/install.sls b/states/dip/install.sls index fd06904..0316b89 100644 --- a/states/dip/install.sls +++ b/states/dip/install.sls @@ -14,6 +14,7 @@ dip-binary-symlink: file.symlink: - name: {{ dip.install_dir }}/dip - target: {{ dip.release_dir }}/dip-{{ dip.version }} + - force: true - require: - archive: dip-archive-extract - watch_in: @@ -23,4 +24,4 @@ dip-cleanup: software.cleanup: - name: dip - path: {{ dip.release_dir }} - - version: "{{ dip.version }}" \ No newline at end of file + - version: "{{ dip.version }}" diff --git a/states/dkron/install.sls b/states/dkron/install.sls index 3ec9fa5..a7a0081 100644 --- a/states/dkron/install.sls +++ b/states/dkron/install.sls @@ -22,6 +22,7 @@ dkron-bin-symlink: - name: {{ dkron.install_dir }}/dkron - target: {{ dkron.release_dir }}/dkron-{{ dkron.version }} - user: {{ dkron.runuser }} + - force: true - watch_in: - service: dkron-service diff --git a/states/fuelprices/install.sls b/states/fuelprices/install.sls index c268d3b..b6913ef 100644 --- a/states/fuelprices/install.sls +++ b/states/fuelprices/install.sls @@ -12,6 +12,7 @@ fuelprices-binary-symlink: file.symlink: - name: {{ fuelprices.install_dir }}/fuelprices - target: {{ fuelprices.release_dir }}/fuelprices-{{ fuelprices.version }} + - force: true - require: - archive: fuelprices-archive-extract diff --git a/states/g2g/install.sls b/states/g2g/install.sls index dd4e52f..9f18ced 100644 --- a/states/g2g/install.sls +++ b/states/g2g/install.sls @@ -12,6 +12,7 @@ g2g-binary-symlink: file.symlink: - name: {{ g2g.install_dir }}/g2g - target: {{ g2g.release_dir }}/g2g-{{ g2g.version }} + - force: true - require: - archive: g2g-archive-extract diff --git a/states/go-aptproxy/install.sls b/states/go-aptproxy/install.sls index 965a4dd..ed70e01 100644 --- a/states/go-aptproxy/install.sls +++ b/states/go-aptproxy/install.sls @@ -14,6 +14,7 @@ go-aptproxy-binary-symlink: file.symlink: - name: {{ goaptproxy.install_dir }}/go-aptproxy - target: {{ goaptproxy.release_dir }}/go-aptproxy-{{ goaptproxy.version }} + - force: true - require: - archive: go-aptproxy-archive-extract - watch_in: diff --git a/states/influxdb/install.sls b/states/influxdb/install.sls index 5fdd081..4c73e63 100644 --- a/states/influxdb/install.sls +++ b/states/influxdb/install.sls @@ -35,6 +35,7 @@ influxdb-bin-symlink: file.symlink: - name: {{ influxdb.install_dir }}/influxdb - target: {{ influxdb.release_dir }}/influxdb-{{ influxdb.version }} + - force: true influxdb-data-dir: file.directory: diff --git a/states/ipbl/install.sls b/states/ipbl/install.sls index 5906ff9..1ee8b1f 100644 --- a/states/ipbl/install.sls +++ b/states/ipbl/install.sls @@ -18,6 +18,7 @@ ipbl-binary-symlink: file.symlink: - name: {{ ipbl.install_dir }}/ipbl - target: {{ ipbl.release_dir }}/ipbl-{{ ipbl.version }} + - force: true - require: - archive: ipbl-archive-extract - watch_in: diff --git a/states/ipblc/install.sls b/states/ipblc/install.sls index 277a8d8..73b29fb 100644 --- a/states/ipblc/install.sls +++ b/states/ipblc/install.sls @@ -18,6 +18,7 @@ ipblc-binary-symlink: file.symlink: - name: {{ ipblc.install_dir }}/ipblc - target: {{ ipblc.release_dir }}/ipblc-{{ ipblc.version }} + - force: true - require: - archive: ipblc-archive-extract - watch_in: diff --git a/states/micromdm/install.sls b/states/micromdm/install.sls index d3ab14c..a94665f 100644 --- a/states/micromdm/install.sls +++ b/states/micromdm/install.sls @@ -32,6 +32,7 @@ micromdm-bin-symlink: file.symlink: - name: {{ micromdm.install_dir }}/micromdm - target: {{ micromdm.release_dir }}/micromdm-{{ micromdm.version }}/build/{{ micromdm.os }} + - force: true micromdm-configpath-dir: file.directory: diff --git a/states/netbox/install.sls b/states/netbox/install.sls index f5d0998..d64bf45 100644 --- a/states/netbox/install.sls +++ b/states/netbox/install.sls @@ -22,6 +22,7 @@ netbox-install-link: file.symlink: - name: {{ netbox.install_dir }}/netbox - target: {{ netbox.release_dir }}/netbox-{{ netbox.version }} + - force: true - watch_in: - service: netbox-service - require: @@ -87,3 +88,5 @@ netbox-cleanup: - name: netbox - path: {{ netbox.release_dir }} - version: "{{ netbox.version }}" + - require: + - file: netbox-install-link diff --git a/states/qrz/install.sls b/states/qrz/install.sls index 75200d4..9156e1a 100644 --- a/states/qrz/install.sls +++ b/states/qrz/install.sls @@ -14,6 +14,7 @@ qrz-binary-symlink: file.symlink: - name: {{ qrz.install_dir }}/qrz - target: {{ qrz.release_dir }}/qrz-{{ qrz.version }} + - force: true - require: - archive: qrz-archive-extract - watch_in: diff --git a/states/syncthing/install.sls b/states/syncthing/install.sls index f208f82..c5dc354 100644 --- a/states/syncthing/install.sls +++ b/states/syncthing/install.sls @@ -16,6 +16,7 @@ syncthing-bin-symlink: file.symlink: - name: {{ syncthing.install_dir }}/syncthing - target: {{ syncthing.release_dir }}/syncthing-{{ syncthing.version }} + - force: true - watch_in: - service: syncthing-service @@ -23,4 +24,4 @@ syncthing-cleanup: software.cleanup: - name: syncthing - path: {{ syncthing.release_dir }} - - version: "{{ syncthing.version }}" \ No newline at end of file + - version: "{{ syncthing.version }}" diff --git a/states/telegraf/install.sls b/states/telegraf/install.sls index 0b87f1e..4ec251c 100644 --- a/states/telegraf/install.sls +++ b/states/telegraf/install.sls @@ -22,6 +22,7 @@ telegraf-bin-symlink: file.symlink: - name: /usr/local/bin/telegraf - target: {{ telegraf.release_dir }}/telegraf-{{ telegraf.version }}/telegraf + - force: true - watch_in: - service: telegraf-service diff --git a/states/weather/install.sls b/states/weather/install.sls index 41adc4b..b7ac166 100644 --- a/states/weather/install.sls +++ b/states/weather/install.sls @@ -12,6 +12,7 @@ weather-binary-symlink: file.symlink: - name: {{ weather.install_dir }}/weather - target: {{ weather.release_dir }}/weather-{{ weather.version }} + - force: true - require: - archive: weather-archive-extract @@ -19,4 +20,4 @@ weather-cleanup: software.cleanup: - name: weather - path: {{ weather.release_dir }} - - version: "{{ weather.version }}" \ No newline at end of file + - version: "{{ weather.version }}"