Blame view

modules/people/manifests/hanjianwei/applications.pp 2.64 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',
225d9deac   Jianwei Han   Use puppet-dotfil...
5
               'qt5',
42c5acab4   Jianwei Han   Add fonts
6
               'reattach-to-user-namespace',
225d9deac   Jianwei Han   Use puppet-dotfil...
7
               'tmux',
42c5acab4   Jianwei Han   Add fonts
8
               'wget']:
d7ba16de2   Jianwei Han   Refactor
9
    }
3a47d364c   Jianwei Han   Remove caches for...
10

a2d6ec482   Jianwei Han   Fix problems for ...
11
12
13
    package { 'vim':
      install_options => ['--override-system-vi'],
    }
3a47d364c   Jianwei Han   Remove caches for...
14
15
16
    homebrew::tap { 'homebrew/science': }
    ->
    package { 'opencv': }
f252dc01a   Jianwei Han   Add squirrel
17
    # Declare all Homebrew Cask packages
3a47d364c   Jianwei Han   Remove caches for...
18
    include brewcask
225d9deac   Jianwei Han   Use puppet-dotfil...
19
20
21
22
23
24
25
26
27
28
29
30
31
    package { ['acorn',
               'alfred',
               'atom',
               'bettertouchtool',
               'caffeine',
               'cleanmymac',
               'dropbox',
               'evernote',
               'fantastical',
               'firefox',
               'google-chrome',
               'hazel',
               'iterm2',
856590cf8   Jianwei Han   Update packages
32
               'karabiner',
225d9deac   Jianwei Han   Use puppet-dotfil...
33
               'keyboard-maestro',
225d9deac   Jianwei Han   Use puppet-dotfil...
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
               '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...
52
53
54
    }
  
    # Taps
f252dc01a   Jianwei Han   Add squirrel
55
56
57
58
59
    homebrew::tap { 'hanjianwei/apps': }
    ->
    package { 'squirrel':
      provider => 'brewcask'
    }
3a47d364c   Jianwei Han   Remove caches for...
60
61
    homebrew::tap { 'caskroom/fonts': }
    ->
42c5acab4   Jianwei Han   Add fonts
62
63
64
65
66
67
68
69
70
71
72
    package { ['font-anonymous-pro',
               'font-dejavu-sans',
               'font-dejavu-sans-mono-for-powerline',
               'font-inconsolata-dz-for-powerline',
               'font-inconsolata-for-powerline',
               '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...
73
74
75
76
77
78
79
80
81
82
83
84
85
86
      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...
87
    # Apps configuration
c45e80a8e   Jianwei Han   Update puppet-dot...
88
    Package <| |> -> Dotfiles::Deploy <| |>
3a47d364c   Jianwei Han   Remove caches for...
89

225d9deac   Jianwei Han   Use puppet-dotfil...
90
91
92
    osx_chsh { $boxen_user:
      shell => '/bin/zsh'
    }
3a47d364c   Jianwei Han   Remove caches for...
93

c45e80a8e   Jianwei Han   Update puppet-dot...
94
95
96
97
98
    dotfiles::deploy { ['atom',
                        'bettertouchtool',
                        'emacs',
                        'git',
                        'iterm2',
856590cf8   Jianwei Han   Update packages
99
                        'karabiner',
c45e80a8e   Jianwei Han   Update puppet-dot...
100
101
                        'prezto',
                        'seil',
f252dc01a   Jianwei Han   Add squirrel
102
                        'squirrel',
c45e80a8e   Jianwei Han   Update puppet-dot...
103
104
105
106
                        'tmux',
                        'vim',
                        'vimperator',
                        'zsh']:
e3046bad0   Jianwei Han   Require dotfiles ...
107
      require => Repository["${::boxen_srcdir}/dotfiles"],
c45e80a8e   Jianwei Han   Update puppet-dot...
108
    }
3a47d364c   Jianwei Han   Remove caches for...
109
  }