Dotfiles/site-modules/core/manifests/packages/npm.pp
Ade Attwood 80239af169 refactor(core): start to make dotfiles public
This is the first commit that brings the privet dotfiles to a public
reop previously this was all one puppet module. Now this has been split
out so I can put all of the private files in a private puppet module
2020-09-20 06:22:17 +01:00

9 lines
316 B
Puppet

define core::packages::npm {
exec { "npm_install_${title}":
command => "${find_file('/core/scripts/npm-install-package')} ${title}",
#command => ". $HOME/.nvim/nvim.sh && npm install -g ${title}",
# path => '/usr/bin:/usr/local/bin:/usr/sbin:/bin',
provider => shell,
user => $user,
}
}