replace deprecated erb template variable syntax

use scope.lookupvar for puppet3

Change-Id: Id47c00c81fd5e84cc404f7a79ff887b8b3694d4d
Merge "replace deprecated erb template variable syntax" into production