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