Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
configuration
Commits
93d815a2
Commit
93d815a2
authored
Jan 28, 2014
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a metadata script to ensure that the python setup tools are on the machine.
parent
d241bf24
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
1 deletions
+46
-1
cloudformation_templates/edx-admin-reference-architecture.json
+46
-1
No files found.
cloudformation_templates/edx-admin-reference-architecture.json
View file @
93d815a2
...
...
@@ -788,7 +788,39 @@
},
"PropagateAtLaunch"
:
true
}
]
],
"UserData"
:{
"Fn::Base64"
:{
"Fn::Join"
:[
""
,
[
"#!/bin/bash -x
\n
"
,
"exec >> /home/ubuntu/cflog.log
\n
"
,
"exec 2>> /home/ubuntu/cflog.log
\n
"
,
"function error_exit
\n
"
,
"{
\n
"
,
" cfn-signal -e 1 -r
\"
$1
\"
'"
,
{
"Ref"
:
"AdminServerWaitHandle"
},
"'
\n
"
,
" exit 1
\n
"
,
"}
\n
"
,
"apt-get -y update
\n
"
,
"apt-get -y install python-setuptools
\n
"
,
"echo
\"
Python Tools installed
\"
- `date`
\n
"
,
"easy_install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-latest.tar.gz
\n
"
,
"echo
\"
Cloudformation Boostrap installed
\"
- `date`
\n
"
,
"# If all went well, signal success
\n
"
,
"cfn-signal -e $? -r 'Edx Server configuration' '"
,
{
"Ref"
:
"AdminServerWaitHandle"
},
"'
\n
"
]
]
}
}
}
},
"AdminSecurityGroup"
:{
...
...
@@ -841,6 +873,19 @@
}
]
}
},
"AdminServerWaitHandle"
:{
"Type"
:
"AWS::CloudFormation::WaitConditionHandle"
},
"AdminServerWaitCondition"
:{
"Type"
:
"AWS::CloudFormation::WaitCondition"
,
"DependsOn"
:
"AdminHost"
,
"Properties"
:{
"Handle"
:{
"Ref"
:
"AdminServerWaitHandle"
},
"Timeout"
:
"1200"
}
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment