aboutsummaryrefslogtreecommitdiff
path: root/manifests/base
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-27 12:44:16 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-27 12:44:16 -0300
commit97027e2000a9a7facd5adec7fcf02054324aba31 (patch)
tree5ebb7dd2d9a42bcaeeab6dedd68df8e1793fac73 /manifests/base
parent584ffb92d1694b3b678f5afbfb3a4f57a3c84d1b (diff)
downloadpuppet-nodo-97027e2000a9a7facd5adec7fcf02054324aba31.tar.gz
puppet-nodo-97027e2000a9a7facd5adec7fcf02054324aba31.tar.bz2
Avoid annoying warning with laptop-mode-tools config
Diffstat (limited to 'manifests/base')
-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'],
+ }
}