base: Only copy service directories if used

We no longer copy service directories into `/etc/coreos-home-server` if
these have not had their respective `spec.bu` files included; these
directories are not needed in these cases, and would be erroneously
considered as eligible in subsequent `coreos-home-server-update`
invocations.
This commit is contained in:
Alex Palaistras 2022-02-05 16:04:01 +00:00
parent 4636730d32
commit 0fbbc39e27
17 changed files with 32 additions and 2 deletions

View File

@ -2,8 +2,6 @@ variant: fcos
version: 1.3.0
storage:
trees:
- path: /etc/coreos-home-server
local: service/
- path: /etc/coreos-home-server/base
local: host/base/
- path: /etc/systemd/system

View File

@ -2,6 +2,8 @@ variant: fcos
version: 1.3.0
storage:
trees:
- path: /etc/coreos-home-server/biboumi
local: service/biboumi/
- path: /etc/systemd/system
local: service/biboumi/systemd/
systemd:

View File

@ -2,6 +2,8 @@ variant: fcos
version: 1.3.0
storage:
trees:
- path: /etc/coreos-home-server/coturn
local: service/coturn/
- path: /etc/systemd/system
local: service/coturn/systemd/
systemd:

View File

@ -2,6 +2,8 @@ variant: fcos
version: 1.3.0
storage:
trees:
- path: /etc/coreos-home-server/dovecot
local: service/dovecot/
- path: /etc/systemd/system
local: service/dovecot/systemd/
systemd:

View File

@ -2,6 +2,8 @@ variant: fcos
version: 1.3.0
storage:
trees:
- path: /etc/coreos-home-server/git
local: service/git/
- path: /etc/systemd/system
local: service/git/systemd/
systemd:

View File

@ -2,5 +2,7 @@ variant: fcos
version: 1.3.0
storage:
trees:
- path: /etc/coreos-home-server/letsencrypt
local: service/letsencrypt/
- path: /etc/systemd/system
local: service/letsencrypt/systemd/

View File

@ -2,6 +2,8 @@ variant: fcos
version: 1.3.0
storage:
trees:
- path: /etc/coreos-home-server/mariadb
local: service/mariadb/
- path: /etc/systemd/system
local: service/mariadb/systemd/
systemd:

View File

@ -2,6 +2,8 @@ variant: fcos
version: 1.3.0
storage:
trees:
- path: /etc/coreos-home-server/navidrome
local: service/navidrome/
- path: /etc/systemd/system
local: service/navidrome/systemd/
systemd:

View File

@ -2,6 +2,8 @@ variant: fcos
version: 1.3.0
storage:
trees:
- path: /etc/coreos-home-server/nginx
local: service/nginx/
- path: /etc/systemd/system
local: service/nginx/systemd/
systemd:

View File

@ -2,6 +2,8 @@ variant: fcos
version: 1.3.0
storage:
trees:
- path: /etc/coreos-home-server/postfix
local: service/postfix/
- path: /etc/systemd/system
local: service/postfix/systemd/
systemd:

View File

@ -2,6 +2,8 @@ variant: fcos
version: 1.3.0
storage:
trees:
- path: /etc/coreos-home-server/prosody
local: service/prosody/
- path: /etc/systemd/system
local: service/prosody/systemd/
systemd:

View File

@ -2,6 +2,8 @@ variant: fcos
version: 1.3.0
storage:
trees:
- path: /etc/coreos-home-server/radicale
local: service/radicale/
- path: /etc/systemd/system
local: service/radicale/systemd/
systemd:

View File

@ -2,6 +2,8 @@ variant: fcos
version: 1.3.0
storage:
trees:
- path: /etc/coreos-home-server/redis
local: service/redis/
- path: /etc/systemd/system
local: service/redis/systemd/
systemd:

View File

@ -2,6 +2,8 @@ variant: fcos
version: 1.3.0
storage:
trees:
- path: /etc/coreos-home-server/rspamd
local: service/rspamd/
- path: /etc/systemd/system
local: service/rspamd/systemd/
systemd:

View File

@ -2,6 +2,8 @@ variant: fcos
version: 1.3.0
storage:
trees:
- path: /etc/coreos-home-server/rss2email
local: service/rss2email/
- path: /etc/systemd/system
local: service/rss2email/systemd/
systemd:

View File

@ -2,5 +2,7 @@ variant: fcos
version: 1.3.0
storage:
trees:
- path: /etc/coreos-home-server/spectrum
local: service/spectrum/
- path: /etc/systemd/system
local: service/spectrum/systemd/

View File

@ -2,6 +2,8 @@ variant: fcos
version: 1.3.0
storage:
trees:
- path: /etc/coreos-home-server/writefreely
local: service/writefreely/
- path: /etc/systemd/system
local: service/writefreely/systemd/
systemd: