Skip to content

Commit

Permalink
Merge pull request #116 from StackStorm/build_server_param
Browse files Browse the repository at this point in the history
Parameterize download server URL
  • Loading branch information
manasdk committed Nov 3, 2015
2 parents b070dcd + 60fd043 commit 3b5981e
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,8 @@
# Changelog

## 0.10.17 (Nov 2, 2015)
* Parameterized download server to CI

## 0.10.16 (Oct 30, 2015)
* Set sticky bit on Group, not User for stackstorm packs dir

Expand Down
2 changes: 1 addition & 1 deletion manifests/auth/pam.pp
Expand Up @@ -25,7 +25,7 @@
}

wget::fetch { "Download auth pam backend":
source => "https://downloads.stackstorm.net/st2community/${distro_path}/auth_backends/st2_auth_backend_pam-${version}-py2.7.egg",
source => "${::st2::repo_base}/st2community/${distro_path}/auth_backends/st2_auth_backend_pam-${version}-py2.7.egg",
cache_dir => '/var/cache/wget',
nocheckcertificate => true,
destination => "/tmp/st2_auth_backend_pam-${version}-py2.7.egg"
Expand Down
1 change: 1 addition & 0 deletions manifests/init.pp
Expand Up @@ -50,6 +50,7 @@
$revision = '5',
$autoupdate = false,
$mistral_git_branch = 'st2-1.1.0',
$repo_base = $::st2::params::repo_base,
$conf_dir = $::st2::params::conf_dir,
$conf_file = "${::st2::params::conf_dir}/st2.conf",
$use_ssl = false,
Expand Down
4 changes: 2 additions & 2 deletions manifests/package/debian.pp
Expand Up @@ -21,11 +21,11 @@
}

apt::source { 'stackstorm':
location => 'https://downloads.stackstorm.net/deb/',
location => "${::st2::repo_base}/deb/",
release => "${::lsbdistcodename}_${_suite}",
repos => 'main',
include_src => false,
key => '1E26DCC8B9D4E6FCB65CC22E40A96AE06B8C7982',
key_source => 'https://downloads.stackstorm.net/deb/pubkey.gpg',
key_source => "${::st2::repo_base}/deb/pubkey.gpg",
}
}
2 changes: 1 addition & 1 deletion manifests/package/redhat.pp
Expand Up @@ -21,7 +21,7 @@

yumrepo { 'stackstorm':
ensure => present,
baseurl => "https://downloads.stackstorm.net/rpm/el/${_osver}/${_suite}",
baseurl => "${::st2::repo_base}/rpm/el/${_osver}/${_suite}",
descr => 'StackStorm RPM Repository',
enabled => 1,
gpgcheck => 0,
Expand Down
2 changes: 2 additions & 0 deletions manifests/params.pp
Expand Up @@ -75,6 +75,8 @@
st2web => 'st2web',
}

$repo_base = 'https://downloads.stackstorm.net'

# Auth settings
$auth_mode = standalone
$auth_backend = pam
Expand Down
2 changes: 1 addition & 1 deletion manifests/profile/web.pp
Expand Up @@ -47,7 +47,7 @@

if $autoupdate or ! $_bootstrapped {
wget::fetch { 'st2web':
source => "http://downloads.stackstorm.net/releases/st2/${_version}/webui/webui-${_version}.tar.gz",
source => "${::st2::repo_base}/releases/st2/${_version}/webui/webui-${_version}.tar.gz",
cache_dir => '/var/cache/wget',
destination => '/tmp/st2web.tar.gz',
before => Exec['extract webui'],
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
@@ -1,6 +1,6 @@
{
"name": "stackstorm-st2",
"version": "0.10.16",
"version": "0.10.17",
"author": "stackstorm",
"summary": "Puppet module to manage/configure StackStorm",
"license": "Apache 2.0",
Expand Down

0 comments on commit 3b5981e

Please sign in to comment.