blob: 0483bb8d2ea3d0e62149732c63741faf16f89cad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
class websvn {
# The needed packages
package { "subversion":
ensure => installed,
}
package { "dav_svn":
name => "libapache2-svn",
ensure => installed,
}
package { "websvn":
ensure => installed,
}
# Subversion folder
file { "/var/svn":
ensure => directory,
owner => root,
group => root,
mode => 0755,
}
# The needed apache modules
apache::module { "dav":
ensure => present,
}
apache::module { "dav_fs":
ensure => present,
}
apache::module { "dav_lock":
ensure => present,
}
apache::module { "dav_svn":
ensure => present,
require => Package["dav_svn"],
}
}
|