Puppet Class: nodejs::build
- Defined in:
- manifests/build.pp
Overview
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'manifests/build.pp', line 3
class nodejs::build(
$ensure = $nodejs::build::ensure,
$prefix = $nodejs::build::prefix,
$user = $nodejs::build::user,
) {
require nodejs
repository { $prefix:
ensure => $ensure,
force => true,
source => 'OiNutter/node-build',
user => $user,
}
ensure_resource('file', "${::nodejs::prefix}/cache/nodes", {
'ensure' => 'directory',
'owner' => $user,
})
}
|