aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/scanner/client.pp
blob: 873f8b935de4e31f28cb6a457baae84377a7e9c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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'],
  }
}