Skip to content

Commit

Permalink
Merge pull request #101 from StackStorm/rhel6-client-package
Browse files Browse the repository at this point in the history
Hotfix for RHEL 6 Client Package
  • Loading branch information
jfryman committed Oct 19, 2015
2 parents ae4302e + f8ca4f2 commit 3f8cec0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,8 @@
# Changelog

## 0.10.2 (Oct 19. 2015)
* Fix for RHEL 6 client package installation

## 0.10.1 (Oct 16. 2015)
* Init scripts default install now

Expand Down
9 changes: 8 additions & 1 deletion manifests/package/install.pp
Expand Up @@ -50,7 +50,14 @@
}
# Temporary Hack while fixing build pipeline
if $name =~ /client/ {
$_package_version = "${_version}.${_revision}-1"
# A very odd RHEL 6 bug we have not been able to get to the bottom of yet
# 0.14dev.184-1 becomes 0.14.dev184-1
# https://stackstorm.slack.com/archives/opstown/p1445224799003958
if $::operatingsystemmajrelease == '6' and $version =~ /dev/ {
$_package_version = regsubst("${_version}.${_revision}-1", 'dev\.', '.dev')
} else {
$_package_version = "${_version}.${_revision}-1"
}
} else {
$_package_version = "${_version}-${_revision}"
}
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
@@ -1,6 +1,6 @@
{
"name": "stackstorm-st2",
"version": "0.10.1",
"version": "0.10.2",
"author": "stackstorm",
"summary": "Puppet module to manage/configure StackStorm",
"license": "Apache 2.0",
Expand Down

0 comments on commit 3f8cec0

Please sign in to comment.