Add source-controlled Puppet/Hiera contracts for edge2 Divoom-as-DM-device without replacing the live flowercore-divoom systemd deployment. Add Divoom TV Pi HDMI systemd/Puppet deployment artifacts, LF shell-script guardrails, and focused lint coverage for the additive non-K8s deploy shape. Co-Authored-By: Codex <codex@openai.com>
35 lines
1.1 KiB
Plaintext
35 lines
1.1 KiB
Plaintext
{
|
|
"deviceId": "<%= $device_id %>",
|
|
"displayName": "<%= $display_name %>",
|
|
"hostFqdn": "<%= $host_fqdn %>",
|
|
"kind": "DivoomMiniToo",
|
|
"managedBy": "FlowerCore.DeviceManagement",
|
|
"executionMode": "Pi",
|
|
"transport": {
|
|
"kind": "BluetoothSerial",
|
|
"candidateChannels": <%= $bt_channels_json %>,
|
|
"defaultChannel": "<%= $default_bt_channel %>",
|
|
"deviceInfoIsRenderProof": false,
|
|
"visibleRenderProofRequired": <%= $visible_render_proof_required %>
|
|
},
|
|
"paths": {
|
|
"divoomInstallDir": "<%= $divoom_install_dir %>",
|
|
"btLink": "<%= $divoom_install_dir %>/bt-link.sh",
|
|
"btReset": "<%= $divoom_install_dir %>/bt-reset.sh",
|
|
"audioLink": "<%= $divoom_install_dir %>/audio-link.sh"
|
|
},
|
|
"capabilities": {
|
|
"supportsBluetoothSerial": true,
|
|
"supportsBtChannelRedetect": true,
|
|
"supportsBtHardReset": true,
|
|
"supportsBtAudioProfileSwitch": true,
|
|
"a2dpDefaultState": "<%= $a2dp_default_state %>",
|
|
"fmRadioEnabled": <%= $fm_radio_enabled %>
|
|
},
|
|
"safety": {
|
|
"preserveExistingService": "flowercore-divoom.service",
|
|
"preserveDataDirectory": "<%= $divoom_install_dir %>/data",
|
|
"doNotEnableFmRadio": true
|
|
}
|
|
}
|