| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| (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' | |
|
Fred
2016/01/07 15:19:16
This group named 'log' seems not to be used any fu
mathias
2016/01/14 15:03:52
It's used in the File[$adblockplus::log::master::u
| |
| 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 } | |
| OLD | NEW |