Skip to content

Instantly share code, notes, and snippets.

@nanliu
Created February 17, 2013 06:37
Show Gist options
  • Save nanliu/4970469 to your computer and use it in GitHub Desktop.
Save nanliu/4970469 to your computer and use it in GitHub Desktop.
dot::files
define dot::file {
file { "${my_homedir}/.${name}":
ensure => link,
mode => '0644',
target => "${my_sourcedir}/dotfiles/${name}",
require => Repository["${my_sourcedir}/dotfiles"],
}
}
dot::file {
[ 'tmux.conf',
'zshrc',
'vimrc',
]:
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment