Fix case where UID and GID are passed and added a test for that case.

This commit is contained in:
PlusMinus0 2018-11-22 10:11:53 +01:00
parent fcac3155a3
commit 2a98e037bb
6 changed files with 58 additions and 25 deletions

37
goss-default.yaml Normal file
View file

@ -0,0 +1,37 @@
file:
/opt/JDownloader/JDownloader.jar:
exists: true
mode:
or:
- "0664"
- "0644"
filetype: file
contains: []
/opt/JDownloader/sevenzipjbinding1509.jar:
exists: true
mode:
or:
- "0664"
- "0644"
filetype: file
contains: []
/opt/JDownloader/sevenzipjbinding1509Linux.jar:
exists: true
mode:
or:
- "0664"
- "0644"
filetype: file
contains: []
package:
ffmpeg:
installed: true
user:
jdownloader:
exists: true
uid: 1000
gid: 100
groups:
- users
home: []
shell: /bin/false