Skip to content
This repository was archived by the owner on Dec 2, 2020. It is now read-only.

Commit abef9f8

Browse files
authored
Merge pull request #20 from dkowis/drop_old_gccs
This should resolve the updating problems for older gcc's
2 parents d13594a + 0b0e58c commit abef9f8

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

manifests/init.pp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
ensure => '5.1.0',
1919
require => Homebrew::Tap['homebrew/versions']
2020
}
21+
22+
package { ['boxen/brews/apple-gcc42', 'boxen/brews/gcc48']:
23+
ensure => 'absent'
24+
}
2125
}
2226

2327
default: {

spec/classes/gcc_spec.rb

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,13 @@
1111
:ensure => '5.1.0',
1212
:require => 'Homebrew::Tap[homebrew/versions]'
1313
})
14+
15+
should contain_package('boxen/brews/apple-gcc42').with({
16+
:ensure => 'absent'
17+
})
18+
19+
should contain_package('boxen/brews/gcc48').with({
20+
:ensure => 'absent'
21+
})
1422
end
1523
end

0 commit comments

Comments
 (0)