Skip to content

Instantly share code, notes, and snippets.

@mbruzek
Last active August 29, 2015 14:08
Show Gist options
  • Save mbruzek/67414ac3fa4e9bacde8d to your computer and use it in GitHub Desktop.
Save mbruzek/67414ac3fa4e9bacde8d to your computer and use it in GitHub Desktop.
A script to get the power charms.
#!/bin/bash
set -eux
# This script collects all the charms we are trying to get running on power.
# Theh first parameter is the base directory destination.
if [ -d "$1" ]; then
cd $1
fi
# Power only supports trusty.
mkdir -p trusty
cd trusty
# Branch all the charms.
bzr branch lp:~dbart/charms/trusty/mariadb/trunk mariadb
bzr branch lp:~ibm-demo/charms/trusty/sugarcrm/trunk sugarcrm
bzr branch lp:~ibm-demo/charms/trusty/websphere-liberty/trunk websphere-liberty
charm get cs:trusty/mysql
charm get cs:trusty/juju-gui
bzr branch lp:~ibm-demo/charms/trusty/wordpress/trunk wordpress
charm get cs:trusty/rabbitmq-server
charm get cs:trusty/ubuntu
bzr branch lp:~ibm-demo/charms/trusty/haproxy/trunk haproxy
charm get cs:trusty/postgresql
bzr branch lp:~ibm-demo/charms/trusty/mediawiki/trunk mediawiki
bzr branch lp:~ibm-demo/charms/trusty/apache2/trunk apache2
charm get cs:trusty/mongodb
charm get cs:trusty/ceph
charm get cs:trusty/memcached
charm get cs:trusty/landscape-client
charm get cs:trusty/ntp
bzr branch lp:~ibm-demo/charms/trusty/gunicorn/trunk gunicorn
bzr branch lp:~ibm-demo/charms/trusty/nagios/trunk nagios
bzr branch lp:~ibm-demo/charms/trusty/nfs/trunk nfs
bzr branch lp:~mbruzek/charms/trusty/ganglia/trunk ganglia
bzr branch lp:~ibm-demo/charms/trusty/hacluster/trunk hacluster
bzr branch lp:~ibm-demo/charms/trusty/python-django/trunk python-django
bzr branch lp:~ibm-demo/charms/trusty/lamp/trunk lamp
bzr branch lp:~ibm-demo/charms/trusty/nrpe/trunk nrpe
bzr branch lp:~ibm-demo/charms/trusty/kibana/trunk kibana
bzr branch lp:~ibm-demo/charms/trusty/zookeeper/trunk zookeeper
bzr branch lp:~ibm-demo/charms/trusty/ganglia-node/trunk ganglia-node
bzr branch lp:~ibm-demo/charms/trusty/rsyslog/trunk rsyslog
charm get cs:trusty/tomcat
bzr branch lp:~ibm-demo/charms/trusty/logstash-agent/trunk logstash-agent
bzr branch lp:~ibm-demo/charms/trusty/varnish/trunk varnish
bzr branch lp:~ibm-demo/charms/trusty/munin/trunk munin
bzr branch lp:~ibm-demo/charms/trusty/openerp-server/trunk openerp-server
bzr branch lp:~ibm-demo/charms/trusty/joomla/trunk joomla
bzr branch lp:~ibm-demo/charms/trusty/postgresql-psql/trunk postgresql-psql
bzr branch lp:~ibm-demo/charms/trusty/dokuwiki/trunk dokuwiki
bzr branch lp:~ibm-demo/charms/trusty/rsyslog-forwarder/trunk rsyslog-forwarder
bzr branch lp:~ibm-demo/charms/trusty/terracotta/trunk terracotta
bzr branch lp:~ibm-demo/charms/trusty/subway/trunk subway
bzr branch lp:~ibm-demo/charms/trusty/openvpn-as/trunk openvpn-as
bzr branch lp:~ibm-demo/charms/trusty/byobu-classroom/trunk byobu-classroom
bzr branch lp:~ibm-demo/charms/trusty/ntpmaster/trunk ntpmaster
echo "Finished branching charms. Now test them!"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment