From bf53123c7198084be350dd5d0ab92e6286ff4615 Mon Sep 17 00:00:00 2001 From: Daniel Farrell Date: Tue, 6 Jan 2015 16:10:04 -0500 Subject: [PATCH] Add ODL bin dir to PATH Change-Id: I722e5134cc6a53547065b23fe41ac0b80b2e86d5 Signed-off-by: Daniel Farrell --- manifests/config.pp | 4 ++++ manifests/init.pp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/manifests/config.pp b/manifests/config.pp index 13d2d8f..bf00410 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -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', + } } diff --git a/manifests/init.pp b/manifests/init.pp index 95e0a27..7b08998 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,6 +1,6 @@ # == Class: opendaylight # -# Full description of class opendaylight here. +# OpenDaylight SDN Controller # # === Parameters # -- 2.36.6