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:
parent
aa9dc23e73
commit
2b9e847b22
3 changed files with 30 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue