python / python/psf-salt

Docs: Add section on managing/adding backups

Offen
#475 2 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@JacobCoffee arbeitet bereits daran.

Seit 19.8.2024.

Documentation
Vorherrschende Sprache
Hurl
Sterne
124
Forks
67
Ø Merge
8 Std. 40 Min.
Gemergte PRs (30 T.)
5

Beschreibung

What

When adding new backup files/directories, we will need to add related keys for this. This and other things (like SSH key changes when hosts upgrade/change) should be documented


Keys are not being made for the two new entries :(

root@hg:~# ls /etc/backup/.ssh
id_rsa_python-hg

from

{{ backup }}-ssh-key:
  file.managed:
    - name: /etc/backup/.ssh/id_rsa_{{ backup }}
    - contents_pillar: backup-secret:directories:{{ backup }}:ssh_key
    - user: {{ config['user'] }}
    - mode: "0600"
    - show_diff: False 

probably due to missing pillar data in the secrets file for backup

Originally posted by @JacobCoffee in https://github.com/python/psf-salt/issues/474#issuecomment-2297259859

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.