2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# File 'lib/puppet/parser/functions/data.rb', line 2
newfunction(:'ruby::data', :type => :rvalue) do
user = lookupvar('::boxen_user')
prefix = lookupvar('::boxen::config::home')
{
'nodejs::prefix' => prefix,
'nodejs::provider' => 'nodenv',
'nodejs::user' => user,
'nodejs::build::ensure' => '295e0d6819c53e80ed128b5baf1a8e5ec5620a7e',
'nodejs::build::prefix' => "#{prefix}/node-build",
'nodejs::build::user' => user,
'nodejs::nodenv::ensure' => 'v0.3.0',
'nodejs::nodenv::prefix' => "#{prefix}/nodenv",
'nodejs::nodenv::user' => user
}
end
|