diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-12-31 14:45:02 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-12-31 14:45:02 -0200 |
commit | 301667e66aa403e4699fa9c895b994e6213e55f6 (patch) | |
tree | 8afcf2bd00515e1068b23da04be1f0a9f27cba08 /manifests/subsystem/scanner | |
parent | 51dad1ad46f7415a180390afe624946c37ee86ac (diff) | |
download | puppet-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.pp | 14 |
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'], + } +} |