~andrewjbeach/juju-ci-tools/make-local-patcher

« back to all changes in this revision

Viewing changes to upgrade-juju

  • Committer: Aaron Bentley
  • Date: 2014-02-28 16:40:22 UTC
  • mto: This revision was merged to the branch mainline in revision 257.
  • Revision ID: aaron.bentley@canonical.com-20140228164022-kfip2tphn9m9invi
Add juju-backup script.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/usr/bin/env python
 
2
__metaclass__ = type
 
3
 
 
4
import sys
 
5
 
 
6
import jujupy
 
7
 
 
8
def main():
 
9
    for env in sys.argv[1:]:
 
10
        jujupy.Environment.from_config(env).upgrade_juju()
 
11
 
 
12
if __name__ == '__main__':
 
13
    main()