~stub/charms/trusty/cassandra-tools/devel

« back to all changes in this revision

Viewing changes to hooks/database-relation-changed

  • Committer: Stuart Bishop
  • Date: 2015-09-10 09:32:02 UTC
  • Revision ID: stuart.bishop@canonical.com-20150910093202-okchr99opg4vejfa
cassandra-tools charm, created by hacking out most of the main cassandra charm

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/python3
2
 
# Copyright 2015 Canonical Ltd.
3
 
#
4
 
# This file is part of the Cassandra Charm for Juju.
5
 
#
6
 
# This program is free software: you can redistribute it and/or modify
7
 
# it under the terms of the GNU General Public License version 3, as
8
 
# published by the Free Software Foundation.
9
 
#
10
 
# This program is distributed in the hope that it will be useful, but
11
 
# WITHOUT ANY WARRANTY; without even the implied warranties of
12
 
# MERCHANTABILITY, SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR
13
 
# PURPOSE.  See the GNU General Public License for more details.
14
 
#
15
 
# You should have received a copy of the GNU General Public License
16
 
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
 
import hooks
18
 
if __name__ == '__main__':
19
 
    hooks.bootstrap()
20
 
    hooks.default_hook()