aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystem/scanner.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-12-31 15:31:17 -0200
committerSilvio Rhatto <rhatto@riseup.net>2014-12-31 15:31:17 -0200
commitc8b19247f0fda2eb94f93a738db5d6aa319a75b2 (patch)
tree5aed725f260ebd12eb0eedff02f1ea3adc7e7de1 /manifests/subsystem/scanner.pp
parentf06d4f275a1774d28e815b5d5d03a0db85942d44 (diff)
downloadpuppet-nodo-c8b19247f0fda2eb94f93a738db5d6aa319a75b2.tar.gz
puppet-nodo-c8b19247f0fda2eb94f93a738db5d6aa319a75b2.tar.bz2
Template: saned.conf.erb
Diffstat (limited to 'manifests/subsystem/scanner.pp')
-rw-r--r--manifests/subsystem/scanner.pp4
1 files changed, 2 insertions, 2 deletions
diff --git a/manifests/subsystem/scanner.pp b/manifests/subsystem/scanner.pp
index 021b70c..8b916b0 100644
--- a/manifests/subsystem/scanner.pp
+++ b/manifests/subsystem/scanner.pp
@@ -1,4 +1,4 @@
-class nodo::subsystem::scanner {
+class nodo::subsystem::scanner($access_list = hiera('nodo::subsystem::scanner::access_list', '')) {
package { 'sane':
ensure => present,
}
@@ -39,7 +39,7 @@ class nodo::subsystem::scanner {
owner => 'root',
group => 'root',
mode => '0644',
- source => 'puppet:///modules/nodo/etc/sane.d/saned.conf',
+ content => template('nodo/sane.d/saned.conf.erb'),
require => Package['sane'],
}