From bc4a20cf1bc05e0f72b949c5d605f8eaf3c4461e 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 (cherry picked from commit ac4a55bda0a7159cb2fef116abbcf7d601cd5dbe) --- manifests/gateway/static.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/gateway/static.pp b/manifests/gateway/static.pp index 9253301..173fef6 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}/create_fake_uplink_l2.sh 2>&1 | tee /tmp/bash.out", returns => ['0', '7'], + timeout => 1800, require => [ File['fake_uplink_script'], ]