Blame view

modules/people/manifests/hanjianwei/applications.pp 2.03 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
13
14
15
  
    homebrew::tap { 'homebrew/science': }
    ->
    package { 'opencv': }
  
    # Declare all Hombrew Cask packages
    include brewcask
225d9deac   Jianwei Han   Use puppet-dotfil...
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
    package { ['acorn',
               'alfred',
               'atom',
               'bettertouchtool',
               'caffeine',
               'cleanmymac',
               'dropbox',
               'evernote',
               'fantastical',
               'firefox',
               'google-chrome',
               'hazel',
               'iterm2',
               'keyboard-maestro',
               'keyremap4macbook',
               '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...
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
    }
  
    # Taps
    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...
69
70
71
    # Apps configuration
    class { 'dotfiles::tmux':
      require => Package['tmux'],
3a47d364c   Jianwei Han   Remove caches for...
72
    }
225d9deac   Jianwei Han   Use puppet-dotfil...
73
74
    class { 'dotfiles::vim':
      require => Package['vim'],
3a47d364c   Jianwei Han   Remove caches for...
75
    }
3a47d364c   Jianwei Han   Remove caches for...
76

225d9deac   Jianwei Han   Use puppet-dotfil...
77
78
    class { 'dotfiles::emacs':
      require => Package['emacs-mac'],
3a47d364c   Jianwei Han   Remove caches for...
79
    }
225d9deac   Jianwei Han   Use puppet-dotfil...
80
81
82
  
    class { 'dotfiles::vimperator':
      require => Package['firefox'],
3a47d364c   Jianwei Han   Remove caches for...
83
    }
225d9deac   Jianwei Han   Use puppet-dotfil...
84
85
    class { 'dotfiles::keyremap4macbook':
      require => Package['keyremap4macbook'],
3a47d364c   Jianwei Han   Remove caches for...
86
    }
225d9deac   Jianwei Han   Use puppet-dotfil...
87
88
89
    class { 'dotfiles::seil':
      require => Package['seil']
    }
3a47d364c   Jianwei Han   Remove caches for...
90

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

225d9deac   Jianwei Han   Use puppet-dotfil...
95
96
97
    include dotfiles::git
    include dotfiles::zsh
    include dotfiles::rubygems
3a47d364c   Jianwei Han   Remove caches for...
98
  }