diff options
Diffstat (limited to 'manifests/web/repo.pp')
-rw-r--r-- | manifests/web/repo.pp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/web/repo.pp b/manifests/web/repo.pp index b9a27da..bf02a93 100644 --- a/manifests/web/repo.pp +++ b/manifests/web/repo.pp @@ -10,7 +10,7 @@ define git::web::repo( if ($ensure == 'present') and (($projects_list == 'absent') or ($projectroot == 'absent')){ fail("You have to pass \$project_list and \$projectroot for ${name} if it should be present!") } - include git::web + if $ensure == 'present' { include git::web } $gitweb_url = $name case $gitweb_sitename { 'absent': { $gitweb_sitename = "${name} git repository" } |