Blame view

modules/people/manifests/hanjianwei/applications.pp 2.95 KB
225d9deac   Jianwei Han   Use puppet-dotfil...
1
  class people::hanjianwei::applications {
3a47d364c   Jianwei Han   Remove caches for...
2
3
  
    # Declare all Homebrew packages
42c5acab4   Jianwei Han   Add fonts
4
    package { ['ack',
d470c4a63   Jianwei Han   Add git-flow and ...
5
               'git-flow-avh',
225d9deac   Jianwei Han   Use puppet-dotfil...
6
               'qt5',
42c5acab4   Jianwei Han   Add fonts
7
               'reattach-to-user-namespace',
225d9deac   Jianwei Han   Use puppet-dotfil...
8
               'tmux',
666de9a20   Jianwei Han   Do not update cas...
9
               'vim',
42c5acab4   Jianwei Han   Add fonts
10
               'wget']:
666de9a20   Jianwei Han   Do not update cas...
11
      ensure => 'latest'
a2d6ec482   Jianwei Han   Fix problems for ...
12
    }
3a47d364c   Jianwei Han   Remove caches for...
13
14
    homebrew::tap { 'homebrew/science': }
    ->
666de9a20   Jianwei Han   Do not update cas...
15
16
17
    package { 'opencv':
      ensure => 'latest'
    }
3a47d364c   Jianwei Han   Remove caches for...
18

f252dc01a   Jianwei Han   Add squirrel
19
    # Declare all Homebrew Cask packages
3a47d364c   Jianwei Han   Remove caches for...
20
    include brewcask
225d9deac   Jianwei Han   Use puppet-dotfil...
21
22
23
24
25
26
27
28
29
30
31
32
33
    package { ['acorn',
               'alfred',
               'atom',
               'bettertouchtool',
               'caffeine',
               'cleanmymac',
               'dropbox',
               'evernote',
               'fantastical',
               'firefox',
               'google-chrome',
               'hazel',
               'iterm2',
d470c4a63   Jianwei Han   Add git-flow and ...
34
35
               'java',
               'java6',
856590cf8   Jianwei Han   Update packages
36
               'karabiner',
225d9deac   Jianwei Han   Use puppet-dotfil...
37
               'keyboard-maestro',
225d9deac   Jianwei Han   Use puppet-dotfil...
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
               'mactex',
               'omnifocus',
               'onepassword',
               'parallels',
               'pycharm-ce',
               'scapple',
               'screenflow',
               'scrivener',
               'seil',
               'shiori',
               'trim-enabler',
               'qq',
               'qt-creator',
               'vagrant',
               'virtualbox',
               'welly',
               'xmind']:
      provider => 'brewcask'
3a47d364c   Jianwei Han   Remove caches for...
56
57
58
    }
  
    # Taps
f252dc01a   Jianwei Han   Add squirrel
59
60
61
62
63
    homebrew::tap { 'hanjianwei/apps': }
    ->
    package { 'squirrel':
      provider => 'brewcask'
    }
3a47d364c   Jianwei Han   Remove caches for...
64
65
    homebrew::tap { 'caskroom/fonts': }
    ->
42c5acab4   Jianwei Han   Add fonts
66
67
68
69
70
    package { ['font-anonymous-pro',
               'font-dejavu-sans',
               'font-dejavu-sans-mono-for-powerline',
               'font-inconsolata-dz-for-powerline',
               'font-inconsolata-for-powerline',
f34fa4671   Jianwei Han   Add more fonts
71
72
73
74
75
76
77
               'font-noto-sans',
               'font-noto-sans-s-chinese',
               'font-noto-sans-t-chinese',
               'font-noto-sans-japanese',
               'font-noto-sans-korean',
               'font-noto-serif',
               'font-roboto',
42c5acab4   Jianwei Han   Add fonts
78
79
80
81
82
83
               'font-sauce-code-powerline',
               'font-source-code-pro',
               'font-source-sans-pro',
               'font-source-serif-pro',
               'font-terminus',
               'font-ubuntu-mono-powerline']:
3a47d364c   Jianwei Han   Remove caches for...
84
85
86
87
88
89
90
91
92
93
94
95
96
97
      provider => 'brewcask'
    }
  
    homebrew::tap { 'caskroom/versions': }
    ->
    package { 'intellij-idea-ultimate12':
      provider => 'brewcask'
    }
  
    homebrew::tap { 'railwaycat/emacsmacport': }
    ->
    package { 'emacs-mac':
      provider => 'brewcask'
    }
225d9deac   Jianwei Han   Use puppet-dotfil...
98
    # Apps configuration
c45e80a8e   Jianwei Han   Update puppet-dot...
99
    Package <| |> -> Dotfiles::Deploy <| |>
3a47d364c   Jianwei Han   Remove caches for...
100

225d9deac   Jianwei Han   Use puppet-dotfil...
101
102
103
    osx_chsh { $boxen_user:
      shell => '/bin/zsh'
    }
3a47d364c   Jianwei Han   Remove caches for...
104

c45e80a8e   Jianwei Han   Update puppet-dot...
105
106
107
108
109
    dotfiles::deploy { ['atom',
                        'bettertouchtool',
                        'emacs',
                        'git',
                        'iterm2',
856590cf8   Jianwei Han   Update packages
110
                        'karabiner',
c45e80a8e   Jianwei Han   Update puppet-dot...
111
112
                        'prezto',
                        'seil',
f252dc01a   Jianwei Han   Add squirrel
113
                        'squirrel',
c45e80a8e   Jianwei Han   Update puppet-dot...
114
115
116
117
                        'tmux',
                        'vim',
                        'vimperator',
                        'zsh']:
e3046bad0   Jianwei Han   Require dotfiles ...
118
      require => Repository["${::boxen_srcdir}/dotfiles"],
c45e80a8e   Jianwei Han   Update puppet-dot...
119
    }
3a47d364c   Jianwei Han   Remove caches for...
120
  }