summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorPeter Stachowski <peter@tesora.com>2016-11-08 23:14:43 +0000
committeramrith <amrith.kumar@gmail.com>2017-02-27 18:43:32 +0000
commit83089aa5cc91f4e65557ffd2398807011e8d1c16 (patch)
treec57220522bd6f044af69bf82152cc9aaa70d07c0 /etc
parenta9a4ae4bba71db5e95070aad7009ebdffa7e20eb (diff)
downloadtrove-83089aa5cc91f4e65557ffd2398807011e8d1c16.tar.gz
Add support for module-reapply command
Server side support for the new 'reapply' command. This reapplies a given module to all instances that it had previously been applied to. Originally, a module designated live-update would automatically be re-applied whenever it was updated. Adding a specific command however, allows operators/users more control over how the new payload would be distributed. Old 'modules' could be left if desired, or updated with the new command. Scenario tests were updated to test the new command. DocImpact: update documentation to reflect module-reapply command Change-Id: I4aea674ebe873a96ed22b5714263d0eea532a4ca Depends-On: Ic4cc9e9085cb40f1afbec05caeb04886137027a4 Closes-Bug: #1554903
Diffstat (limited to 'etc')
-rw-r--r--etc/trove/policy.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/trove/policy.json b/etc/trove/policy.json
index 370a8f2a..902f4303 100644
--- a/etc/trove/policy.json
+++ b/etc/trove/policy.json
@@ -92,5 +92,6 @@
"module:index": "rule:admin_or_owner",
"module:show": "rule:admin_or_owner",
"module:instances": "rule:admin_or_owner",
- "module:update": "rule:admin_or_owner"
+ "module:update": "rule:admin_or_owner",
+ "module:reapply": "rule:admin_or_owner"
}