From 440d93fd7d5dd0619691d1fb2a350601b4495c1b Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 9 May 2010 00:30:56 -0300 Subject: Checking if reprepro group is defined --- manifests/init.pp | 7 ++++--- 1 file 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, -- cgit v1.2.3