aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-05-23 15:05:53 +0000
committerNicolas Vigier <boklm@mageia.org>2013-05-23 15:05:53 +0000
commit283e0a113727d6af901537a3b481683b3379112b (patch)
tree1e17059e1ffd87115170adebe6fd9e692cbe8b8b /modules
parent783282754d64ab6e2c371d3ae0ba7b1636d5ca20 (diff)
downloadpuppet-283e0a113727d6af901537a3b481683b3379112b.tar
puppet-283e0a113727d6af901537a3b481683b3379112b.tar.gz
puppet-283e0a113727d6af901537a3b481683b3379112b.tar.bz2
puppet-283e0a113727d6af901537a3b481683b3379112b.tar.xz
puppet-283e0a113727d6af901537a3b481683b3379112b.zip
buildsystem: move repository vhost to repository.pp
Diffstat (limited to 'modules')
-rw-r--r--modules/buildsystem/manifests/mainnode.pp4
-rw-r--r--modules/buildsystem/manifests/repository.pp4
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/buildsystem/manifests/mainnode.pp b/modules/buildsystem/manifests/mainnode.pp
index 1fd53900..37c09f35 100644
--- a/modules/buildsystem/manifests/mainnode.pp
+++ b/modules/buildsystem/manifests/mainnode.pp
@@ -10,8 +10,4 @@ class buildsystem::mainnode {
include buildsystem::distros
ssh::auth::client { $buildsystem::var::scheduler::login: }
-
- apache::vhost::other_app { $buildsystem::var::repository::hostname:
- vhost_file => 'buildsystem/vhost_repository.conf',
- }
}
diff --git a/modules/buildsystem/manifests/repository.pp b/modules/buildsystem/manifests/repository.pp
index 4cecde24..88ec1205 100644
--- a/modules/buildsystem/manifests/repository.pp
+++ b/modules/buildsystem/manifests/repository.pp
@@ -2,4 +2,8 @@ class buildsystem::repository {
file { $buildsystem::var::repository::bootstrap_root:
ensure => directory,
}
+
+ apache::vhost::other_app { $buildsystem::var::repository::hostname:
+ vhost_file => 'buildsystem/vhost_repository.conf',
+ }
}