Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: modules/trac/manifests/init.pp

Issue 4894914248704000: Issue 254 - Switch from wildcard certificate to certificates for individual hosts (Closed)
Patch Set: Created April 10, 2014, 9 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « modules/statsmaster/manifests/init.pp ('k') | modules/updateserver/manifests/init.pp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 class trac( 1 class trac(
2 $domain, 2 $domain,
3 $certificate,
4 $private_key,
3 $is_default = false) inherits private::trac { 5 $is_default = false) inherits private::trac {
4 package {['python-mysqldb','python-pip','subversion', 'tofrodos', 'graphviz']: 6 package {['python-mysqldb','python-pip','subversion', 'tofrodos', 'graphviz']:
5 ensure => present 7 ensure => present
6 } 8 }
7 9
8 include nginx, spawn-fcgi 10 include nginx, spawn-fcgi
9 11
10 nginx::hostconfig {$domain: 12 nginx::hostconfig {$domain:
11 source => 'puppet:///modules/trac/site.conf', 13 source => 'puppet:///modules/trac/site.conf',
12 is_default => $is_default, 14 is_default => $is_default,
13 certificate => 'adblockplus.org_sslcert.pem', 15 certificate => $certificate,
14 private_key => 'adblockplus.org_sslcert.key', 16 private_key => $private_key,
15 log => 'access_log_trac' 17 log => 'access_log_trac'
16 } 18 }
17 19
18 user {'trac': 20 user {'trac':
19 ensure => present, 21 ensure => present,
20 comment => 'User of the trac installation', 22 comment => 'User of the trac installation',
21 home => '/home/trac', 23 home => '/home/trac',
22 managehome => true 24 managehome => true
23 } 25 }
24 26
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 require => Exec['deploy'], 160 require => Exec['deploy'],
159 } 161 }
160 162
161 file {"/home/trac/permissions.csv": 163 file {"/home/trac/permissions.csv":
162 ensure => present, 164 ensure => present,
163 owner => trac, 165 owner => trac,
164 source => 'puppet:///modules/trac/permissions.csv' 166 source => 'puppet:///modules/trac/permissions.csv'
165 } 167 }
166 168
167 } 169 }
OLDNEW
« no previous file with comments | « modules/statsmaster/manifests/init.pp ('k') | modules/updateserver/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld