Skip to content

Commit

Permalink
Merge pull request #1608 from lsst-it/IT-5294_disable_bt_rpi
Browse files Browse the repository at this point in the history
(role/laserrpi) turn off bluetooth
  • Loading branch information
cbarria authored Jan 8, 2025
2 parents c815445 + 7d17d04 commit 7e938af
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
9 changes: 9 additions & 0 deletions hieradata/role/laserrpi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,12 @@ classes:
- "profile::pi::ftdi"
- "profile::pi::pigpio"
- "profile::ts::dco"

files:
/boot/config.txt:
ensure: "file"
mode: "0755"
content: |
[all]
dtoverlay=disable-bt
dtparam=audio=on
12 changes: 12 additions & 0 deletions spec/hosts/roles/laserrpi_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,18 @@
include_examples 'ftdi'
include_examples 'dco'
include_examples 'add_usb'

it do
is_expected.to contain_file('/boot/config.txt').with(
ensure: 'file',
mode: '0755',
content: <<~CONTENT
[all]
dtoverlay=disable-bt
dtparam=audio=on
CONTENT
)
end
end # host
end # lsst_sites
end # on os
Expand Down

0 comments on commit 7e938af

Please sign in to comment.