summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2010-05-09 00:30:56 -0300
committerSilvio Rhatto <rhatto@riseup.net>2010-05-09 00:30:56 -0300
commit440d93fd7d5dd0619691d1fb2a350601b4495c1b (patch)
treec44ad88202ca2a4b45b03d9086e889c2cc3a8920 /manifests
parent0645d5877476c06b54eacbf15fda5731cf8339ec (diff)
downloadpuppet-reprepro-440d93fd7d5dd0619691d1fb2a350601b4495c1b.tar.gz
puppet-reprepro-440d93fd7d5dd0619691d1fb2a350601b4495c1b.tar.bz2
Checking if reprepro group is defined
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp7
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,