Index: modules/adblockplus/manifests/log.pp |
diff --git a/modules/adblockplus/manifests/log.pp b/modules/adblockplus/manifests/log.pp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..bcfb68a589ed13d077ae60605bb0b2eb71387bf2 |
--- /dev/null |
+++ b/modules/adblockplus/manifests/log.pp |
@@ -0,0 +1,26 @@ |
+# == Class: adblockplus::log |
+# |
+# Default root namespace for integrating custom logging entities. |
+# |
+class adblockplus::log { |
+ |
+ include adblockplus |
+ realize(File[$adblockplus::directory]) |
+ |
+ # Used as internal constants within adblockplus::log::* resources |
+ $directory = "$adblockplus::directory/log" |
+ $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
|
+ $user = 'log' |
+ |
+ # Invoke realize(File[$adblockplus::log::directory]) when neccessary |
+ @file {$directory: |
+ ensure => 'directory', |
+ require => File[$adblockplus::directory], |
+ } |
+ |
+ # Invoke realize(User[$adblockplus::log::user]) when necessary |
+ @user {$user: |
+ ensure => 'present', |
+ managehome => true, |
+ } |
+} |