summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,