aboutsummaryrefslogtreecommitdiffstats
path: root/manifests/pacemaker
diff options
context:
space:
mode:
authorCarlos Camacho <ccamacho@redhat.com>2017-07-20 20:51:14 +0200
committerCarlos Camacho <ccamacho@redhat.com>2017-07-21 11:42:45 +0200
commit9b438a0249d59399c63c016921a9b6add8159dd2 (patch)
treef520586838b7b3a5aa973b549208802d3e491d6c /manifests/pacemaker
parentd47c6ae05c7e22ae937d0c0e5e57ec145a692536 (diff)
Fix lint issues to upgrade to puppet-lint 2.3
2017-07-20 15:09:38.571317 | manifests/glance/nfs_mount.pp:65:WARNING: arrow should be on the right operand's line 2017-07-20 15:09:38.571430 | manifests/pacemaker/haproxy_with_vip.pp:107:WARNING: arrow should be on the right operand's line 2017-07-20 15:09:38.571473 | manifests/pacemaker/haproxy_with_vip.pp:108:WARNING: arrow should be on the right operand's line 2017-07-20 15:09:38.571511 | manifests/pacemaker/haproxy_with_vip.pp:109:WARNING: arrow should be on the right operand's line 2017-07-20 15:09:38.571551 | manifests/pacemaker/resource_restart_flag.pp:44:WARNING: arrow should be on the right operand's line 2017-07-20 15:09:38.571590 | manifests/profile/base/cinder/volume/nfs.pp:72:WARNING: arrow should be on the right operand's line 2017-07-20 15:09:38.571625 | manifests/profile/base/docker.pp:188:WARNING: arrow should be on the right operand's line 2017-07-20 15:09:38.571661 | manifests/profile/base/docker.pp:210:WARNING: arrow should be on the right operand's line 2017-07-20 15:09:38.571699 | manifests/profile/base/logging/fluentd.pp:79:WARNING: arrow should be on the right operand's line 2017-07-20 15:09:38.571735 | manifests/profile/base/pacemaker.pp:107:WARNING: arrow should be on the right operand's line 2017-07-20 15:09:38.571773 | manifests/profile/base/swift/ringbuilder.pp:97:WARNING: arrow should be on the right operand's line 2017-07-20 15:09:38.571811 | manifests/profile/base/swift/ringbuilder.pp:125:WARNING: arrow should be on the right operand's line 2017-07-20 15:09:38.571850 | manifests/profile/base/swift/ringbuilder.pp:130:WARNING: arrow should be on the right operand's line 2017-07-20 15:09:38.571889 | manifests/profile/pacemaker/ceph/rbdmirror.pp:79:WARNING: arrow should be on the right operand's line 2017-07-20 15:09:38.571927 | manifests/profile/pacemaker/cinder/backup.pp:66:WARNING: arrow should be on the right operand's line 2017-07-20 15:09:38.571965 | manifests/profile/pacemaker/ovn_northd.pp:96:WARNING: arrow should be on the right operand's line Change-Id: I9393c5e04310cf84695531df9bb16f33e7e15abb
Diffstat (limited to 'manifests/pacemaker')
-rw-r--r--manifests/pacemaker/haproxy_with_vip.pp8
-rw-r--r--manifests/pacemaker/resource_restart_flag.pp4
2 files changed, 6 insertions, 6 deletions
diff --git a/manifests/pacemaker/haproxy_with_vip.pp b/manifests/pacemaker/haproxy_with_vip.pp
index 606ac26..14572e0 100644
--- a/manifests/pacemaker/haproxy_with_vip.pp
+++ b/manifests/pacemaker/haproxy_with_vip.pp
@@ -104,9 +104,9 @@ define tripleo::pacemaker::haproxy_with_vip(
default => Pacemaker::Resource::Service['haproxy']
}
- Pacemaker::Resource::Ip["${vip_name}_vip"] ->
- $service_resource ->
- Pacemaker::Constraint::Order["${vip_name}_vip-then-haproxy"] ->
- Pacemaker::Constraint::Colocation["${vip_name}_vip-with-haproxy"]
+ Pacemaker::Resource::Ip["${vip_name}_vip"]
+ -> $service_resource
+ -> Pacemaker::Constraint::Order["${vip_name}_vip-then-haproxy"]
+ -> Pacemaker::Constraint::Colocation["${vip_name}_vip-with-haproxy"]
}
}
diff --git a/manifests/pacemaker/resource_restart_flag.pp b/manifests/pacemaker/resource_restart_flag.pp
index c201c9b..860250b 100644
--- a/manifests/pacemaker/resource_restart_flag.pp
+++ b/manifests/pacemaker/resource_restart_flag.pp
@@ -41,6 +41,6 @@ define tripleo::pacemaker::resource_restart_flag() {
refreshonly => true,
}
- File['/var/lib/tripleo/pacemaker-restarts'] ->
- Exec["${title} resource restart flag"]
+ File['/var/lib/tripleo/pacemaker-restarts']
+ -> Exec["${title} resource restart flag"]
}