Brooklyn

Using Vagrant with Brooklyn -SNAPSHOT builds

Install a community-managed version from Maven
  1. No action is required other than setting the BROOKLYN_VERSION: environment variable in servers.yaml to a -SNAPSHOT version. For example:

    env:
      BROOKLYN_VERSION: 0.11.0
    
  2. You may proceed to use the Vagrantfile as normal; vagrant up, vagrant destroy etc.

Install a locally built -dist.tar.gz
  1. Set the BROOKLYN_VERSION: environment variable in servers.yaml to your current -SNAPSHOT version. For example:

    env:
      BROOKLYN_VERSION: 0.11.0
    
  2. Set the INSTALL_FROM_LOCAL_DIST: environment variable in servers.yaml to true. For example:

    env:
      INSTALL_FROM_LOCAL_DIST: true
    
  3. Copy your locally built -dist.tar.gz archive to the same directory as the Vagrantfile (this directory is mounted in the Vagrant VM at /vagrant/).

    For example to copy a locally built 0.9.0-SNAPSHOT dist:

    cp ~/.m2/repository/org/apache/brooklyn/brooklyn-dist/0.9.0-SNAPSHOT/brooklyn-dist-0.9.0-SNAPSHOT-dist.tar.gz .
    
  4. You may proceed to use the Vagrantfile as normal; vagrant up, vagrant destroy etc.