Changed to using external script to update puppet