diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-12-31 14:48:20 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-12-31 14:48:20 -0200 |
commit | d963cc756750975388dcc65e24cf77eb680c9d2e (patch) | |
tree | 9774d93268af1daff80f44b98c6aff21b54b1619 /manifests/subsystem | |
parent | 301667e66aa403e4699fa9c895b994e6213e55f6 (diff) | |
download | puppet-nodo-d963cc756750975388dcc65e24cf77eb680c9d2e.tar.gz puppet-nodo-d963cc756750975388dcc65e24cf77eb680c9d2e.tar.bz2 |
Check scanner definition at nodo::subsystem::scanner
Diffstat (limited to 'manifests/subsystem')
-rw-r--r-- | manifests/subsystem/scanner.pp | 9 |
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, } |