brooklyn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ahgittin <>
Subject [GitHub] incubator-brooklyn pull request: add getting started vagrant env t...
Date Tue, 26 Jan 2016 22:49:12 GMT
Github user ahgittin commented on a diff in the pull request:
    --- Diff: brooklyn-dist/vagrant/src/main/vagrant/servers.yaml ---
    @@ -0,0 +1,47 @@
    +    check_newer_vagrant_box: true
    +    run_os_update: true
    +  - name: brooklyn
    +    box: ubuntu/vivid64
    +    ram: 2048
    +    cpus: 4
    +    ip:
    +    shell:
    +      env:
    +      cmd:
    +        - sudo sh -c 'export DEBIAN_FRONTEND=noninteractive; apt-get install --yes openjdk-8-jre-headless'
    +        - curl -s -S -J -O -L "${BROOKLYN_VERSION}/apache-brooklyn-${BROOKLYN_VERSION}-bin.tar.gz"
    --- End diff --
    it will need testing but we should be able to do the same to script the vagrant download,
just replace the right `dist` mention with `vagrant` (ie not the `brooklyn-dist`!).
    BTW i recall problems in the past with `closer.cgi` which prompted the use of `closer.lua`
instead -- not sure how good that advice is but we've had no issues with the latter since
the switch.  it seems to take the same arguments, which i didn't know about (i only knew about
the redirect to the mirror, which our download page points you to ... probably worth updating
the download page not to redirect you there unless you want to, and we can remove the "Sorry"
message!); i think you're right it's better to use that, so for official releases instead
    and `s/bin/vagrant` of course elsewhere.  (i think the `-bin` is the same as the `-dist`
and vagrant would be the `-vagrant` in both places ... but not entirely sure.)

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message