Add ODL bin dir to PATH 83/55283/1
authorDaniel Farrell <dfarrell@redhat.com>
Tue, 6 Jan 2015 21:10:04 +0000 (16:10 -0500)
committerDaniel Farrell <dfarrell@redhat.com>
Wed, 19 Apr 2017 19:18:39 +0000 (15:18 -0400)
Change-Id: I722e5134cc6a53547065b23fe41ac0b80b2e86d5
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
manifests/config.pp
manifests/init.pp

index 13d2d8f76123dfd71c6f7600837eee7616f39993..bf004100f8a2bcaf41997dcb8b42d1166388b59e 100644 (file)
@@ -3,4 +3,8 @@
 # This class is called from opendaylight for service config.
 #
 class opendaylight::config {
+  file { '/etc/profile.d/opendaylight.sh':
+    mode    => '0644',
+    content => 'PATH=$PATH:/opt/opendaylight/bin',
+  }
 }
index 95e0a27e0d28d106eacbfb956d04ddf04411a36d..7b08998e01eb4d1dc54fec1703273abb7501b90a 100644 (file)
@@ -1,6 +1,6 @@
 # == Class: opendaylight
 #
-# Full description of class opendaylight here.
+# OpenDaylight SDN Controller
 #
 # === Parameters
 #