aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/scanner/client.pp
blob: c1eb92d3686925e30af5da4547383d06f698502e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class nodo::subsystem::scanner::client($server = lookup('nodo::subsystem::scanner::client::hostname', undef, undef, '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'],
  }
}