Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion goss/goss_pimusicbox.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ file:
# pimusicbox dependencies
/sbin/wpa_cli:
exists: true
# FIXME: it should be executable
filetype: file
mode:
match-regexp: '[0-9][1357][1357][1357]'
/etc/wpa_supplicant:
exists: true
filetype: directory
Expand Down
5 changes: 3 additions & 2 deletions goss/goss_rclocal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ file:
owner: root
group: root
filetype: file
# should not contain 'By default this script does nothing.'
contents: ['/opt/musicbox/startup.sh']
contents:
- '/opt/musicbox/startup.sh'
- '!By default this script does nothing.'
20 changes: 10 additions & 10 deletions goss/goss_system.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ file:
owner: root
group: root
filetype: file
# readable by owner, group and others
contents: ['TZ=:/etc/localtime']
mode:
match-regexp: '[0-9][4567][4567][4567]'
contents:
- 'TZ=:/etc/localtime'
/etc/init.d/resize2fs_once:
exists: false
/etc/fstab:
Expand All @@ -14,19 +16,17 @@ file:
group: root
filetype: file
mode: 644
contents: [
'LABEL=boot /boot',
'LABEL=rootfs /'
]
contents:
- 'LABEL=boot /boot'
- 'LABEL=rootfs /'
/boot/cmdline.txt:
exists: true
owner: root
group: root
filetype: file
# should not contain 'init=/usr/lib/raspi-config/init_resize.sh'
contents: [
'root=/dev/mmcblk0p2'
]
contents:
- 'root=/dev/mmcblk0p2'
- !'init=/usr/lib/raspi-config/init_resize.sh'
/boot/userconf.txt:
exists: true
owner: root
Expand Down
Loading