2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# File 'lib/puppet/parser/functions/data.rb', line 2
newfunction(:'boxen::data', :type => :rvalue) do
home = lookupvar('::boxen_home')
{
'boxen::config::home' => home,
'boxen::config::bindir' => "#{home}/bin",
'boxen::config::cachedir' => "#{home}/cache",
'boxen::config::configdir' => "#{home}/config",
'boxen::config::datadir' => "#{home}/data",
'boxen::config::envdir' => "#{home}/env.d",
'boxen::config::logdir' => "#{home}/log",
'boxen::config::socketdir' => "#{home}/data/project-sockets",
'boxen::config::homebrewdir' => lookupvar('::homebrew_root'),
'boxen::config::repodir' => lookupvar('::boxen_repodir'),
'boxen::config::reponame' => lookupvar('::boxen_reponame'),
'boxen::config::srcdir' => lookupvar('::boxen_srcdir'),
'boxen::config::login' => lookupvar('::github_login'),
'boxen::config::repo_url_template' => lookupvar('::boxen_repo_url_template'),
'boxen::config::download_url_base' => lookupvar('::boxen_download_url_base'),
'boxen::config::hiera_merge_hierarchy' => false
}
end
|