diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-09-29 20:25:07 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-09-29 20:25:07 -0300 |
commit | 15b39498c77bd4cff584e9897b0fe4855f6ce282 (patch) | |
tree | bbe2381ab6924d8a86492aa6c0dce3e75102e8ce | |
parent | 39366a78da07bc91089f5761344b60c16f4c1946 (diff) | |
download | puppet-nodo-15b39498c77bd4cff584e9897b0fe4855f6ce282.tar.gz puppet-nodo-15b39498c77bd4cff584e9897b0fe4855f6ce282.tar.bz2 |
Ensure /dev/inotify exists on nodo::role::nas for minidlna compatibility
-rw-r--r-- | manifests/role/nas.pp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/role/nas.pp b/manifests/role/nas.pp index d0b48fe..61e7764 100644 --- a/manifests/role/nas.pp +++ b/manifests/role/nas.pp @@ -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': } } |