From c930953b11a36fc66f220e2f5df7301c84a9e1a8 Mon Sep 17 00:00:00 2001
From: Alessandro Franceschi <al@example42.com>
Date: Sun, 26 Jul 2020 14:50:30 +0200
Subject: [PATCH] Fix for missing path #314

---
 manifests/interface.pp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/manifests/interface.pp b/manifests/interface.pp
index e1805e6..b610c44 100644
--- a/manifests/interface.pp
+++ b/manifests/interface.pp
@@ -663,7 +663,7 @@ define network::interface (
   if $restart_all_nic == false and $::kernel == 'Linux' {
     exec { "network_restart_${name}":
       command     => $real_reload_command,
-      path        => '/sbin',
+      path        => '/sbin:/bin:/usr/sbin:/usr/bin',
       refreshonly => true,
     }
     $network_notify = "Exec[network_restart_${name}]"
-- 
GitLab