Commit db7b8e3bfafea589c245823492b955d381bb1d44
1 parent
f77d1c3eec
Exists in
master
Add trim-enabler
Showing 1 changed file with 1 additions and 0 deletions Inline Diff
modules/people/manifests/hanjianwei/applications.pp
| class people::hanjianwei::applications inherits people::hanjianwei::config { | 1 | 1 | class people::hanjianwei::applications inherits people::hanjianwei::config { | |
| notify { "${homebrew::config::cachedir}": } | 2 | 2 | notify { "${homebrew::config::cachedir}": } | |
| 3 | 3 | |||
| # Declare all Homebrew packages | 4 | 4 | # Declare all Homebrew packages | |
| $brew_pkgs = [ | 5 | 5 | $brew_pkgs = [ | |
| 'wget', | 6 | 6 | 'wget', | |
| 'qt5', | 7 | 7 | 'qt5', | |
| 'tmux', | 8 | 8 | 'tmux', | |
| 'vim' | 9 | 9 | 'vim' | |
| ] | 10 | 10 | ] | |
| package { $brew_pkgs: } | 11 | 11 | package { $brew_pkgs: } | |
| 12 | 12 | |||
| homebrew::tap { 'homebrew/science': } | 13 | 13 | homebrew::tap { 'homebrew/science': } | |
| -> | 14 | 14 | -> | |
| package { 'opencv': } | 15 | 15 | package { 'opencv': } | |
| 16 | 16 | |||
| # Declare all Hombrew Cask packages | 17 | 17 | # Declare all Hombrew Cask packages | |
| include brewcask | 18 | 18 | include brewcask | |
| 19 | 19 | |||
| $cask_pkgs = [ | 20 | 20 | $cask_pkgs = [ | |
| 'acorn', | 21 | 21 | 'acorn', | |
| 'alfred', | 22 | 22 | 'alfred', | |
| 'atom', | 23 | 23 | 'atom', | |
| 'bettertouchtool', | 24 | 24 | 'bettertouchtool', | |
| 'caffeine', | 25 | 25 | 'caffeine', | |
| 'cleanmymac', | 26 | 26 | 'cleanmymac', | |
| 'dropbox', | 27 | 27 | 'dropbox', | |
| 'evernote', | 28 | 28 | 'evernote', | |
| 'fantastical', | 29 | 29 | 'fantastical', | |
| 'firefox', | 30 | 30 | 'firefox', | |
| 'google-chrome', | 31 | 31 | 'google-chrome', | |
| 'hazel', | 32 | 32 | 'hazel', | |
| 'iterm2', | 33 | 33 | 'iterm2', | |
| 'keyboard-maestro', | 34 | 34 | 'keyboard-maestro', | |
| 'keyremap4macbook', | 35 | 35 | 'keyremap4macbook', | |
| 'mactex', | 36 | 36 | 'mactex', | |
| 'omnifocus', | 37 | 37 | 'omnifocus', | |
| 'onepassword', | 38 | 38 | 'onepassword', | |
| 'parallels', | 39 | 39 | 'parallels', | |
| 'pycharm-ce', | 40 | 40 | 'pycharm-ce', | |
| 'scapple', | 41 | 41 | 'scapple', | |
| 'screenflow', | 42 | 42 | 'screenflow', | |
| 'scrivener', | 43 | 43 | 'scrivener', | |
| 'seil', | 44 | 44 | 'seil', | |
| 'shiori', | 45 | 45 | 'shiori', | |
| 46 | 'trim-enabler', | |||
| 'qq', | 46 | 47 | 'qq', | |
| 'qt-creator', | 47 | 48 | 'qt-creator', | |
| 'vagrant', | 48 | 49 | 'vagrant', | |
| 'virtualbox', | 49 | 50 | 'virtualbox', | |
| 'welly', | 50 | 51 | 'welly', | |
| 'xmind' | 51 | 52 | 'xmind' | |
| ] | 52 | 53 | ] | |
| 53 | 54 | |||
| package { $cask_pkgs: | 54 | 55 | package { $cask_pkgs: | |
| provider => 'brewcask' | 55 | 56 | provider => 'brewcask' | |
| } | 56 | 57 | } | |
| 57 | 58 | |||
| # Taps | 58 | 59 | # Taps | |
| homebrew::tap { 'caskroom/fonts': } | 59 | 60 | homebrew::tap { 'caskroom/fonts': } | |
| -> | 60 | 61 | -> | |
| package { 'font-inconsolata-for-powerline': | 61 | 62 | package { 'font-inconsolata-for-powerline': | |
| provider => 'brewcask' | 62 | 63 | provider => 'brewcask' | |
| } | 63 | 64 | } | |
| 64 | 65 | |||
| homebrew::tap { 'caskroom/versions': } | 65 | 66 | homebrew::tap { 'caskroom/versions': } | |
| -> | 66 | 67 | -> | |
| package { 'intellij-idea-ultimate12': | 67 | 68 | package { 'intellij-idea-ultimate12': | |
| provider => 'brewcask' | 68 | 69 | provider => 'brewcask' | |
| } | 69 | 70 | } | |
| 70 | 71 | |||
| homebrew::tap { 'railwaycat/emacsmacport': } | 71 | 72 | homebrew::tap { 'railwaycat/emacsmacport': } | |
| -> | 72 | 73 | -> | |
| package { 'emacs-mac': | 73 | 74 | package { 'emacs-mac': | |
| provider => 'brewcask' | 74 | 75 | provider => 'brewcask' | |
| } | 75 | 76 | } | |
| 76 | 77 | |||
| # tmux | 77 | 78 | # tmux | |
| Package['tmux'] | 78 | 79 | Package['tmux'] | |
| -> | 79 | 80 | -> | |
| file { "${home}/.tmux.conf": | 80 | 81 | file { "${home}/.tmux.conf": | |
| ensure => link, | 81 | 82 | ensure => link, | |
| target => "${dotfiles}/tmux/tmux.conf", | 82 | 83 | target => "${dotfiles}/tmux/tmux.conf", | |
| require => Repository["${dotfiles}"] | 83 | 84 | require => Repository["${dotfiles}"] | |
| } | 84 | 85 | } | |
| 85 | 86 | |||
| # Vim | 86 | 87 | # Vim | |
| Package['vim'] | 87 | 88 | Package['vim'] | |
| -> | 88 | 89 | -> | |
| file { "${home}/.vimrc": | 89 | 90 | file { "${home}/.vimrc": | |
| ensure => link, | 90 | 91 | ensure => link, | |
| target => "${dotfiles}/Vim/vimrc", | 91 | 92 | target => "${dotfiles}/Vim/vimrc", | |
| require => Repository["${dotfiles}"] | 92 | 93 | require => Repository["${dotfiles}"] | |
| } | 93 | 94 | } | |
| -> | 94 | 95 | -> | |
| file { ["${home}/.vim", "${home}/.vim/bundle"]: | 95 | 96 | file { ["${home}/.vim", "${home}/.vim/bundle"]: | |
| ensure => directory | 96 | 97 | ensure => directory | |
| } | 97 | 98 | } | |
| -> | 98 | 99 | -> | |
| repository { "${home}/.vim/bundle/Vundle.vim": | 99 | 100 | repository { "${home}/.vim/bundle/Vundle.vim": | |
| source => 'gmarik/Vundle.vim' | 100 | 101 | source => 'gmarik/Vundle.vim' | |
| } | 101 | 102 | } | |
| -> | 102 | 103 | -> | |
| exec { 'vim +BundleInstall +BundleClean +qall': } | 103 | 104 | exec { 'vim +BundleInstall +BundleClean +qall': } | |
| 104 | 105 | |||
| 105 | 106 | |||
| # Emacs mac port | 106 | 107 | # Emacs mac port | |
| Package['emacs-mac'] | 107 | 108 | Package['emacs-mac'] | |
| -> | 108 | 109 | -> | |
| file { "${home}/.emacs.d": | 109 | 110 | file { "${home}/.emacs.d": | |
| ensure => directory | 110 | 111 | ensure => directory | |
| } | 111 | 112 | } | |
| -> | 112 | 113 | -> | |
| file { "${home}/.emacs.d/init.el": | 113 | 114 | file { "${home}/.emacs.d/init.el": | |
| ensure => link, | 114 | 115 | ensure => link, | |
| target => "${dotfiles}/Emacs/init.el", | 115 | 116 | target => "${dotfiles}/Emacs/init.el", | |
| require => Repository["${dotfiles}"] | 116 | 117 | require => Repository["${dotfiles}"] | |
| } | 117 | 118 | } | |
| -> | 118 | 119 | -> | |
| repository { "${home}/.emacs.d/snippets": | 119 | 120 | repository { "${home}/.emacs.d/snippets": | |
| source => 'hanjianwei/yasnippet-snippets' | 120 | 121 | source => 'hanjianwei/yasnippet-snippets' | |
| } | 121 | 122 | } | |
| 122 | 123 | |||
| # Firefox | 123 | 124 | # Firefox | |
| Package['firefox'] | 124 | 125 | Package['firefox'] | |
| -> | 125 | 126 | -> | |
| file { "${home}/.vimperatorrc": | 126 | 127 | file { "${home}/.vimperatorrc": | |
| target => "${dotfiles}/Vimperator/vimperatorrc", | 127 | 128 | target => "${dotfiles}/Vimperator/vimperatorrc", | |
| require => Repository["${dotfiles}"] | 128 | 129 | require => Repository["${dotfiles}"] | |
| } | 129 | 130 | } | |
| 130 | 131 | |||
| # KeyRemap4Macbook | 131 | 132 | # KeyRemap4Macbook | |
| # include keyremap4macbook | 132 | 133 | # include keyremap4macbook | |
| # include keyremap4macbook::login_item | 133 | 134 | # include keyremap4macbook::login_item | |
| # keyremap4macbook::remap { 'private.f19_to_hyper': } | 134 | 135 | # keyremap4macbook::remap { 'private.f19_to_hyper': } |