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

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

Issue 29481626: #1980 - Introduce class adblockplus::web (Closed)
Patch Set: Created July 6, 2017, 11:49 a.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
Index: modules/filterserver/manifests/init.pp
diff --git a/modules/filterserver/manifests/init.pp b/modules/filterserver/manifests/init.pp
index 1935bb5d7922306c0ff4d41a57b1f6fe6befb5cd..af46c41518864cd44427b0f8f5ee753f30567b00 100644
--- a/modules/filterserver/manifests/init.pp
+++ b/modules/filterserver/manifests/init.pp
@@ -1,16 +1,8 @@
class filterserver($is_default = false) {
+ include adblockplus::web
include nginx
- if !defined(File['/var/www']) {
- file {'/var/www':
- ensure => directory,
- owner => nginx,
- mode => '0755',
- require => User['nginx']
- }
- }
-
user {'subscriptionstat':
ensure => absent,
}
« modules/adblockplus/manifests/web.pp ('K') | « modules/adblockplus/manifests/web.pp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld