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

Unified Diff: modules/adblockplus/manifests/logmaster.pp

Issue 29329957: Issue 3301 - Rename class adblockplus::{logmaster => log::master} (Closed)
Patch Set: Created Nov. 11, 2015, 11:06 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/log/master.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/logmaster.pp
diff --git a/modules/adblockplus/manifests/logmaster.pp b/modules/adblockplus/manifests/logmaster.pp
deleted file mode 100644
index 75891ac7a0f42b7331e21240714d2f0bbfef2fb9..0000000000000000000000000000000000000000
--- a/modules/adblockplus/manifests/logmaster.pp
+++ /dev/null
@@ -1,29 +0,0 @@
-# == Class: adblockplus::logmaster
-#
-# A server setup to collect and pre-process (i.e. anonymize and combine)
-# log files using Logstash (https://logstash.net/) pipelines.
-#
-class adblockplus::logmaster {
-
- include adblockplus
- realize(File['/var/adblockplus'])
-
- # Mapping hiera values explicitly becomes obsolete with Puppet 3.x
- class {'logstash':
- contrib => hiera('logstash::contrib', false),
- ensure => hiera('logstash::ensure', 'running'),
- pipelines => hiera('logstash::pipelines', {}),
- version => hiera('logstash::version', '1.4'),
- }
-
- # Default location for output files in Logstash pipeline configurations
- file {'/var/adblockplus/log':
- before => Service['logstash'],
- group => 'logstash',
- mode => 0775,
- require => [
- File['/var/adblockplus'],
- Package['logstash'],
- ],
- }
-}
« no previous file with comments | « modules/adblockplus/manifests/log/master.pp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld