From 1eade1e809ec5cf582c80c0aa240c2b51ab8c5a2 Mon Sep 17 00:00:00 2001 From: Mike Pirog Date: Thu, 18 Oct 2012 01:35:54 -0700 Subject: [PATCH] needed sbin path for ifconfig --- modules/network/manifests/config.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/network/manifests/config.pp b/modules/network/manifests/config.pp index 084fb57..c9cc135 100644 --- a/modules/network/manifests/config.pp +++ b/modules/network/manifests/config.pp @@ -17,7 +17,7 @@ } exec { "vboxnetup": - path => "/bin:/usr/bin", + path => "/bin:/usr/bin:/sbin", unless => "ifconfig | grep 192.168.56.101", command => "ifconfig eth1 192.168.56.101 netmask 255.255.255.0 up", } @@ -42,4 +42,4 @@ -} \ No newline at end of file +}