From ac4a55bda0a7159cb2fef116abbcf7d601cd5dbe Mon Sep 17 00:00:00 2001 From: Alejandro Andreu Date: Thu, 16 Mar 2017 00:05:34 +0100 Subject: [PATCH] Add timeout for static uplink script Change-Id: I041468c033100a97c8d146a685d7817f178d4961 --- manifests/gateway/static.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/gateway/static.pp b/manifests/gateway/static.pp index e356d63..2e72fa7 100644 --- a/manifests/gateway/static.pp +++ b/manifests/gateway/static.pp @@ -107,6 +107,7 @@ class midonet::gateway::static ( exec { 'run gateway static creation script': command => "/bin/bash -x ${scripts_dir}/${uplink_script} 2>&1 | tee ${scripts_dir}/${uplink_script}.out", returns => ['0', '7'], + timeout => 1800, require => [ File['fake_uplink_script'], ]