Fixes ODL HA cluster config 14/55614/1
authorTim Rozet <tdrozet@gmail.com>
Fri, 4 Mar 2016 04:59:02 +0000 (23:59 -0500)
committerDaniel Farrell <dfarrell@redhat.com>
Wed, 19 Apr 2017 19:18:40 +0000 (15:18 -0400)
Issue where bash commands inside of the cluster_config script need
proper pathing

Change-Id: I831b498c607275c72925c9da00887cde1af070aa
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
manifests/config.pp

index e7d8ea80732ae11d91114d3a3fe3efe5d885a80d..e689292d684e55379087fb169eaad91f1b98980c 100644 (file)
@@ -69,7 +69,7 @@ class opendaylight::config {
       $ha_node_ip_str = join($::opendaylight::ha_node_ips, ' ')
       exec { 'Configure ODL OVSDB Clustering':
         command => "configure_cluster.sh ${::opendaylight::ha_node_index} ${ha_node_ip_str}",
-        path    => '/opt/opendaylight/bin/',
+        path    => '/opt/opendaylight/bin/:/usr/sbin:/usr/bin:/sbin:/bin',
       }
     } else {
       fail("Number of HA nodes less than 2: ${ha_node_count} and HA Enabled")