1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# File 'lib/puppet/functions/git/data.rb', line 1
Puppet::Functions.create_function(:'git::data') do
def data
configdir = closure_scope.lookupvar('::boxen::config::configdir')
repodir = closure_scope.lookupvar('::boxen::config::repodir')
homedir = closure_scope.lookupvar('::boxen::config::home')
{
'git::configdir' => "#{configdir}/git",
'git::package' => 'git',
'git::version' => 'latest',
'git::credentialhelper' => "#{repodir}/script/boxen-git-credential",
'git::global_credentialhelper' => "#{homedir}/bin/boxen-git-credential",
'git::global_excludesfile' => "#{configdir}/git/gitignore"
}
end
end
|