diff --git a/mirrorcache/common-packages.sls b/mirrorcache/common-packages.sls index 5d005a7..22093dc 100644 --- a/mirrorcache/common-packages.sls +++ b/mirrorcache/common-packages.sls @@ -6,8 +6,8 @@ packages: /etc/mirrorcache: file.directory: - - user: mirrorcache - - group: root + - user: root + - group: mirrorcache - mode: 750 - require: - packages diff --git a/t/12-mirrorcache-backstage.sh b/t/12-mirrorcache-backstage.sh index d2236a4..de0d25d 100755 --- a/t/12-mirrorcache-backstage.sh +++ b/t/12-mirrorcache-backstage.sh @@ -19,6 +19,9 @@ mysql: salt-call --local state.apply 'mirrorcache.mariadb' salt-call --local state.apply 'mirrorcache.backstage' -l debug +ls -la /etc/mirrorcache +ls -la /etc/mirrorcache | grep 'drwxr-x--- 2 root mirrorcache 4096' + rcmirrorcache-backstage status || sleep 1 rcmirrorcache-backstage status || sleep 1 rcmirrorcache-backstage status || journalctl -u rcmirrorcache-backstage