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,6 +1,6 @@
# Install Mercurial.
#
class mercurial::client {
class mercurial {
package { "mercurial":
ensure => installed,
@ -8,6 +8,14 @@ class mercurial::client {
}
class mercurial::client {
warning("mercurial::client is deprecated, include mercurial instead")
include mercurial
}
# Clone repository.
#
# === Parameters