Browse Source

removed redundant lines in user-data

master
Sebastian Rieger 4 years ago
parent
commit
33ab50e291
  1. 2
      example-projects/tug-of-war-in-the-clouds/aws-boto3-standalone-db-autoscaling/start.py
  2. 1
      example-projects/tug-of-war-in-the-clouds/aws-boto3-standalone-db/start-and-add-new-target.py
  3. 2
      example-projects/tug-of-war-in-the-clouds/aws-boto3-standalone-db/start.py

2
example-projects/tug-of-war-in-the-clouds/aws-boto3-standalone-db-autoscaling/start.py

@ -154,7 +154,6 @@ print("Running new DB instance...")
print("------------------------------------")
userDataDB = ('#!/bin/bash\n'
'#!/bin/bash\n'
'# extra repo for RedHat rpms\n'
'yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm\n'
'# essential tools\n'
@ -214,7 +213,6 @@ userDataWebServer = ('#!/bin/bash\n'
'yum install -y httpd php php-mysql\n'
'\n'
'service httpd start\n'
'service httpd start\n'
'\n'
# 'wget http://mmnet.informatik.hs-fulda.de/cloudcomp/tug-of-war-in-the-clouds.tar.gz\n'
# 'cp tug-of-war-in-the-clouds.tar.gz /var/www/html/\n'

1
example-projects/tug-of-war-in-the-clouds/aws-boto3-standalone-db/start-and-add-new-target.py

@ -59,7 +59,6 @@ userDataWebServer = ('#!/bin/bash\n'
'yum install -y httpd php php-mysql\n'
'\n'
'service httpd start\n'
'service httpd start\n'
'\n'
# 'wget http://mmnet.informatik.hs-fulda.de/cloudcomp/tug-of-war-in-the-clouds.tar.gz\n'
# 'cp tug-of-war-in-the-clouds.tar.gz /var/www/html/\n'

2
example-projects/tug-of-war-in-the-clouds/aws-boto3-standalone-db/start.py

@ -98,7 +98,6 @@ except ClientError as e:
userDataDB = ('#!/bin/bash\n'
'#!/bin/bash\n'
'# extra repo for RedHat rpms\n'
'yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm\n'
'# essential tools\n'
@ -161,7 +160,6 @@ userDataWebServer = ('#!/bin/bash\n'
'yum install -y httpd php php-mysql\n'
'\n'
'service httpd start\n'
'service httpd start\n'
'\n'
# 'wget http://mmnet.informatik.hs-fulda.de/cloudcomp/tug-of-war-in-the-clouds.tar.gz\n'
# 'cp tug-of-war-in-the-clouds.tar.gz /var/www/html/\n'

Loading…
Cancel
Save