update code syntax in puppet