aboutsummaryrefslogtreecommitdiffstats
path: root/docker/services/gnocchi-api.yaml
diff options
context:
space:
mode:
authorPradeep Kilambi <pkilambi@redhat.com>2017-03-14 15:15:46 -0400
committerPradeep Kilambi <pkilambi@redhat.com>2017-04-10 13:53:53 +0000
commit4713f2b95153802fcdd8000034fa12fbcf7ff422 (patch)
treeaf828e0b5730e7cc5d977530108abddea9e26efc /docker/services/gnocchi-api.yaml
parent3a624e6fc169d80c0df1fefdb0da1d1946da2ad2 (diff)
Add upgrade tasks for gnocchi container services
Change-Id: I43c35bbf959e5dcdd7e87a8f6a604d5fe5b4f2a9
Diffstat (limited to 'docker/services/gnocchi-api.yaml')
-rw-r--r--docker/services/gnocchi-api.yaml4
1 files changed, 4 insertions, 0 deletions
diff --git a/docker/services/gnocchi-api.yaml b/docker/services/gnocchi-api.yaml
index 08f4b56..659785a 100644
--- a/docker/services/gnocchi-api.yaml
+++ b/docker/services/gnocchi-api.yaml
@@ -96,3 +96,7 @@ outputs:
- /etc/localtime:/etc/localtime:ro
environment:
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
+ upgrade_tasks:
+ - name: Stop and disable httpd service
+ tags: step2
+ service: name=httpd state=stopped enabled=no