Browse Source

Move opkg keys to files instead of pillar

Signed-off-by: Michael Schwarz <post@michael-schwarz.name>
Maximilian Wilhelm 1 year ago
parent
commit
48dc1e3f8d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      build/init.sls

+ 2 - 2
build/init.sls

@@ -110,7 +110,7 @@ firmware-git:
 
 /srv/build/opkg-keys/key-build:
   file.managed:
-    - contents_pillar: nodes:{{ grains['id'] }}:opkg:build:privkey
+    - source: salt://build/key-build
     - user: build
     - group: build
     - mode: 400
@@ -119,7 +119,7 @@ firmware-git:
 
 /srv/build/opkg-keys/key-build.pub:
   file.managed:
-    - contents_pillar: nodes:{{ grains['id'] }}:opkg:build:pubkey
+    - source: salt://build/key-build.pub
     - user: build
     - group: build
     - mode: 400