feat: LibreOffice als Katalog-Merkmal
Merkmal + Blueprints (fedora, mint -> ansible_role 'libreoffice', siehe ansible-content) in der app-store-Kategorie neben OnlyOffice. Bewusst nicht Teil von workspace_merkmale - kein Gerät bekommt beide Suiten automatisch, Kunde wählt aktiv im Auftragskatalog. Lokal gegen eine Wegwerf-Postgres mit allen Migrationen 0001-0013 verifiziert (Katalog-Query liefert state=absent für beide Backends). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
parent
1d9f51008e
commit
bde9e92a80
19
migrations/0013_libreoffice_merkmal.sql
Normal file
19
migrations/0013_libreoffice_merkmal.sql
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
BEGIN;
|
||||||
|
|
||||||
|
-- LibreOffice als weitere Office-Suite neben OnlyOffice im Auftragskatalog.
|
||||||
|
-- Bewusst nicht Teil von workspace_merkmale (siehe OnlyOffice/Brave) - kein
|
||||||
|
-- frisches Gerät soll standardmäßig beide Suiten bekommen, der Kunde
|
||||||
|
-- entscheidet sich aktiv im Katalog.
|
||||||
|
INSERT INTO merkmale (id, key, name, description, kategorie_id, im_auftragskatalog) VALUES
|
||||||
|
('cb2ba285-0f9a-4bb5-8652-5951687e7e11', 'office-libreoffice', 'LibreOffice', NULL,
|
||||||
|
(SELECT id FROM kategorien WHERE key = 'app-store'), TRUE);
|
||||||
|
|
||||||
|
-- Distro-unabhängig über Flatpak (wie onlyoffice/brave, siehe Migration
|
||||||
|
-- 0010) - dieselbe Ansible-Rolle für beide Backends.
|
||||||
|
INSERT INTO blueprints (id, merkmal_id, backend_id, ansible_role) VALUES
|
||||||
|
('2cc5a6fa-cdd0-48a9-9d1b-a41d5a7a0103', 'cb2ba285-0f9a-4bb5-8652-5951687e7e11',
|
||||||
|
(SELECT id FROM backends WHERE key = 'fedora'), 'libreoffice'),
|
||||||
|
('553470de-d28a-491e-b0c0-eac008a40582', 'cb2ba285-0f9a-4bb5-8652-5951687e7e11',
|
||||||
|
(SELECT id FROM backends WHERE key = 'mint'), 'libreoffice');
|
||||||
|
|
||||||
|
COMMIT;
|
||||||
Loading…
x
Reference in New Issue
Block a user