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

Unified Diff: modules/adblockplus/manifests/log/master.pp

Issue 29333241: Issue 3471 - Introduce $adblockplus::directory variable (Closed)
Patch Set: Created Jan. 6, 2016, 7:59 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
« no previous file with comments | « modules/adblockplus/manifests/init.pp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/adblockplus/manifests/log/master.pp
diff --git a/modules/adblockplus/manifests/log/master.pp b/modules/adblockplus/manifests/log/master.pp
index 1a3eaf2a1d1457fb8b1223b966510a719ad63269..856cb7f512e87f67aadcdd413776a0b4b2c83b71 100644
--- a/modules/adblockplus/manifests/log/master.pp
+++ b/modules/adblockplus/manifests/log/master.pp
@@ -6,7 +6,7 @@
class adblockplus::log::master {
include adblockplus
- realize(File['/var/adblockplus'])
+ realize(File[$adblockplus::directory])
# Mapping hiera values explicitly becomes obsolete with Puppet 3.x
class {'logstash':
@@ -17,12 +17,12 @@ class adblockplus::log::master {
}
# Default location for output files in Logstash pipeline configurations
- file {'/var/adblockplus/log':
+ file {"$adblockplus::directory/log":
before => Service['logstash'],
group => 'logstash',
mode => 0775,
require => [
- File['/var/adblockplus'],
+ File[$adblockplus::directory],
Package['logstash'],
],
}
« no previous file with comments | « modules/adblockplus/manifests/init.pp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld