File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,11 @@ python3-pip:
28
28
pkg.latest
29
29
30
30
{% if grains[" os" ] == " Ubuntu" %}
31
+ {# TODO: can be removed after anytime after 2024-07-16 #}
32
+ remove_old_salt_repo:
33
+ file.absent :
34
+ - name: /etc/apt/sources.list.d/saltstack.list
35
+
31
36
salt-repo :
32
37
pkgrepo.managed :
33
38
- humanname: repo.saltstack.org
@@ -36,19 +41,17 @@ salt-repo:
36
41
- key_url: https://archive.repo.saltproject.io/py3/ubuntu/20.04/ {{ grains[" osarch" ] }}/archive/3004/salt-archive-keyring.gpg
37
42
{% elif grains[" oscodename" ] == " jammy" %}
38
43
- name: deb [signed-by=/etc/apt/keyrings/salt-archive-keyring.gpg arch={{ grains["osarch"] }}] https ://repo.saltproject.io/salt/py3/ubuntu/22.04/{{ grains[" osarch" ] }}/3007 jammy main
39
- - file: /etc/apt/sources.list.d/salt.list
40
44
- key_url: https://repo.saltproject.io/salt/py3/ubuntu/22.04/ {{ grains[" osarch" ] }}/SALT-PROJECT-GPG-PUBKEY-2023.gpg
41
45
- aptkey: False
42
46
{% elif grains[" oscodename" ] == " noble" %}
43
47
- name: deb [signed-by=/etc/apt/keyrings/salt-archive-keyring.gpg arch={{ grains["osarch"] }}] https ://repo.saltproject.io/salt/py3/ubuntu/24.04/{{ grains[" osarch" ] }}/3007 noble main
44
- - file: /etc/apt/sources.list.d/salt.list
45
48
- key_url: https://repo.saltproject.io/salt/py3/ubuntu/24.04/ {{ grains[" osarch" ] }}/SALT-PROJECT-GPG-PUBKEY-2023.gpg
46
49
- aptkey: False
47
50
{% else %}
48
51
- name: deb http://archive.repo.saltstack.com/py3/ubuntu/ {{ grains[" osrelease" ] }}/{{ grains[" osarch" ] }}/2018.3 {{ grains[" oscodename" ] }} main
49
52
- key_url: https://archive.repo.saltstack.com/py3/ubuntu/18.04/amd64/2018.3/SALTSTACK-GPG-KEY.pub
50
53
{% endif %}
51
- - file: /etc/apt/sources.list.d/saltstack .list
54
+ - file: /etc/apt/sources.list.d/salt .list
52
55
{% endif %}
53
56
54
57
You can’t perform that action at this time.
0 commit comments