diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2010-05-09 00:30:56 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2010-05-09 00:30:56 -0300 |
commit | 440d93fd7d5dd0619691d1fb2a350601b4495c1b (patch) | |
tree | c44ad88202ca2a4b45b03d9086e889c2cc3a8920 /manifests | |
parent | 0645d5877476c06b54eacbf15fda5731cf8339ec (diff) | |
download | puppet-reprepro-440d93fd7d5dd0619691d1fb2a350601b4495c1b.tar.gz puppet-reprepro-440d93fd7d5dd0619691d1fb2a350601b4495c1b.tar.bz2 |
Checking if reprepro group is defined
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/init.pp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index dd0d247..7dc1abd 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -33,11 +33,12 @@ class reprepro { require => Group["reprepro"], } - group { "reprepro": - ensure => "present", + if !defined(Group["reprepro"]) { + group { "reprepro": + ensure => present, + } } - file { "$basedir": ensure => directory, |