fixed scope call in template for puppet2.7 support