From bcfc69ff978c7d4e1b639c98dfbdb90aec8dce8a Mon Sep 17 00:00:00 2001 From: Marton Kiss Date: Wed, 7 May 2014 21:03:15 +0200 Subject: [PATCH] Fetch content from groups-static-pages repository Clone the openstack-infra/groups-static-pages git repository into the local /srv/groups-static-pages so Drupal can consume the content and publish markdown files placed here. Change-Id: I4e47c0d67521787ae87589f8785d44b789e7c754 --- modules/openstack_project/manifests/groups_dev.pp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/modules/openstack_project/manifests/groups_dev.pp b/modules/openstack_project/manifests/groups_dev.pp index f7ef6687c2..cd764fcf2c 100644 --- a/modules/openstack_project/manifests/groups_dev.pp +++ b/modules/openstack_project/manifests/groups_dev.pp @@ -32,6 +32,13 @@ class openstack_project::groups_dev ( sysadmins => $sysadmins, } + vcsrepo { '/srv/groups-static-pages': + ensure => latest, + provider => git, + revision => 'master', + source => 'https://git.openstack.org/openstack-infra/groups-static-pages', + } + class { 'drupal': site_name => 'groups-dev.openstack.org', site_docroot => '/srv/vhosts/groups-dev.openstack.org', @@ -47,7 +54,8 @@ class openstack_project::groups_dev ( site_repo_url => 'https://git.openstack.org/openstack-infra/groups', site_profile => 'groups', site_base_url => 'http://groups-dev.openstack.org', - require => Class['openstack_project::server'], + require => [ Class['openstack_project::server'], + Vcsrepo['/srv/groups-static-pages'] ] } }