summaryrefslogtreecommitdiffstats
path: root/modules/pihole/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pihole/manifests/init.pp')
-rw-r--r--modules/pihole/manifests/init.pp8
1 files changed, 2 insertions, 6 deletions
diff --git a/modules/pihole/manifests/init.pp b/modules/pihole/manifests/init.pp
index f568b3e..c94af67 100644
--- a/modules/pihole/manifests/init.pp
+++ b/modules/pihole/manifests/init.pp
@@ -12,12 +12,8 @@ class pihole($dir) {
"${dir}/etc-dnsmasq.d":
ensure => directory,
require => File[$dir];
- "${dir}/var-log":
- ensure => directory,
- require => File[$dir];
- "${dir}/var-log/pihole.log":
- ensure => file,
- require => File["${dir}/var-log"];
+ "/var/log/pihole.log":
+ ensure => file;
}
systemd::service { "pihole":