Revision c0904302
Added by Thomas Weißschuh about 10 years ago
manifests/params.pp | ||
---|---|---|
#
|
||
class git::params (
|
||
$bin = '/usr/bin/git',
|
||
$package = undef
|
||
$package = 'git',
|
||
) {
|
||
|
||
$pkg = $package ? {
|
||
undef => $::operatingystem ? {
|
||
/(?i:Debian|Ubuntu)/ => ['git-core'],
|
||
default => ['git'],
|
||
},
|
||
default => $package,
|
||
}
|
||
|
||
}
|
Also available in: Unified diff
always default to 'git' package
debian has deprecated the git-core package, which is now a synonym for the git
package.
Furthermore the conditional had a typo (missing 's' in `$::operatingystem` ), so
git-core has never been used anyways.