aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/scanner/client.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystem/scanner/client.pp')
-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'],
+ }
+}