From d870b5355e33ca9fe0781bb9c2253c1f762c26ff Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Wed, 29 Dec 2021 15:43:58 +0100 Subject: [PATCH] updated pycharm state --- states/pycharm/defaults.yaml | 1 + states/pycharm/install.sls | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/states/pycharm/defaults.yaml b/states/pycharm/defaults.yaml index 39d28a9..3e527a8 100644 --- a/states/pycharm/defaults.yaml +++ b/states/pycharm/defaults.yaml @@ -4,4 +4,5 @@ pycharm: install_dir: /usr/local/apps release_dir: /usr/local/apps/releases mirror: https://download.jetbrains.com/python + version: "2021.3" config: {} diff --git a/states/pycharm/install.sls b/states/pycharm/install.sls index 65d7eb3..e66abdc 100644 --- a/states/pycharm/install.sls +++ b/states/pycharm/install.sls @@ -17,12 +17,6 @@ pycharm-link: - target: {{ pycharm.release_dir }}/pycharm-community-{{ pycharm.version }} - force: true -pycharm-cleanup: - software.cleanup: - - name: pycharm-community - - path: {{ pycharm.release_dir }} - - version: {{ pycharm.version }} - pycharm-shortcut: file.managed: - name: /usr/share/applications/jetbrains-pycharm-ce.desktop @@ -31,3 +25,9 @@ pycharm-shortcut: - user: root - group: root - mode: 644 + +pycharm-cleanup: + software.cleanup: + - name: pycharm-community + - path: {{ pycharm.release_dir }} + - version: "{{ pycharm.version }}"