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 svn client tools.
|
||||
# Install Subversion.
|
||||
#
|
||||
class svn::client {
|
||||
class svn {
|
||||
|
||||
package { "subversion":
|
||||
ensure => installed,
|
||||
|
@ -9,14 +9,21 @@ class svn::client {
|
|||
file { "/etc/subversion/servers":
|
||||
ensure => present,
|
||||
mode => "0644",
|
||||
owner => root,
|
||||
group => root,
|
||||
owner => "root",
|
||||
group => "root",
|
||||
content => template("svn/servers.erb"),
|
||||
require => Package["subversion"],
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
class svn::client {
|
||||
|
||||
warning("svn::client is deprecated, include svn instead")
|
||||
include svn
|
||||
|
||||
}
|
||||
|
||||
|
||||
# Checkout working copy.
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue