Changing the plugin version number

Change is required to help with Contrail upgrades.

Change-Id: Ie401084abb9ce37140854822ed57166d666851f7
This commit is contained in:
Szymon Florczak 2016-02-25 10:36:14 +01:00
parent bd4b9c0b7e
commit 7a50d4f6a2
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ case $operatingsystem
package {'yum-plugin-priorities': ensure => present }
}
Ubuntu: {
file { '/etc/apt/preferences.d/contrail-3.0.0.pref':
file { '/etc/apt/preferences.d/contrail-2.2.0.pref':
ensure => absent,
}
}

View File

@ -27,7 +27,7 @@
set -ex
PLUGIN_PATH="/var/www/nailgun/plugins/contrail-3.0"
PLUGIN_PATH="/var/www/nailgun/plugins/contrail-2.2"
#Now uses the latest package file
UBUNTU_PKG=`find $PLUGIN_PATH -maxdepth 1 -name 'contrail-install-packages*.deb' -exec stat -c "%y %n" {} + | sort -r | head -n 1 | cut -d' ' -f 4`
CENTOS_PKG=`find $PLUGIN_PATH -maxdepth 1 -name 'contrail-install-packages*.rpm' -exec stat -c "%y %n" {} + | sort -r | head -n 1 | cut -d' ' -f 4`