Defined Type: ruby::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 ruby::definition(
$source = undef,
) {
include ruby
include ruby::build
$source_path = $source ? {
undef => "puppet:///modules/ruby/definitions/${name}",
default => $source
}
file { "${ruby::build::prefix}/share/ruby-build/${name}":
source => $source_path
}
}
|