Puppet Class: archlinux_macbookretina::webcam

Defined in:
manifests/webcam.pp

Overview

On MacBookPro11,4 install reverse-engineered driver for FacetimeHD (Broadcom 1570) PCIe webcam, using AUR packages (bcwc-pcie-git and facetimehd-firmware). Driver source: github.com/patjak/bcwc_pcie/. On other models, do nothing.



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# File 'manifests/webcam.pp', line 7

class archlinux_macbookretina::webcam {

  case $::productname {
    'MacBookPro11,4': {
      package {'bcwc-pcie-git':
        ensure => present,
      }

      package {'facetimehd-firmware':
        ensure => present,
      }
    }
    default: {
      notify {"archlinux_macbookretina does not know how to configure webcam on: ${::productname}": }
    }
  }

}