]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Disable browsing of printer drivers on nodo::nas
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 6 Apr 2013 04:10:30 +0000 (01:10 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 6 Apr 2013 04:10:30 +0000 (01:10 -0300)
manifests/nas.pp

index c77980857822cc66b1bc496424a6fba09da6b45e..ed596a1c27d76b60b2ad8713e30d48f90a342b1e 100644 (file)
@@ -80,6 +80,15 @@ class nodo::nas {
    'printcap name':    value => 'cups';
   }
 
+  # Disable browsing of printer drivers
+  samba::server::share { 'print$':
+    comment   => 'Printer Drivers',
+    path      => '/var/lib/samba/printers',
+    browsable => 'no',
+    read_only => 'yes',
+    guest_ok  => 'no',
+  }
+
   #
   # HTTP
   #