This repository was archived by the owner on Dec 2, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +8
-281
lines changed Expand file tree Collapse file tree 4 files changed +8
-281
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 9
9
' Darwin' : {
10
10
include homebrew
11
11
12
- case $::macosx_productversion_major {
13
- ' 10.8' : {
14
- include gcc::apple_gcc42
15
- }
12
+ ensure_resource(' homebrew::tap' ,
13
+ ' homebrew/versions' , { ' ensure' => ' present' })
16
14
17
- default: {
18
- ensure_resource(' homebrew::tap' ,
19
- ' homebrew/versions' , { ' ensure' => ' present' })
15
+ homebrew::formula { 'gcc5' : }
20
16
21
- homebrew::formula { 'gcc48' : }
22
-
23
- package { 'boxen/brews/gcc48' :
24
- ensure => ' 4.8.4' ,
25
- require => Homebrew::Tap[' homebrew/versions' ]
26
- }
27
- }
17
+ package { 'boxen/brews/gcc5' :
18
+ ensure => ' 5.1.0' ,
19
+ require => Homebrew::Tap[' homebrew/versions' ]
28
20
}
29
21
}
30
22
Original file line number Diff line number Diff line change 7
7
should contain_homebrew__tap ( 'homebrew/versions' ) .
8
8
with_ensure ( 'present' )
9
9
10
- should contain_package ( 'boxen/brews/gcc48 ' ) . with ( {
11
- :ensure => '4.8.4 ' ,
10
+ should contain_package ( 'boxen/brews/gcc5 ' ) . with ( {
11
+ :ensure => '5.1.0 ' ,
12
12
:require => 'Homebrew::Tap[homebrew/versions]'
13
13
} )
14
14
end
You can’t perform that action at this time.
0 commit comments