1 |
class catdap { |
class catdap { |
2 |
|
|
3 |
$upstream_svn = 'svn://svn.mageia.org/svn/soft/identity/CatDap/' |
$upstream_git = 'git://git.mageia.org/web/identity' |
4 |
|
|
5 |
# TODO switch to a proper rpm packaging |
# TODO switch to a proper rpm packaging |
6 |
$rpm_requirement = ['perl-Catalyst-Runtime', |
$rpm_requirement = ['perl-Catalyst-Runtime', |
38 |
|
|
39 |
catdap::snapshot { "identity.$::domain": |
catdap::snapshot { "identity.$::domain": |
40 |
location => '/var/www/identity', |
location => '/var/www/identity', |
41 |
svn_location => "$upstream_svn/branches/live" |
git_location => $upstream_git, |
42 |
|
git_branch => 'topic/production', |
43 |
} |
} |
44 |
|
|
45 |
catdap::snapshot { "identity-trunk.$::domain": |
catdap::snapshot { "identity-trunk.$::domain": |
46 |
location => '/var/www/identity-trunk', |
location => '/var/www/identity-trunk', |
47 |
svn_location => "$upstream_svn/trunk" |
git_location => $upstream_git, |
48 |
} |
} |
49 |
} |
} |