summaryrefslogtreecommitdiffstats
path: root/puppet
diff options
context:
space:
mode:
authorMarius Cornea <mcornea@redhat.com>2017-02-02 18:46:48 +0100
committerMarius Cornea <mcornea@redhat.com>2017-02-02 18:46:48 +0100
commit05fdd46d3c20a4a9d1006a6ca269c1379e0de9b4 (patch)
tree87b4f75dc439f17a589f0a95145aaeac3544e89e /puppet
parent4774913d09e62b433d99eb6aa3b04f8e3e13fa9c (diff)
Switch item notation to jinja format
This change fixes the item variable notation in puppet/services/ceph-osd.yaml. Change-Id: I4d105619e4ac913b4a711bf91fea5f6e3c9b4caa Closes-Bug: 1661339
Diffstat (limited to 'puppet')
-rw-r--r--puppet/services/ceph-osd.yaml4
1 files changed, 2 insertions, 2 deletions
diff --git a/puppet/services/ceph-osd.yaml b/puppet/services/ceph-osd.yaml
index 98f83d08..9bd83aab 100644
--- a/puppet/services/ceph-osd.yaml
+++ b/puppet/services/ceph-osd.yaml
@@ -68,14 +68,14 @@ outputs:
command: ceph osd set noscrub
- name: Stop Ceph OSD
tags: step1
- service: name=ceph-osd@$item state=stopped
+ service: name=ceph-osd@{{ item }} state=stopped
with_items: "{{osd_ids.stdout.strip().split()}}"
- name: Update ceph OSD packages
tags: step1
yum: name=ceph-osd state=latest
- name: Start ceph-osd service
tags: step1
- service: name=ceph-osd@$item state=started
+ service: name=ceph-osd@{{ item }} state=started
with_items: "{{osd_ids.stdout.strip().split()}}"
- name: ceph osd unset noout
tags: step1