aboutsummaryrefslogtreecommitdiff
path: root/manifests/role/nas.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-06-02 21:43:51 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-06-02 21:43:51 -0300
commita564290bbe9b9bc78bd9d017e2a047f89bd3bb34 (patch)
tree3371096e01daebca45159c6971ecaabb615c5f01 /manifests/role/nas.pp
parentd3e11f88f27609ca199bf1263348a466e909ff78 (diff)
downloadpuppet-nodo-a564290bbe9b9bc78bd9d017e2a047f89bd3bb34.tar.gz
puppet-nodo-a564290bbe9b9bc78bd9d017e2a047f89bd3bb34.tar.bz2
Adding sysctl definition
Diffstat (limited to 'manifests/role/nas.pp')
-rw-r--r--manifests/role/nas.pp5
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/role/nas.pp b/manifests/role/nas.pp
index 3ab7bb5..f834322 100644
--- a/manifests/role/nas.pp
+++ b/manifests/role/nas.pp
@@ -39,6 +39,11 @@ class nodo::role::nas(
$dlna = hiera('nodo::role::nas::dlna', false)
if $dlna == true {
+ # See https://wiki.archlinux.org/index.php/MiniDLNA#Automatic_Media_DB_Update
+ sysctl { 'fs.inotify.max_user_watches':
+ value => 100000,
+ }
+
class { 'minidlna': }
}