aboutsummaryrefslogtreecommitdiff
path: root/manifests/base/laptop.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/base/laptop.pp')
-rw-r--r--manifests/base/laptop.pp19
1 files changed, 19 insertions, 0 deletions
diff --git a/manifests/base/laptop.pp b/manifests/base/laptop.pp
index dbafda7..4e07e80 100644
--- a/manifests/base/laptop.pp
+++ b/manifests/base/laptop.pp
@@ -30,4 +30,23 @@ class nodo::base::laptop inherits nodo::base::personal {
default => present,
},
}
+
+ # Avoid this annoying warning
+ # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673818
+ file { '/etc/laptop-mode/conf.d/board-specific':
+ ensure => directory,
+ owner => root,
+ group => root,
+ mode => 0755,
+ require => Package['laptop-mode-tools'],
+ }
+
+ file { '/etc/laptop-mode/conf.d/board-specific/bogus.conf' :
+ ensure => present,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ content => "# Placeholder file, see Debian bug #673818\n",
+ require => File['/etc/laptop-mode/conf.d/board-specific'],
+ }
}