~jorge/charms/precise/mysql/fix-metadata

« back to all changes in this revision

Viewing changes to hooks/monitors.common.bash

  • Committer: Marco Ceppi
  • Date: 2014-03-17 16:28:58 UTC
  • mto: This revision was merged to the branch mainline in revision 115.
  • Revision ID: marco@ceppi.net-20140317162858-l16q8f9vbvlm9058
Remove dependency on charm-helpers-sh

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
MYSQL="mysql -uroot -p`cat /var/lib/mysql/mysql.passwd`"
2
2
monitor_user=monitors
3
 
. /usr/share/charm-helper/sh/net.sh
 
3
. $CHARM_DIR/lib/net.sh
4
4
if [ -n "$JUJU_REMOTE_UNIT" ] ; then
5
5
    remote_addr=$(ch_get_ip $(relation-get private-address))
6
6
fi