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

Unified 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.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/web/manifests/server.pp
diff --git a/modules/web/manifests/server.pp b/modules/web/manifests/server.pp
index ea9bebeff6b294ccde17c33699aa0dde1910070a..974833b20464f9033baf90493f3e3f1a8727ae06 100644
--- a/modules/web/manifests/server.pp
+++ b/modules/web/manifests/server.pp
@@ -41,7 +41,17 @@ class web::server(
ensure => $geoip ? {false => 'absent', default => 'present'},
}
- package {['python-jinja2', 'python-markdown']:}
+ ensure_packages([
+ 'python-jinja2',
+ 'python-pip',
+ ])
+
+ package {'python-markdown':
+ ensure => '2.6.6',
+ name => 'markdown',
+ provider => 'pip',
+ require => Package['python-pip'],
+ }
nginx::hostconfig {$vhost:
content => template('web/site.conf.erb'),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld