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
14 lines
332 B
Puppet
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'),
|
|
}
|
|
}
|