Dotfiles/site-modules/core/manifests/emacs.pp
Ade Attwood d3a2f6dbe3 fix(emacs): update spacemacs to the develop branch via puppet
Before puppet was only checking to see if the repo was present. Now it is
checking to see if the branch is updated with the develop branch and getting
auto update when the puppet manifests are applied
2020-11-22 21:03:09 +00:00

14 lines
332 B
Puppet

class core::emacs {
vcsrepo { "${user_home}/.emacs.d":
source => 'https://github.com/syl20bnr/spacemacs',
ensure => 'latest',
provider => 'git',
user => $user,
revision => 'develop',
}
file { "${user_home}/.spacemacs":
ensure => 'link',
target => find_file('core/emacs/spacemacs'),
}
}