use specific tag version of refstack for installation.

It's not convenient for development to deploy latest master.
For example we need to commit features in several commits
and we can break something in the middle.
Also we want to implement something by several developers
and in this case we can have invalid code in the middle.

So we need to deploy refstack website with specific
and released (fully implemented and tested) version.
When next version will be released then we up version here.

Change-Id: Ie4459d1d5d3415670237aaeabfd56c8b62da275d
This commit is contained in:
Andrey Pavlov 2016-02-12 15:19:28 +03:00
parent ffddbd2d87
commit 70a1c4af19
3 changed files with 7 additions and 4 deletions

View File

@ -68,9 +68,9 @@ class refstack::api () {
# Download the latest RefStack Source.
vcsrepo { $src_api_root:
ensure => latest,
ensure => present,
provider => git,
revision => 'master',
revision => $refstack::params::release_revision,
source => 'https://git.openstack.org/openstack/refstack/',
require => Package['git']
}

View File

@ -56,11 +56,11 @@ class refstack::app () {
# Download the latest RefStack Source.
vcsrepo { $src_www_root:
ensure => latest,
ensure => present,
owner => $user,
group => $group,
provider => git,
revision => 'master',
revision => $refstack::params::release_revision,
source => 'https://git.openstack.org/openstack/refstack/',
require => Package['git']
}

View File

@ -18,6 +18,9 @@
#
class refstack::params (
# Current release revision
$release_revision = '1.0.0',
# Source and install directories.
$src_api_root = '/opt/refstack-api',
$src_www_root = '/opt/refstack-www',