aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-06 01:10:30 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-06 01:10:30 -0300
commit191b136229813d14ccb5bf90711c50a307c8c781 (patch)
tree4311f7d156c0bea7b7032bdf214d608188a2fc8b
parent89b93cd74918f7ba2586b4fc3e9ce8044ba4d38d (diff)
downloadpuppet-nodo-191b136229813d14ccb5bf90711c50a307c8c781.tar.gz
puppet-nodo-191b136229813d14ccb5bf90711c50a307c8c781.tar.bz2
Disable browsing of printer drivers on nodo::nas
-rw-r--r--manifests/nas.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/nas.pp b/manifests/nas.pp
index c779808..ed596a1 100644
--- a/manifests/nas.pp
+++ b/manifests/nas.pp
@@ -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
#