Skip to content

Commit e64223a

Browse files
authored
Merge pull request #1040 from seth-reeser/develop-catapult
Platform: Remove support for vagrant-aws. RedHat: Update package conf…
2 parents 1cd5787 + b7b2583 commit e64223a

File tree

4 files changed

+10
-6
lines changed

4 files changed

+10
-6
lines changed

VERSION.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
version: 4.8.1
2+
version: 4.8.2
33
major:
44
description: "Catapult uses Semantic Versioning. During a MAJOR increment, incompatable API changes are made which require a manual upgrade path. Please follow these directions:"
55
notice: "NEW MAJOR VERSION OF CATAPULT AVAILABLE"

catapult/catapult.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ def Command::format_repo_size(repo_size)
170170
catapult_exception("There is an issue with Vagrant v1.8.1 on Windows, please install a lesser or greater version.")
171171
end
172172
# define required vagrant plugins
173-
vagrant_plugins(["highline","vagrant-aws","vagrant-digitalocean","vagrant-hostmanager","vagrant-vbguest","vagrant-winnfsd"]);
173+
vagrant_plugins(["highline","vagrant-digitalocean","vagrant-hostmanager","vagrant-vbguest","vagrant-winnfsd"]);
174174
# others
175175
elsif (RbConfig::CONFIG['host_os'] =~ /darwin|mac os|linux|solaris|bsd/)
176176
@environment = :posix
@@ -189,7 +189,7 @@ def Command::format_repo_size(repo_size)
189189
end
190190
end
191191
# define required vagrant plugins
192-
vagrant_plugins(["highline","vagrant-aws","vagrant-digitalocean","vagrant-hostmanager","vagrant-vbguest","vagrant-vmware-desktop"]);
192+
vagrant_plugins(["highline","vagrant-digitalocean","vagrant-hostmanager","vagrant-vbguest","vagrant-vmware-desktop"]);
193193
else
194194
catapult_exception("Cannot detect your operating system, please submit an issue at https://github.com/devopsgroup-io/catapult")
195195
end

provisioners/redhat/provision.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ echo -e "\n\n\n==> INSTALLING MINIMAL DEPENDENCIES"
1818

1919
# install additional repositories
2020
sudo yum install -y epel-release centos-release-scl
21+
# update repo urls
22+
sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/CentOS-*.repo
23+
sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/CentOS-*.repo
24+
sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/CentOS-*.repo
2125
# clean the yum cache directory
2226
sudo yum clean all -y --verbose
2327
# update packages

provisioners/redhat/provision_server.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ ${output_swap_utilization} \
6262
# install shyaml
6363
yum install python -y
6464
yum install python-pip -y
65-
sudo pip install pathlib --upgrade
66-
sudo pip install pyyaml==5.4.1
67-
sudo pip install shyaml==0.6.2
65+
sudo pip install pathlib --trusted-host pypi.python.org --upgrade
66+
sudo pip install pyyaml==5.4.1 --trusted-host pypi.python.org
67+
sudo pip install shyaml==0.6.2 --trusted-host pypi.python.org
6868

6969
# run server provision
7070
if [ $(cat "/catapult/provisioners/provisioners.yml" | shyaml get-values-0 redhat.servers.$4.modules) ]; then

0 commit comments

Comments
 (0)