aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-12-31 14:48:20 -0200
committerSilvio Rhatto <rhatto@riseup.net>2014-12-31 14:48:20 -0200
commitd963cc756750975388dcc65e24cf77eb680c9d2e (patch)
tree9774d93268af1daff80f44b98c6aff21b54b1619 /manifests
parent301667e66aa403e4699fa9c895b994e6213e55f6 (diff)
downloadpuppet-nodo-d963cc756750975388dcc65e24cf77eb680c9d2e.tar.gz
puppet-nodo-d963cc756750975388dcc65e24cf77eb680c9d2e.tar.bz2
Check scanner definition at nodo::subsystem::scanner
Diffstat (limited to 'manifests')
-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,
}