aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/subsystem/scanner.pp9
1 files changed, 8 insertions, 1 deletions
diff --git a/manifests/subsystem/scanner.pp b/manifests/subsystem/scanner.pp
index 26622e9..8ac0349 100644
--- a/manifests/subsystem/scanner.pp
+++ b/manifests/subsystem/scanner.pp
@@ -3,7 +3,14 @@ class nodo::subsystem::scanner {
ensure => present,
}
- group { [ 'lp', 'saned', 'scanner' ]:
+ if !defined(Group['scanner']) {
+ group { 'scanner':
+ ensure => present,
+ allowdupe => false,
+ }
+ }
+
+ group { [ 'lp', 'saned' ]:
ensure => present,
allowdupe => false,
}