Skip to content

Commit

Permalink
feat(repo): fix install data for Debian family
Browse files Browse the repository at this point in the history
  • Loading branch information
javierbertoli committed Jan 2, 2024
1 parent 2a7a9de commit cf47e3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions salt/osfamilymap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,10 @@
{%- set rootuser = salt['cmd.run']("whoami").split("\\")[1] %}
{%- endif %}


Debian:
pkgrepo: 'deb [signed-by=/usr/share/keyrings/salt-archive-keyring.gpg arch=amd64] {{ salt_repo }}/{{ py_ver_repr or 'py3' }}/{{ osfamily_lower }}/{{ osmajorrelease }}/amd64/{{ salt_release }} {{ oscodename }} main'
pkgrepo: 'deb [signed-by=/etc/apt/keyrings/salt-archive-keyring.gpg arch=amd64] {{ salt_repo }}/salt/{{ py_ver_repr or 'py3' }}/{{ osfamily_lower }}/{{ osmajorrelease }}/amd64/{{ salt_release }} {{ oscodename }} main'
pkgrepo_keyring: '{{ salt_repo }}/{{ py_ver_repr or 'py3' }}/{{ osfamily_lower }}/{{ osmajorrelease }}/amd64/{{ salt_release }}/salt-archive-keyring.gpg'
pkgrepo_keyring_hash: sha256=ea38e0cdbd8dc53e1af154a8d711a2a321a69f81188062dc5cde9d54df2b8c47
pkgrepo_keyring_hash: sha256=c6f6cbcd96fdb130b1dde8dcfc05d46a3a3f322ff0514f98e2e6473896243472
libgit2: libgit2-22
pyinotify: python-pyinotify
gitfs:
Expand Down
2 changes: 1 addition & 1 deletion salt/pkgrepo/debian/install.sls
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
salt-pkgrepo-install-saltstack-debian-keyring:
file.managed:
- name: /usr/share/keyrings/salt-archive-keyring.gpg
- name: /etc/apt/keyrings/salt-archive-keyring.gpg
- source: {{ salt_settings.pkgrepo_keyring }}
- source_hash: {{ salt_settings.pkgrepo_keyring_hash }}
- require_in:
Expand Down

0 comments on commit cf47e3a

Please sign in to comment.