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

Side by Side Diff: modules/web/manifests/server.pp

Issue 29340857: Issue 3996 - Include python-markdown 2.6.6 with web::server configuration (Closed)
Patch Set: Created April 27, 2016, 12:26 p.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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 class web::server( 1 class web::server(
2 $vhost, 2 $vhost,
3 $repository, 3 $repository,
4 $certificate = hiera('web::server::certificate', 'undef'), 4 $certificate = hiera('web::server::certificate', 'undef'),
5 $private_key = hiera('web::server::private_key', 'undef'), 5 $private_key = hiera('web::server::private_key', 'undef'),
6 $is_default = false, 6 $is_default = false,
7 $aliases = undef, 7 $aliases = undef,
8 $custom_config = undef, 8 $custom_config = undef,
9 $multiplexer_locations = undef, 9 $multiplexer_locations = undef,
10 $geoip = false, 10 $geoip = false,
(...skipping 23 matching lines...) Expand all
34 false => undef, 34 false => undef,
35 default => '/usr/share/GeoIP/GeoIPv6.dat', 35 default => '/usr/share/GeoIP/GeoIPv6.dat',
36 }, 36 },
37 } 37 }
38 38
39 class {'geoip': 39 class {'geoip':
40 cron => {hour => 0, minute => 8, monthday => 15}, 40 cron => {hour => 0, minute => 8, monthday => 15},
41 ensure => $geoip ? {false => 'absent', default => 'present'}, 41 ensure => $geoip ? {false => 'absent', default => 'present'},
42 } 42 }
43 43
44 package {['python-jinja2', 'python-markdown']:} 44 ensure_packages([
45 'python-jinja2',
46 'python-pip',
47 ])
48
49 package {'python-markdown':
50 ensure => '2.6.6',
51 name => 'markdown',
52 provider => 'pip',
53 require => Package['python-pip'],
54 }
45 55
46 nginx::hostconfig {$vhost: 56 nginx::hostconfig {$vhost:
47 content => template('web/site.conf.erb'), 57 content => template('web/site.conf.erb'),
48 global_config => template('web/global.conf.erb'), 58 global_config => template('web/global.conf.erb'),
49 is_default => $is_default, 59 is_default => $is_default,
50 certificate => $certificate ? {'undef' => undef, default => $certificate}, 60 certificate => $certificate ? {'undef' => undef, default => $certificate},
51 private_key => $private_key ? {'undef' => undef, default => $private_key}, 61 private_key => $private_key ? {'undef' => undef, default => $private_key},
52 log => "access_log_$vhost" 62 log => "access_log_$vhost"
53 } 63 }
54 64
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 Class['sitescripts'], 167 Class['sitescripts'],
158 Exec['install_jsdoc'], 168 Exec['install_jsdoc'],
159 Package['make', 'doxygen'], 169 Package['make', 'doxygen'],
160 File['/var/www/docs'], 170 File['/var/www/docs'],
161 ], 171 ],
162 command => 'python -m sitescripts.docs.bin.generate_docs', 172 command => 'python -m sitescripts.docs.bin.generate_docs',
163 user => www, 173 user => www,
164 minute => '5-55/10', 174 minute => '5-55/10',
165 } 175 }
166 } 176 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld