Skip to content
This repository has been archived by the owner on Oct 24, 2021. It is now read-only.

Commit

Permalink
0.2.2 - update for changed AUR package names
Browse files Browse the repository at this point in the history
  • Loading branch information
jantman committed Jul 9, 2017
1 parent a7ed9e3 commit e066d5a
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG
@@ -1,3 +1,6 @@
2017-07-09 release 0.2.2
- Update for AUR package changes: bcwc-pcie-dkms -> bcwc-pcie-git and bcwc-firmware -> facetimehd-firmware

2017-01-08 release 0.2.1
- updated README with note that bluetooth now works
- many changes to testing (TravisCI, spec, beaker acceptance) and use new versions of dependencies (thanks to petems)
Expand Down
4 changes: 2 additions & 2 deletions manifests/webcam.pp
Expand Up @@ -7,13 +7,13 @@
# Parameters:
#
# Actions:
# - Install bcwc-pcie-dkms and bcwc-pcie-firmware on MacBookPro11,4
# - Install bcwc-pcie-git and bcwc-pcie-firmware on MacBookPro11,4
#
class archlinux_macbookretina::webcam {

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

Expand Down
2 changes: 1 addition & 1 deletion metadata.json
@@ -1,6 +1,6 @@
{
"name": "jantman-archlinux_macbookretina",
"version": "0.2.1",
"version": "0.2.2",
"summary": "Configure Arch Linux on a MacBook Retina",
"author": "jantman",
"description": "Provides many classes (and a sane default class/init.pp) for configuring Arch Linux on a MacBook Retina.",
Expand Down
2 changes: 1 addition & 1 deletion spec/acceptance/classes/webcam_spec.rb
Expand Up @@ -14,7 +14,7 @@ class { 'archlinux_macbookretina::webcam': }
apply_manifest(pp, :catch_changes => true)
end

describe package('bcwc-pcie-dkms') do
describe package('bcwc-pcie-git') do
it { should be_installed }
end

Expand Down
4 changes: 2 additions & 2 deletions spec/classes/webcam_spec.rb
Expand Up @@ -12,7 +12,7 @@

describe "installs packages" do
it { should compile.with_all_deps }
it { should contain_package('bcwc-pcie-dkms').with_ensure('present') }
it { should contain_package('bcwc-pcie-git').with_ensure('present') }
it { should contain_package('bcwc-pcie-firmware').with_ensure('present') }
end
describe 'uses broadcom-wl on MBP 10,1' do
Expand All @@ -25,7 +25,7 @@
:dmi => { 'product' => { 'name' => 'MacBookPro10,1' } },
}}
it { should compile.with_all_deps }
it { should_not contain_package('bcwc-pcie-dkms') }
it { should_not contain_package('bcwc-pcie-git') }
it { should_not contain_package('bcwc-pcie-firmware') }
end
end

0 comments on commit e066d5a

Please sign in to comment.