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
df75e0c7
Commit
df75e0c7
authored
Oct 31, 2016
by
Ned Batchelder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Simplify the data table in analyticstack/Vagrantfile to match devstack
parent
4d70c71c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
9 deletions
+14
-9
vagrant/release/analyticstack/Vagrantfile
+14
-9
No files found.
vagrant/release/analyticstack/Vagrantfile
View file @
df75e0c7
...
...
@@ -70,12 +70,8 @@ end
# to a name and a file path, which are used for retrieving
# a Vagrant box from the internet.
openedx_releases
=
{
"open-release/eucalyptus"
=>
{
:name
=>
"eucalyptus-analyticstack-2016-09-04"
,
:file
=>
"eucalyptus-analyticstack-2016-09-04.box"
,
},
"open-release/eucalyptus.2"
=>
{
:name
=>
"eucalyptus-analyticstack-2016-09-04"
,
:file
=>
"eucalyptus-analyticstack-2016-09-04.box"
,
},
"open-release/eucalyptus"
=>
"eucalyptus-analyticstack-2016-09-04"
,
"open-release/eucalyptus.2"
=>
"eucalyptus-analyticstack-2016-09-04"
,
"named-release/dogwood.3"
=>
{
:name
=>
"analyticstack"
,
:file
=>
"dogwood-analyticstack-2016-03-15.box"
,
},
...
...
@@ -90,9 +86,18 @@ rel = ENV['OPENEDX_RELEASE']
Vagrant
.
configure
(
VAGRANTFILE_API_VERSION
)
do
|
config
|
# Creates an edX analyticstack VM from an official release
config
.
vm
.
box
=
openedx_releases
[
rel
][
:name
]
config
.
vm
.
box_url
=
"http://files.edx.org/vagrant-images/
#{
openedx_releases
[
rel
][
:file
]
}
"
reldata
=
openedx_releases
[
rel
]
if
Hash
==
reldata
.
class
boxname
=
openedx_releases
[
rel
][
:name
]
boxfile
=
openedx_releases
[
rel
].
fetch
(
:file
,
"
#{
boxname
}
.box"
)
else
boxname
=
reldata
boxfile
=
"
#{
boxname
}
.box"
end
# Creates an edX devstack VM from an official release
config
.
vm
.
box
=
boxname
config
.
vm
.
box_url
=
"http://files.edx.org/vagrant-images/
#{
boxfile
}
"
config
.
vm
.
network
:private_network
,
ip:
"192.168.33.10"
...
...
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