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

Side by Side Diff: modules/adblockplus/manifests/log.pp

Issue 29366958: Noissue - Use wildcard for td-agent patch version (Closed)
Patch Set: Noissue - Use wildcard for td-agent patch version Created Dec. 6, 2016, 7:59 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # == Class: adblockplus::log 1 # == Class: adblockplus::log
2 # 2 #
3 # Default root namespace for integrating custom logging entities. 3 # Default root namespace for integrating custom logging entities.
4 # 4 #
5 # === Parameters: 5 # === Parameters:
6 # 6 #
7 # [*ensure*] 7 # [*ensure*]
8 # Whether associated resources are ment to be 'present' or 'absent'. 8 # Whether associated resources are ment to be 'present' or 'absent'.
9 # 9 #
10 # [*name*] 10 # [*name*]
(...skipping 29 matching lines...) Expand all
40 include stdlib 40 include stdlib
41 41
42 # Used as internal constants within adblockplus::log::* resources 42 # Used as internal constants within adblockplus::log::* resources
43 $directory = "$adblockplus::directory/log/data" 43 $directory = "$adblockplus::directory/log/data"
44 $user = 'log' 44 $user = 'log'
45 45
46 # Required on both log generating and log processing hosts 46 # Required on both log generating and log processing hosts
47 class {'fluent': 47 class {'fluent':
48 package => { 48 package => {
49 ensure => $ensure ? { 49 ensure => $ensure ? {
50 'present' => '2.3.1-0', 50 'present' => '2.3.*',
51 default => 'absent', 51 default => 'absent',
52 }, 52 },
53 provider => 'apt', 53 provider => 'apt',
54 }, 54 },
55 user => { 55 user => {
56 groups => ['adm'], 56 groups => ['adm'],
57 shell => '/bin/sh', 57 shell => '/bin/sh',
58 }, 58 },
59 } 59 }
60 60
(...skipping 29 matching lines...) Expand all
90 User['fluent'], 90 User['fluent'],
91 ], 91 ],
92 } 92 }
93 93
94 # See modules/adblockplus/manifests/log/rotation.pp 94 # See modules/adblockplus/manifests/log/rotation.pp
95 create_resources('adblockplus::log::rotation', $rotations) 95 create_resources('adblockplus::log::rotation', $rotations)
96 96
97 # See modules/adblockplus/manifests/log/tracker.pp 97 # See modules/adblockplus/manifests/log/tracker.pp
98 create_resources('adblockplus::log::tracker', $trackers) 98 create_resources('adblockplus::log::tracker', $trackers)
99 } 99 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld