Defined Type: nodejs::definition
- Defined in:
- manifests/definition.pp
Overview
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'manifests/definition.pp', line 7
define nodejs::definition(
$source = undef,
) {
include nodejs
include nodejs::build
$source_path = $source ? {
undef => "puppet:///modules/nodejs/definitions/${name}",
default => $source
}
file { "${nodejs::build::prefix}/share/node-build/${name}":
source => $source_path
}
}
|