Charm: ~fenris:oneiric/openbravo3   Revision: 1   Hook: install
#!/bin/bash
# Here do anything needed to install the service
# i.e. apt-get install -y foo  or  bzr branch http://myserver/mycode /srv/webroot

juju-log "Add Openbravo PPA"
add-apt-repository ppa:openbravo-isv/ppa

# Update repository
apt-get update 

# Install Openbravo-3
apt-get install -y openbravo-3

# Make it publicly visible, once the symfony service is exposed
open-port 80/tcp