Browse Source

removed redundant lines in user-data

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

Loading…
Cancel
Save