summaryrefslogtreecommitdiffstats
path: root/puppet/services/neutron-dhcp.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-01-13 19:02:26 +0000
committerGerrit Code Review <review@openstack.org>2017-01-13 19:02:26 +0000
commit8ac288bcff4fefbd065130b2122dbb2a6ba5ab1d (patch)
tree1c28a866b1b057aff5027c7870d956788d4f1539 /puppet/services/neutron-dhcp.yaml
parenta99c5410c3886c176402ec7d2fa53d3cd39708b0 (diff)
parent04ed7e511dbdf835f6b8d4fd8cf3d907f18f6321 (diff)
Merge "Add neutron service support for composable upgrades"
Diffstat (limited to 'puppet/services/neutron-dhcp.yaml')
-rw-r--r--puppet/services/neutron-dhcp.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/puppet/services/neutron-dhcp.yaml b/puppet/services/neutron-dhcp.yaml
index ad46c90f..c7965a64 100644
--- a/puppet/services/neutron-dhcp.yaml
+++ b/puppet/services/neutron-dhcp.yaml
@@ -74,3 +74,10 @@ outputs:
dport: 68
step_config: |
include tripleo::profile::base::neutron::dhcp
+ upgrade_tasks:
+ - name: Stop neutron_dhcp service
+ tags: step2
+ service: name=neutron-dhcp-agent state=stopped
+ - name: Start neutron_dhcp service
+ tags: step6
+ service: name=neutron-dhcp-agent state=started