aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/scanner
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-12-31 14:45:02 -0200
committerSilvio Rhatto <rhatto@riseup.net>2014-12-31 14:45:02 -0200
commit301667e66aa403e4699fa9c895b994e6213e55f6 (patch)
tree8afcf2bd00515e1068b23da04be1f0a9f27cba08 /manifests/subsystem/scanner
parent51dad1ad46f7415a180390afe624946c37ee86ac (diff)
downloadpuppet-nodo-301667e66aa403e4699fa9c895b994e6213e55f6.tar.gz
puppet-nodo-301667e66aa403e4699fa9c895b994e6213e55f6.tar.bz2
Scanning over network support
Diffstat (limited to 'manifests/subsystem/scanner')
-rw-r--r--manifests/subsystem/scanner/client.pp14
1 files changed, 14 insertions, 0 deletions
diff --git a/manifests/subsystem/scanner/client.pp b/manifests/subsystem/scanner/client.pp
new file mode 100644
index 0000000..873f8b9
--- /dev/null
+++ b/manifests/subsystem/scanner/client.pp
@@ -0,0 +1,14 @@
+class nodo::subsystem::scanner::client($server = hiera('nodo::subsystem::scanner::client::hostname', 'localhost')) {
+ package { 'sane':
+ ensure => present,
+ }
+
+ file { '/etc/sane.d/net.conf':
+ ensure => present,
+ owner => 'root',
+ group => 'root',
+ mode => '0644',
+ content => template('nodo/sane.d/net.conf.erb'),
+ require => Package['sane'],
+ }
+}