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
This commit is contained in:
Marton Kiss 2014-05-07 21:03:15 +02:00
parent 6f56a19400
commit bcfc69ff97

View File

@ -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'] ]
}
}