bosh-bootstrap 0.8.1 → 0.8.2
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog.md +4 -0
- data/README.md +0 -1
- data/lib/bosh-bootstrap/stages/stage_prepare_inception_vm/configure_git +2 -0
- data/lib/bosh-bootstrap/stages/stage_prepare_inception_vm/convert_salted_password +2 -0
- data/lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_base_packages +2 -0
- data/lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_bosh +8 -1
- data/lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_bosh_plugins +2 -0
- data/lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_ruby +2 -0
- data/lib/bosh-bootstrap/stages/stage_prepare_inception_vm/install_useful_gems +2 -0
- data/lib/bosh-bootstrap/stages/stage_prepare_inception_vm/validate_bosh_deployer +2 -0
- data/lib/bosh-bootstrap/version.rb +1 -1
- metadata +2 -2
data/ChangeLog.md
CHANGED
@@ -8,6 +8,10 @@
|
|
8
8
|
* existing inception VMs' manifest.yml will be upgraded automatically and a backup file created (just in case)
|
9
9
|
* tightening of net-ssh & net-scp gems to ensure the bosh-bootstrap gem can be installed [thx @mmb]
|
10
10
|
|
11
|
+
### v0.8.2
|
12
|
+
|
13
|
+
* preinstall net-ssh/net-scp/fog on inception VM before installing `bosh_deployer` to fix in ability to install `bosh_deployer` 1.4.1 due to latest fog 1.10.0 release
|
14
|
+
|
11
15
|
## v0.7
|
12
16
|
|
13
17
|
Notable:
|
data/README.md
CHANGED
@@ -6,6 +6,8 @@
|
|
6
6
|
# * $UPGRADE - re-install or upgrade gems if already installed
|
7
7
|
# * $INSTALL_BOSH_FROM_SOURCE - install from bosh git repo
|
8
8
|
|
9
|
+
set -e # exit immediately if a simple command exits with a non-zero status
|
10
|
+
|
9
11
|
if [[ $EUID -ne 0 ]]; then
|
10
12
|
echo "ERROR: This script must be run as root" 1>&2
|
11
13
|
exit 1
|
@@ -14,13 +16,18 @@ fi
|
|
14
16
|
# Install a gem if $UPGRADE exists or if gem not already installed
|
15
17
|
function install_gem() {
|
16
18
|
gem_name=$1
|
19
|
+
options=$2
|
17
20
|
if [[ ("${UPGRADE}X" != "X") || "$(gem list $gem_name | grep $gem_name)X" == "X" ]]; then
|
18
|
-
gem install $gem_name --no-ri --no-rdoc
|
21
|
+
gem install $gem_name $options --no-ri --no-rdoc
|
19
22
|
else
|
20
23
|
echo gem $gem_name already installed
|
21
24
|
fi
|
22
25
|
}
|
23
26
|
|
27
|
+
install_gem net-ssh '-v 2.2.2'
|
28
|
+
install_gem net-scp '-v 1.0.4'
|
29
|
+
install_gem fog '-v 1.9.0'
|
30
|
+
|
24
31
|
if [[ "${INSTALL_BOSH_FROM_SOURCE}X" != "X" ]]; then
|
25
32
|
mkdir -p /var/vcap/store/repos
|
26
33
|
cd /var/vcap/store/repos
|
@@ -6,6 +6,8 @@
|
|
6
6
|
# * $RUBY_VERSION - override ruby version to test/install
|
7
7
|
# * $UPGRADE - re-install or upgrade ruby if already installed
|
8
8
|
|
9
|
+
set -e # exit immediately if a simple command exits with a non-zero status
|
10
|
+
|
9
11
|
if [[ $EUID -ne 0 ]]; then
|
10
12
|
echo "ERROR: This script must be run as root" 1>&2
|
11
13
|
exit 1
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bosh-bootstrap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -313,7 +313,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
313
313
|
version: '0'
|
314
314
|
segments:
|
315
315
|
- 0
|
316
|
-
hash:
|
316
|
+
hash: -279783410373190503
|
317
317
|
requirements: []
|
318
318
|
rubyforge_project:
|
319
319
|
rubygems_version: 1.8.25
|