You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In every case, the state does nothing and reports no changes.
The only way to update the keyring is to make a change that requires it to change the .list file.
Expected behavior
The state should ensure that the keyring is configured with the latest data as described by its parameters.
Versions Report
salt-call --versions
Salt Version:
Salt: 3006.9Python Version:
Python: 3.10.14 (main, Jun 26 2024, 11:44:37) [GCC 11.2.0]Dependency Versions:
cffi: 1.14.6cherrypy: 18.6.1cryptography: 42.0.5dateutil: 2.8.1docker-py: Not Installedgitdb: Not Installedgitpython: Not InstalledJinja2: 3.1.4libgit2: Not Installedlooseversion: 1.0.2M2Crypto: 0.38.0Mako: Not Installedmsgpack: 1.0.2msgpack-pure: Not Installedmysql-python: Not Installedpackaging: 22.0pycparser: 2.21pycrypto: Not Installedpycryptodome: 3.19.1pygit2: Not Installedpython-gnupg: 0.4.8PyYAML: 6.0.1PyZMQ: 23.2.0relenv: 0.17.0smmap: Not Installedtimelib: 0.2.4Tornado: 4.5.3ZMQ: 4.3.4System Versions:
dist: ubuntu 24.04.1 noblelocale: utf-8machine: x86_64release: 6.8.0-47-genericsystem: Linuxversion: Ubuntu 24.04.1 noble
The text was updated successfully, but these errors were encountered:
When looking at the source, I see that it is using pkg.add_repo_key to actually add the key. When manually calling this, the key is installed every time.
Uh oh!
There was an error while loading. Please reload this page.
Description
The
pkgrepo.managed
state (withaptkey: false
) only ever manages the keyring if there are also changes being made to the sources file.Setup
e.g.
or
Steps to Reproduce the behavior
Do any of these, and re-run the state:
/etc/apt/keyrings/zabbix-archive-keyring.gpg
key_url
key_url
keyid
In every case, the state does nothing and reports no changes.
The only way to update the keyring is to make a change that requires it to change the
.list
file.Expected behavior
The state should ensure that the keyring is configured with the latest data as described by its parameters.
Versions Report
salt-call --versions
The text was updated successfully, but these errors were encountered: