Created
July 1, 2013 23:15
-
-
Save atmos/5905477 to your computer and use it in GitHub Desktop.
for @indirect
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$home = '/Users/atmos' | |
$ni_home = "${home}/Documents/Native Instruments" | |
$dotfiles = "${home}/p/dotfiles" | |
file { | |
["${home}/.vimswap", $dotfiles, "${home}/Dropbox"]: | |
ensure => directory; | |
} | |
repository { $dotfiles: | |
path => $dotfiles, | |
source => 'atmos/dotfiles', | |
require => File[$dotfiles] | |
} | |
file { ["${home}/.gvimrc", "${home}/.vimrc" ]: | |
ensure => link, | |
force => true, | |
target => "${dotfiles}/vim/gvimrc", | |
require => Repository[$dotfiles] | |
} | |
file { $ni_home: | |
ensure => link, | |
force => true, | |
target => "${home}/Dropbox/Native Instruments", | |
require => Repository[$dotfiles] | |
} | |
file { "${home}/.boxen": | |
ensure => link, | |
force => true, | |
target => "${dotfiles}/dot.boxen", | |
require => Repository[$dotfiles] | |
} | |
file { "${home}/.vim": | |
ensure => link, | |
force => true, | |
target => "${dotfiles}/vim/dotvim", | |
require => Repository[$dotfiles] | |
} | |
file { '/Library/Internet Plug-Ins/JavaAppletPlugin.plugin': | |
ensure => absent, | |
force => true | |
} | |
# I don't differentiate between login/non shells. | |
file { ["${home}/.bash_profile", "${home}/.bashrc"]: | |
ensure => link, | |
target => "${dotfiles}/bash/main.sh", | |
require => Repository[$dotfiles] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment