]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Ensure /dev/inotify exists on nodo::role::nas for minidlna compatibility
authorSilvio Rhatto <rhatto@riseup.net>
Sun, 29 Sep 2013 23:25:07 +0000 (20:25 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sun, 29 Sep 2013 23:25:07 +0000 (20:25 -0300)
manifests/role/nas.pp

index d0b48fee3fbc566e562aec609311ecf3e4a40afc..61e776440d64bde3d6700b2473d49db612418dbd 100644 (file)
@@ -47,6 +47,17 @@ class nodo::role::nas(
       value => 100000,
     }
 
+    # See https://dev.openwrt.org/ticket/10711
+    #     http://forum.doozan.com/read.php?2,1931,1931
+    #     http://crunchbang.org/forums/viewtopic.php?pid=294109
+    #     http://dev.shyd.de/2011/08/minidlna-dockstar-dlna-server/
+    exec { 'minidlna-mknod-inotify':
+      command => 'mknod /dev/inotify c 10 63',
+      user    => root,
+      group   => root,
+      creates => '/dev/inotify',
+    }
+
     class { 'minidlna': }
   }