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
edx
configuration
Commits
d8d74e56
Commit
d8d74e56
authored
Jan 29, 2014
by
John Jarvis
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #715 from edx/jarv/role-to-play
changing role to play
parents
81fd0f47
497a0961
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
13 deletions
+16
-13
cloudformation_templates/edx-admin-reference-architecture.json
+2
-2
cloudformation_templates/edx-reference-architecture.json
+10
-10
util/vpc-tools/vpc-tools.py
+4
-1
No files found.
cloudformation_templates/edx-admin-reference-architecture.json
View file @
d8d74e56
...
@@ -672,7 +672,7 @@
...
@@ -672,7 +672,7 @@
],
],
"Tags"
:[
"Tags"
:[
{
{
"Key"
:
"
role
"
,
"Key"
:
"
play
"
,
"Value"
:
"bastion"
"Value"
:
"bastion"
},
},
{
{
...
@@ -799,7 +799,7 @@
...
@@ -799,7 +799,7 @@
],
],
"Tags"
:[
"Tags"
:[
{
{
"Key"
:
"
role
"
,
"Key"
:
"
play
"
,
"Value"
:
"admin"
"Value"
:
"admin"
},
},
{
{
...
...
cloudformation_templates/edx-reference-architecture.json
View file @
d8d74e56
...
@@ -2623,7 +2623,7 @@
...
@@ -2623,7 +2623,7 @@
],
],
"Tags"
:[
"Tags"
:[
{
{
"Key"
:
"
role
"
,
"Key"
:
"
play
"
,
"Value"
:
"bastion"
"Value"
:
"bastion"
},
},
{
{
...
@@ -3034,7 +3034,7 @@
...
@@ -3034,7 +3034,7 @@
],
],
"Tags"
:[
"Tags"
:[
{
{
"Key"
:
"
role
"
,
"Key"
:
"
play
"
,
"Value"
:
"edxapp"
,
"Value"
:
"edxapp"
,
"PropagateAtLaunch"
:
true
"PropagateAtLaunch"
:
true
},
},
...
@@ -3385,7 +3385,7 @@
...
@@ -3385,7 +3385,7 @@
],
],
"Tags"
:[
"Tags"
:[
{
{
"Key"
:
"
role
"
,
"Key"
:
"
play
"
,
"Value"
:
"xqueue"
,
"Value"
:
"xqueue"
,
"PropagateAtLaunch"
:
true
"PropagateAtLaunch"
:
true
},
},
...
@@ -3719,7 +3719,7 @@
...
@@ -3719,7 +3719,7 @@
],
],
"Tags"
:[
"Tags"
:[
{
{
"Key"
:
"
role
"
,
"Key"
:
"
play
"
,
"Value"
:
"rabbitmq"
,
"Value"
:
"rabbitmq"
,
"PropagateAtLaunch"
:
true
"PropagateAtLaunch"
:
true
},
},
...
@@ -4089,7 +4089,7 @@
...
@@ -4089,7 +4089,7 @@
],
],
"Tags"
:[
"Tags"
:[
{
{
"Key"
:
"
role
"
,
"Key"
:
"
play
"
,
"Value"
:
"xserver"
,
"Value"
:
"xserver"
,
"PropagateAtLaunch"
:
true
"PropagateAtLaunch"
:
true
},
},
...
@@ -4396,7 +4396,7 @@
...
@@ -4396,7 +4396,7 @@
],
],
"Tags"
:[
"Tags"
:[
{
{
"Key"
:
"
role
"
,
"Key"
:
"
play
"
,
"Value"
:
"rds"
"Value"
:
"rds"
},
},
{
{
...
@@ -4552,7 +4552,7 @@
...
@@ -4552,7 +4552,7 @@
],
],
"Tags"
:[
"Tags"
:[
{
{
"Key"
:
"
role
"
,
"Key"
:
"
play
"
,
"Value"
:
"worker"
,
"Value"
:
"worker"
,
"PropagateAtLaunch"
:
true
"PropagateAtLaunch"
:
true
},
},
...
@@ -4801,7 +4801,7 @@
...
@@ -4801,7 +4801,7 @@
],
],
"Tags"
:[
"Tags"
:[
{
{
"Key"
:
"
role
"
,
"Key"
:
"
play
"
,
"Value"
:
"elasticsearch"
,
"Value"
:
"elasticsearch"
,
"PropagateAtLaunch"
:
true
"PropagateAtLaunch"
:
true
},
},
...
@@ -5062,7 +5062,7 @@
...
@@ -5062,7 +5062,7 @@
],
],
"Tags"
:[
"Tags"
:[
{
{
"Key"
:
"
role
"
,
"Key"
:
"
play
"
,
"Value"
:
"forum"
,
"Value"
:
"forum"
,
"PropagateAtLaunch"
:
true
"PropagateAtLaunch"
:
true
},
},
...
@@ -5452,7 +5452,7 @@
...
@@ -5452,7 +5452,7 @@
],
],
"Tags"
:[
"Tags"
:[
{
{
"Key"
:
"
role
"
,
"Key"
:
"
play
"
,
"Value"
:
"mongo"
,
"Value"
:
"mongo"
,
"PropagateAtLaunch"
:
true
"PropagateAtLaunch"
:
true
},
},
...
...
util/vpc-tools/vpc-tools.py
View file @
d8d74e56
...
@@ -84,7 +84,10 @@ def _ssh_config(args):
...
@@ -84,7 +84,10 @@ def _ssh_config(args):
for
reservation
in
reservations
:
for
reservation
in
reservations
:
for
instance
in
reservation
.
instances
:
for
instance
in
reservation
.
instances
:
if
'role'
in
instance
.
tags
:
if
'play'
in
instance
.
tags
:
logical_id
=
instance
.
tags
[
'play'
]
elif
'role'
in
instance
.
tags
:
# deprecated, use "play" instead
logical_id
=
instance
.
tags
[
'role'
]
logical_id
=
instance
.
tags
[
'role'
]
elif
'group'
in
instance
.
tags
:
elif
'group'
in
instance
.
tags
:
logical_id
=
instance
.
tags
[
'group'
]
logical_id
=
instance
.
tags
[
'group'
]
...
...
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