Blame view

modules/people/manifests/hanjianwei/applications.pp 2.14 KB
225d9deac   Jianwei Han   Use puppet-dotfil...
1
  class people::hanjianwei::applications {
3a47d364c   Jianwei Han   Remove caches for...
2
3
  
    # Declare all Homebrew packages
225d9deac   Jianwei Han   Use puppet-dotfil...
4
5
6
7
    package { ['wget',
               'qt5',
               'tmux',
               'vim']:
d7ba16de2   Jianwei Han   Refactor
8
    }
3a47d364c   Jianwei Han   Remove caches for...
9
10
11
12
  
    homebrew::tap { 'homebrew/science': }
    ->
    package { 'opencv': }
f252dc01a   Jianwei Han   Add squirrel
13
    # Declare all Homebrew Cask packages
3a47d364c   Jianwei Han   Remove caches for...
14
    include brewcask
225d9deac   Jianwei Han   Use puppet-dotfil...
15
16
17
18
19
20
21
22
23
24
25
26
27
    package { ['acorn',
               'alfred',
               'atom',
               'bettertouchtool',
               'caffeine',
               'cleanmymac',
               'dropbox',
               'evernote',
               'fantastical',
               'firefox',
               'google-chrome',
               'hazel',
               'iterm2',
856590cf8   Jianwei Han   Update packages
28
               'karabiner',
225d9deac   Jianwei Han   Use puppet-dotfil...
29
               'keyboard-maestro',
225d9deac   Jianwei Han   Use puppet-dotfil...
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
               '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...
48
49
50
    }
  
    # Taps
f252dc01a   Jianwei Han   Add squirrel
51
52
53
54
55
    homebrew::tap { 'hanjianwei/apps': }
    ->
    package { 'squirrel':
      provider => 'brewcask'
    }
3a47d364c   Jianwei Han   Remove caches for...
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
    homebrew::tap { 'caskroom/fonts': }
    ->
    package { 'font-inconsolata-for-powerline':
      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...
73
    # Apps configuration
c45e80a8e   Jianwei Han   Update puppet-dot...
74
    Package <| |> -> Dotfiles::Deploy <| |>
3a47d364c   Jianwei Han   Remove caches for...
75

225d9deac   Jianwei Han   Use puppet-dotfil...
76
77
78
    osx_chsh { $boxen_user:
      shell => '/bin/zsh'
    }
3a47d364c   Jianwei Han   Remove caches for...
79

c45e80a8e   Jianwei Han   Update puppet-dot...
80
81
82
83
84
    dotfiles::deploy { ['atom',
                        'bettertouchtool',
                        'emacs',
                        'git',
                        'iterm2',
856590cf8   Jianwei Han   Update packages
85
                        'karabiner',
c45e80a8e   Jianwei Han   Update puppet-dot...
86
87
                        'prezto',
                        'seil',
f252dc01a   Jianwei Han   Add squirrel
88
                        'squirrel',
c45e80a8e   Jianwei Han   Update puppet-dot...
89
90
91
92
                        'tmux',
                        'vim',
                        'vimperator',
                        'zsh']:
e3046bad0   Jianwei Han   Require dotfiles ...
93
      require => Repository["${::boxen_srcdir}/dotfiles"],
c45e80a8e   Jianwei Han   Update puppet-dot...
94
    }
3a47d364c   Jianwei Han   Remove caches for...
95
  }