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

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

Issue 29333248: Issue 3306 - Create uplinks for pushing log files (Closed)
Patch Set: Issue 3306 - Address feedback from code-review Created Jan. 14, 2016, 3:05 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 | « modules/adblockplus/files/log/import.py ('k') | modules/adblockplus/manifests/log/master.pp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # == Class: adblockplus::log
2 #
3 # Default root namespace for integrating custom logging entities.
4 #
5 class adblockplus::log {
6
7 include adblockplus
8 realize(File[$adblockplus::directory])
9
10 # Used as internal constants within adblockplus::log::* resources
11 $directory = "$adblockplus::directory/log"
12 $group = 'log'
13 $user = 'log'
14
15 # Invoke realize(File[$adblockplus::log::directory]) when neccessary
16 @file {$directory:
17 ensure => 'directory',
18 require => File[$adblockplus::directory],
19 }
20
21 # Invoke realize(User[$adblockplus::log::user]) when necessary
22 @user {$user:
23 ensure => 'present',
24 managehome => true,
25 }
26 }
OLDNEW
« no previous file with comments | « modules/adblockplus/files/log/import.py ('k') | modules/adblockplus/manifests/log/master.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld