diff --git a/bin/agent b/bin/agent index 0bff91b476..4d12a73d1a 100755 --- a/bin/agent +++ b/bin/agent @@ -558,7 +558,7 @@ begin resp = agent.post # We must not log 409 as error, after node is provisioned there will be no # /etc/nailgun_uid, it will be created after put request - if resp.status == 409 + if [409, 403].include? resp.status resp = agent.put end else