/[adm]/puppet/modules/catdap/manifests/init.pp
ViewVC logotype

Contents of /puppet/modules/catdap/manifests/init.pp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3426 - (show annotations) (download)
Sun Mar 23 16:20:53 2014 UTC (3 years, 7 months ago) by colin
File size: 2015 byte(s)
Switch identity.mageia.org (aka CatDap) to git
1 class catdap {
2
3 $upstream_git = 'git://git.mageia.org/web/identity'
4
5 # TODO switch to a proper rpm packaging
6 $rpm_requirement = ['perl-Catalyst-Runtime',
7 'perl-FCGI',
8 'perl-Catalyst-Plugin-Authorization-Roles',
9 'perl-Catalyst-Action-RenderView',
10 'perl-Catalyst-Model-LDAP-FromAuthentication',
11 'perl-Catalyst-P-A-Store-LDAP',
12 'perl-Catalyst-Plugin-Authentication',
13 'perl-Catalyst-Plugin-Captcha',
14 'perl-Catalyst-Plugin-ConfigLoader',
15 'perl-Catalyst-Plugin-I18N',
16 'perl-Catalyst-Plugin-Session-Store-File',
17 'perl-Catalyst-Plugin-Static-Simple',
18 'perl-Catalyst-P-S-State-Cookie',
19 'perl-Catalyst-P-S-Store-File',
20 'perl-Catalyst-View-Email',
21 'perl-Catalyst-View-TT',
22 'perl-Config-General',
23 'perl-Crypt-CBC',
24 'perl-Data-UUID',
25 'perl-Email-Valid',
26 'perl-Moose',
27 'perl-namespace-autoclean',
28 'perl-Test-Simple',
29 'perl-Crypt-Blowfish',
30 'perl-Email-Date-Format',
31 'perl-YAML-LibYAML',
32 'perl-Catalyst-Plugin-Unicode-Encoding',
33 'perl-IO-Socket-INET6' ]
34
35 package { $rpm_requirement: }
36
37 $ldap_password = extlookup('catdap_ldap','x')
38
39 catdap::snapshot { "identity.$::domain":
40 location => '/var/www/identity',
41 git_location => $upstream_git,
42 git_branch => 'topic/production',
43 }
44
45 catdap::snapshot { "identity-trunk.$::domain":
46 location => '/var/www/identity-trunk',
47 git_location => $upstream_git,
48 }
49 }

  ViewVC Help
Powered by ViewVC 1.1.26