Skip to content

User-Defined GPG keys documentation is lacking some crucial information #4291

@photosurrealism

Description

@photosurrealism

Complete as much information as possible.
Replace the description text with your response.

Documentation Update Required

Short description of the documentation updated required.

What does the documentation say now?

Current documentation (1.1. User Defined GPG Keys) says to create a new pillar file and list the keys to be installed (as well as making those keys available to salt).

What change is required?

I believe, more from experimentation than from the documentation that you also need to add a top.sls file that tells it which hosts to apply that file to. That certainly works, but maybe there's an easier way closer to the current documentation?

Make /srv/pillar/top.sls:

base:
  '*':
    - custom_gpgkeys

Make /srv/pillar/custom_gpgkeys.sls:

custom_gpgkeys:
  - my_first_gpg.key
  - my_second_gpgkey.gpg

Then it will work as advertised.

Subject Matter Expert (SME)

Who is the subject matter expert for this topic (if known)?

Version

Which version of the software is this feature/update expected to land in (if known)?
Which version of the documentation must this feature/update land in (if known)?
Does the content need to be backported to previous documentation versions (if known)?

Internal SUSE Reporters

This repository is public.
If you are reporting an issue that needs to remain company confidential, please use the internal Bugzilla instance instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions