Renamed {git,mercurial,svn}::client as git, mercurial and svn

Added {git,mercurial,svn}::client classes with deprecation warning for
backwards compatilibity.
This commit is contained in:
Ossi Salmi 2012-12-05 13:05:33 +02:00
parent aa9dc23e73
commit 2b9e847b22
3 changed files with 30 additions and 9 deletions

View file

@ -1,7 +1,6 @@
# Install Git client tools.
# Install Git.
#
class git::client {
class git {
package { "git":
name => $::operatingsystem ? {
@ -13,6 +12,13 @@ class git::client {
}
class git::client {
warning("git::client is deprecated, include git instead")
include git
}
# Install prequisites for serving Git repositories
#
@ -23,7 +29,7 @@ class git::client {
#
class git::server {
include git::client
include git
if $git_datadir {
file { $git_datadir: