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' |
| 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 |