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

Unified Diff: modules/downloadserver/manifests/init.pp

Issue 29481662: #1980 - Introduce puppet class adblockplus_web in downloadserver module (Closed)
Patch Set: Leave mode out Created July 6, 2017, 5:08 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 | « hiera/roles/downloadserver.yaml ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/downloadserver/manifests/init.pp
===================================================================
--- a/modules/downloadserver/manifests/init.pp
+++ b/modules/downloadserver/manifests/init.pp
@@ -5,6 +5,8 @@
$is_default = false
) {
+ include adblockplus::web
+
class {'nginx':
worker_connections => 4000,
ssl_session_cache => off,
@@ -37,12 +39,6 @@
managehome => true
}
- file {'/var/www':
- ensure => directory,
- owner => hg,
- mode => '0644',
- }
-
exec { "fetch_downloads":
command => "hg clone https://hg.adblockplus.org/downloads /var/www/downloads",
path => ["/usr/bin/", "/bin/"],
« no previous file with comments | « hiera/roles/downloadserver.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld