Commit d7ba16de2b6d371d6b00f3a5ef420847b47dc601
1 parent
db7b8e3bfa
Exists in
master
Refactor
Showing 1 changed file with 43 additions and 43 deletions Side-by-side Diff
modules/people/manifests/hanjianwei/applications.pp
... | ... | @@ -2,13 +2,14 @@ |
2 | 2 | notify { "${homebrew::config::cachedir}": } |
3 | 3 | |
4 | 4 | # Declare all Homebrew packages |
5 | - $brew_pkgs = [ | |
6 | - 'wget', | |
7 | - 'qt5', | |
8 | - 'tmux', | |
9 | - 'vim' | |
10 | - ] | |
11 | - package { $brew_pkgs: } | |
5 | + package { | |
6 | + [ | |
7 | + 'wget', | |
8 | + 'qt5', | |
9 | + 'tmux', | |
10 | + 'vim' | |
11 | + ]: | |
12 | + } | |
12 | 13 | |
13 | 14 | homebrew::tap { 'homebrew/science': } |
14 | 15 | -> |
... | ... | @@ -17,42 +18,41 @@ |
17 | 18 | # Declare all Hombrew Cask packages |
18 | 19 | include brewcask |
19 | 20 | |
20 | - $cask_pkgs = [ | |
21 | - 'acorn', | |
22 | - 'alfred', | |
23 | - 'atom', | |
24 | - 'bettertouchtool', | |
25 | - 'caffeine', | |
26 | - 'cleanmymac', | |
27 | - 'dropbox', | |
28 | - 'evernote', | |
29 | - 'fantastical', | |
30 | - 'firefox', | |
31 | - 'google-chrome', | |
32 | - 'hazel', | |
33 | - 'iterm2', | |
34 | - 'keyboard-maestro', | |
35 | - 'keyremap4macbook', | |
36 | - 'mactex', | |
37 | - 'omnifocus', | |
38 | - 'onepassword', | |
39 | - 'parallels', | |
40 | - 'pycharm-ce', | |
41 | - 'scapple', | |
42 | - 'screenflow', | |
43 | - 'scrivener', | |
44 | - 'seil', | |
45 | - 'shiori', | |
46 | - 'trim-enabler', | |
47 | - 'qq', | |
48 | - 'qt-creator', | |
49 | - 'vagrant', | |
50 | - 'virtualbox', | |
51 | - 'welly', | |
52 | - 'xmind' | |
53 | - ] | |
54 | - | |
55 | - package { $cask_pkgs: | |
21 | + package { | |
22 | + [ | |
23 | + 'acorn', | |
24 | + 'alfred', | |
25 | + 'atom', | |
26 | + 'bettertouchtool', | |
27 | + 'caffeine', | |
28 | + 'cleanmymac', | |
29 | + 'dropbox', | |
30 | + 'evernote', | |
31 | + 'fantastical', | |
32 | + 'firefox', | |
33 | + 'google-chrome', | |
34 | + 'hazel', | |
35 | + 'iterm2', | |
36 | + 'keyboard-maestro', | |
37 | + 'keyremap4macbook', | |
38 | + 'mactex', | |
39 | + 'omnifocus', | |
40 | + 'onepassword', | |
41 | + 'parallels', | |
42 | + 'pycharm-ce', | |
43 | + 'scapple', | |
44 | + 'screenflow', | |
45 | + 'scrivener', | |
46 | + 'seil', | |
47 | + 'shiori', | |
48 | + 'trim-enabler', | |
49 | + 'qq', | |
50 | + 'qt-creator', | |
51 | + 'vagrant', | |
52 | + 'virtualbox', | |
53 | + 'welly', | |
54 | + 'xmind' | |
55 | + ]: | |
56 | 56 | provider => 'brewcask' |
57 | 57 | } |
58 | 58 |