Skip to content

Commit b549ca9

Browse files
committed
Merge branch 'develop' into stable for v2014.09.24 release
2 parents 46e6746 + 9f66659 commit b549ca9

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Version 2014.09.24:
2+
* Fixed salt tag version matching to also accept, for example, v2014.7. #464
3+
* Fix the EPEL 7 URL since epel-release is now 7.2
4+
15
Version 2014.09.09:
26
* Distro Support Fixes:
37
* Updated the URL for EPEL 7

bootstrap-salt.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
# CREATED: 10/15/2012 09:49:37 PM WEST
1818
#======================================================================================================================
1919
set -o nounset # Treat unset variables as an error
20-
__ScriptVersion="2014.09.09"
20+
__ScriptVersion="2014.09.24"
2121
__ScriptName="bootstrap-salt.sh"
2222

2323
#======================================================================================================================
@@ -1157,7 +1157,7 @@ __git_clone_and_checkout() {
11571157
fi
11581158
else
11591159
__SHALLOW_CLONE="${BS_FALSE}"
1160-
if [ "$(echo "$GIT_REV" | sed 's/^.*\(v[[:digit:]]\{1,4\}\.[[:digit:]]\{1,2\}\.[[:digit:]]\{1,2\}\).*$/MATCH/')" = "MATCH" ]; then
1160+
if [ "$(echo "$GIT_REV" | sed 's/^.*\(v[[:digit:]]\{1,4\}\.[[:digit:]]\{1,2\}\.[[:digit:]]\{1,2\}\)\?.*$/MATCH/')" = "MATCH" ]; then
11611161
echoinfo "Git revision matches a Salt version tag"
11621162
# Let's try shallow cloning to speed up.
11631163
# Test for "--single-branch" option introduced in git 1.7.10, the minimal version of git where the shallow
@@ -2517,7 +2517,7 @@ __install_epel_repository() {
25172517
elif [ "$DISTRO_MAJOR_VERSION" -eq 6 ]; then
25182518
rpm -Uvh --force "http://download.fedoraproject.org/pub/epel/6/${EPEL_ARCH}/epel-release-6-8.noarch.rpm" || return 1
25192519
elif [ "$DISTRO_MAJOR_VERSION" -eq 7 ]; then
2520-
rpm -Uvh --force "http://download.fedoraproject.org/pub/epel/7/${EPEL_ARCH}/e/epel-release-7-1.noarch.rpm" || return 1
2520+
rpm -Uvh --force "http://download.fedoraproject.org/pub/epel/7/${EPEL_ARCH}/e/epel-release-7-2.noarch.rpm" || return 1
25212521
else
25222522
echoerror "Failed add EPEL repository support."
25232523
return 1

0 commit comments

Comments
 (0)