blob: 91c6661005484d09d18196dbd626a01cd03485b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
class dashboard {
class variable {
$dashboard_login = "dashboard"
$dashboard_home_dir = "/var/lib/$dashboard_login"
$dashboard_dir = "$dashboard_home_dir/dashboard"
}
class base inherits variable {
user {"$dashboard_login":
ensure => present,
comment => "dashboard system user",
managehome => true,
home => $dashboard_home_dir,
shell => "/bin/bash",
}
subversion::snapshot { $dashboard_dir:
source => "svn://svn.$domain/soft/dashboard/",
}
}
}
|