13 Commits

Author SHA1 Message Date
James Page
ab35249f38 Re-license charm as Apache-2.0
All contributions to this charm where made under Canonical
copyright; switch to Apache-2.0 license as agreed so we
can move forward with official project status.

Change-Id: I97206ee8be76220cb0937a09be3230432e04535a
2016-07-01 18:15:00 +01:00
Edward Hope-Morley
6ab28b3639 Add hardening support
Add charmhelpers.contrib.hardening and calls to install,
config-changed, upgrade-charm and update-status hooks.
Also add new config option to allow one or more hardening
modules to be applied at runtime.

Change-Id: If0d1e10b58ed506e0aca659f30120b8d5c96c04f
2016-03-24 11:11:58 +00:00
James Page
f3bebc3fc4 Add tox support 2015-11-03 14:03:25 +00:00
Corey Bryant
dc86794721 Unit test update 2015-10-13 11:22:28 +00:00
Corey Bryant
2757f6d3f8 call set_os_workload_status() to set status in pause/resume actions 2015-10-13 10:44:02 +00:00
Corey Bryant
e246250b48 Use unitdata key/value pair to store pause/resume status 2015-10-13 10:35:23 +00:00
Adam Collard
0b34efdab0 Only care about swift-container-sync for >= Icehouse 2015-08-14 11:44:17 +01:00
Adam Collard
b6b4e2357f SWIFT_SVCS was an out of date list of services that the charm starts, redefine it in terms of the individual components of account, container and object. Update tests. 2015-08-11 14:59:31 +01:00
Adam Collard
3210ee5244 Add resume action 2015-08-11 10:55:31 +01:00
Adam Collard
71afac4c78 Set status to Paused, with informational message on how to undo. 2015-08-11 09:28:36 +01:00
Adam Collard
b46fd66f00 Add tests for behaviour of main 2015-08-11 09:27:53 +01:00
Adam Collard
a675fcf0ea Bail out if any services fail to get paused. 2015-08-10 13:49:18 +01:00
Adam Collard
2ce721c618 Initial pause action 2015-07-17 18:12:04 +01:00