From 97027e2000a9a7facd5adec7fcf02054324aba31 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 27 Mar 2014 12:44:16 -0300 Subject: Avoid annoying warning with laptop-mode-tools config --- manifests/base/laptop.pp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'manifests/base/laptop.pp') 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'], + } } -- cgit v1.2.3